Skip to content

The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.

License

Notifications You must be signed in to change notification settings

fabiospampinato/secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Secret

The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.

Secret automatically detects if you want to encrypt or decrypt a file: if the file ends with the ".secret" extension then it will try to decrypt it, otherwise it will try to encrypt it.

Install

npm install -g @fabiospampinato/secret

Usage

Encrypt a file:

secret myFile.txt

Decrypt a file:

secret myFile.txt.secret

License

MIT © Fabio Spampinato

About

The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published