Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/haykokoryun/crown-jewels
- Owner: HaykoKoryun
- Created: 2018-03-03T11:47:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-18T16:16:45.000Z (almost 7 years ago)
- Last Synced: 2024-10-30T13:51:45.504Z (3 months ago)
- Topics: command-line-tool, encrypt, npm, password-manager
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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).