in reply to Best way to store passwords
There is no one size fits all answer. In general you have the choices of carefully protected plaintext storage in a secure location (ideal for fully automated processes) or encrypted data protected with a passphrase you enter when you login interactively.
In a fully automated environment, your system needs all info sufficient to access the plain text so if the computer is compromised the system has enough information to access the plain text no matter what you do.
On the other hand for interactive workloads, you can use AES (see Crypt::OpenSSL::AES) to encrypt the passwords with a passphrase you enter.
You might also consider measures outside your application and use full disk encryption.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Best way to store passwords
by Special_K (Pilgrim) on Nov 06, 2013 at 19:44 UTC | |
by einhverfr (Friar) on Nov 07, 2013 at 07:38 UTC |