1.0.0 • Published 6 years ago

crown-jewels v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Store your crown jewels (passwords) securely in a private git repository.

Encrypt

  1. Install npm i -g crown-jewels
  2. Create a file with your passwords, e.g. deploy.pwd
  3. Run crown-jewels store deploy.pwd
  4. Supply an encryption key in the following prompt (maximum 32 characters)
  5. Delete the original file (recommended, however don't forgot to git ignore it if you don't delete it)
  6. Commit the two generated files deploy.cj and deploy.cjiv (cj is the encrypted file, cjiv is an initialisation vector)

Decrypt

  1. Run crown-jewels reveal deploy to decrypt the file deploy.cj file
  2. Supply the same encryption key as before in the following prompt
  3. If the key is correct, the command will display the contents of the file for 180 seconds and then automatically clear the command console

Note

If you don't want to play along with names for the two commands store and reveal you can use their short aliases e (encrypt) and d (decrypt).

1.0.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago