password in plaintext for mail notifications isn't safe

pilmunaknu 5 years ago

i won't my password in plaintext in this entry in traccar.xml:

   <entry key='mail.smtp.password'>password</entry>

Please how i can fix that? I have tried with gpg: gpg --quiet --for-your-eyes-only --no-tty --decrypt file.gpg
But it don't working. I have also msmtprc installed on my server and it works with other services as webmin, but traccar dont support msmtprc. Help.

Anton Tananaev 5 years ago

What are the alternative options? It's fairly common practice to use passwords to other services in a config file. How does encrypting password help with safety? Where would the encryption key be stored?