Your Own Password Manager

Written by
Date: 2014-08-16 00:30:35 00:00

Your own password manager

There are a lot of options when your want and application to store and manage your passwords. Maybe the best known options are:

  • LastPass
  • Keepass
  • Dashlane
  • Keeper
  • And more

But if you are the kind of guy that wants everything simple (KISS principle, remember?), and done by your own, then you can do it.

Generate your passwords randomly

openssl rand -base64 12

Store them securely

Copy the generated password, and paste it in a simple text file, after that, encrypt that file.

gpg -c passwords.txt

Use a very strong passphrase. Delete the original file:

rm passwords.txt

When you need your password again, just decrypt the file:

gpg passwords.txt.gpg

Enter the passphrase, and you have access to your passwords.

Nothing is automatic, but it is useful, and you do not have your password stored in the cloud.