Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haykokoryun/crown-jewels

Store your crown jewels (passwords) securely in a private git repository.
https://github.com/haykokoryun/crown-jewels

command-line-tool encrypt npm password-manager

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        



֎ CROWN JEWELS ֍

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](https://en.wikipedia.org/wiki/Initialization_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).