Re:How Dropbox securely stores your passwords
by sandGorgon on Wednesday September 21, 2016 @12:44PM
(#12549878)
If we don't have a hsm? Apparently,neither does Dropbox. So how do you engineer one ?
Re:How Dropbox securely stores your passwords
by morgante on Wednesday September 21, 2016 @02:04PM
(#12550683)
Use something like Vault: https://www.vaultproject.io/
Yuck! At the very least put it in an environment variable. Best case is loaded once at server boot from an HSM, kept only in memory, and rotated on a regular basis.
Having it in the code, like all other config, is a terrible idea.