0.0.4 • Published 9 years ago
sekret v0.0.4
sekret
Why ?
It is a simple solution to encrypt / decrypt files with a password
How ?
Alice encrypt the file
First install sekret globally:
npm install -g sekretThen gather your team and choose a password.
Once you have it, go to your repository folder and initialize sekret with the choosen password:
cd myproject/
sekretsekret~$ init mypasswordNow you can encrypt a file in order to share it with your team:
sekret~$ encrypt fileContainingConfidentialInfo.txtAfter that, you can push the file fileContainingConfidentialInfo.txt.sekret and the modification of .gitignore (very important!).
Bob decrypt the file
Now Bob, your fellow friend, can:
- clone the repo of your project,
- install
sekretglobally - init
sekretwith the same password as Alice - decrypt the file:
cd myproject/
sekretsekret~$ decrypt fileContainingConfidentialInfo.txtThe fileContainingConfidentialInfo.txt file is now decrypted!