Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonybudd/cli-password-manager
https://github.com/anthonybudd/cli-password-manager
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/anthonybudd/cli-password-manager
- Owner: anthonybudd
- Created: 2023-01-02T00:00:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T00:32:52.000Z (about 2 years ago)
- Last Synced: 2024-11-07T16:12:07.535Z (about 2 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# CLI Password Manager
I do not want to keep paying for password managers like 1Password and Dashlane.
CLI Password Manager gives you 4 simple commands for easily encrypting and decrypting a local password vault using OpenSSL.
### Installation
```
git clone [email protected]:anthonybudd/CLI-Password-Manager.git
cd CLI-Password-Manager
echo "source ($pwd)/cli-password-manager" >> ~/.zshrc
source ~/.zshrc
```### Set-up
```
clipm-nano
clipm-enc
```
`clipm-nano` This will open your password vault in nano and `clipm-enc` will use openssl to encrypt the password vault.### Commands
#### [clipm](https://github.com/anthonybudd/CLI-Password-Manager/blob/main/cli-password-manager#L4)
This allows you to view your passwords in your vault without.
```
alias clipm="openssl enc -aes-256-cbc -d -in /Users/$USER/.passwords.md.enc -out /Users/$USER/passwords.md && less /Users/$USER/passwords.md && rm -rf /Users/$USER/passwords.md"
```#### [clipm-dec](https://github.com/anthonybudd/CLI-Password-Manager/blob/main/cli-password-manager#L5)
This command decrypts your password vault
```
alias clipm-dec="openssl enc -aes-256-cbc -d -in /Users/$USER/.passwords.md.enc -out /Users/$USER/passwords.md && rm -rf /Users/$USER/.passwords.md.enc"
```#### [clipm-nano](https://github.com/anthonybudd/CLI-Password-Manager/blob/main/cli-password-manager#L6)
This will allow you to edit your passwords in nano
```
alias clipm-nano="nano -R /Users/$USER/passwords.md"
```#### [clipm-enc](https://github.com/anthonybudd/CLI-Password-Manager/blob/main/cli-password-manager#L7)
This command will encrypt your password vault and delete the plaintext file
```
alias clipm-enc="openssl enc -aes-256-cbc -salt -in /Users/$USER/passwords.md -out /Users/$USER/.passwords.md.enc && rm -rf /Users/$USER/passwords.md"
```