IMPORTANT : As a package which handles sensitive datas, QUICKERT DOES NOT COLLECT ANY DATA IF IT IS SENSITIVE OR NOT. So relax!
// Install Globally
npm install -g quickcert
// Install Locally - NPM
npm install quickcert
// Install Locally - YARN
yarn add quickcert
Keyfile is a file in which the private key is saved. Quickcert will search this keyfile (default: qcert.key) unless you provide custom key (by -k option)
Config file is a file in which the public keys of each file reside - in other words, encrypted. You can publicly save or publish this config file since there are any datas which are confidential. This encryption is executed by AES-256 (GCM Mode) Two-way cryptography and saved in base64 format.
Use yarn or npx to execute it.
If you installed globally, execute like : quickcert <command>
Else locally, execute like : yarn quickcert <command>
Execute quickcert help
for help.
Initialize configuration files. You must initialize before all of the commands.
Nothing hard, cli interface will pop out!
- --cfg : custom configuration file root
Decrypt credentials.
- <filePath (positional)> [not required] : directory of credential. Could be one or more.
- -k : private key (password) of encrypted credentials
- --kf : custom keyfile root
- --cfg : custom configuration file root
quickcert decrypt a.txt
quickcert decrypt a.txt b.key c.exe -k test
Register credentials to configuration file.
Of course, all the credentials will be encrypted, so don't be afraid of uploading the qcert.conf file to public!
- <filePath (positional)> [required] : directory of credential. Could be one or more.
- -k : private key (password) of encrypted credentials
- --kf : custom keyfile root
- --cfg : custom configuration file root
quickcert encrypt a.txt
quickcert encrypt a.txt b.key c.exe
Re-encrypts all the registered credentials.
- -k : private key (password) of encrypted credentials
- --kf : custom keyfile root
- --cfg : custom configuration file root
Unregister credentials from configuration.
- <filePath (positional)> [required] : directory of credential.
- -k : private key (password) of encrypted credentials
- --kf : custom keyfile root
- --cfg : custom configuration file root
quickcert delete a.txt
Please report your bug in the issue tab!
Node.js environment higher than Node14 (tested on Node14, Node16, Node20 environment)