Commit 40313871 authored by Jon Chin's avatar Jon Chin

added

parent 538beda5
# staRt encryption guide
## Step 0: Setup
You should only have to do this step once. For subsequent uses, you should be able to skip this step. If you ever find anything looking weird or wonky, run this step again.
To get the files, run the following command:
git clone git@gitlab.com:jon.chin/encrypt-decrypt-script.git
Check that you have a folder called node_modules and it should have 37 various folders inside it. **If it doesn't exist or it doesn't have 37 subfolders** then run this command:
npm install
You should have private.pem and public.pem in the folder. If you don't, find them and place them in the folder. If you've lost them, Jon might have a copy.
## Step 1: Decrypting a file
Place your file in the same folder as the code. I **highly recommend** renaming it to something simple to type, like 7a.flac Run the following command:
node decrypt.js
You will be prompted for:
private key filename -- this will almost always be private.pem
input filename -- this will be what you renamed the file to, like 7a.flac
output filename -- I recommend using a variation of the filename, like d_7a.flac
Enter PEM pass phrase -- this is the password used originally to create the private.pem and public.pem files. Only Tara knows this.
You should be done!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment