Skip to content

borbiuk/PGP-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGP-generate (pgpg)

Simple CLI tool to generate PGP keys pair.

Installation

npm i -g pgp-generate

Usage

Run for details:

pgpg --help

Generate key to files {fileName}.private and {fileName}.public:

pgpg -n {name} -e {email} -p {secret phrase} -f {path to file}

Generate key to console:

pgpg -n {name} -e {email} -p {secret phrase} --print

Additional parameters:

-l, --level: key security level (0, 1, 2, 3), default is 3 (key with 4096 length will be generated)

Contribution

Feel free to copy and use this version. Let me know if you need any further modifications!