Node CLI tool for generate and store passwords securely with one master key
npx passkepr
npx passkepr // To open the main-menu
npx passkepr [app-name]
npx passkepr [app-name] [master-password]
-V, --version output the version number
-h, --help display help for command
config.json
{
"publicSecretKey": "32-char"
}
passwords.json
[
{
"appname":"string",
"username":"string",
"email":"string",
"password":"string-encripted"
}
]
- create pass-keeper folder with all setup file
- generate a public secret key 32-char (saved to confing.json)
- ask user to eneter his master key for the fist time(to clipboard)
- calc secret key
- mainMenu
- read a public secret key 32-char (from confing.json)
- ask user to eneter his master key
- calc secret key
- mainMenu
- readPasswords
- inquirerPassKeeperObj appname, username, email
- generate a new password
- encrypt password with secret key
- update passwords list
- readPasswords
- inquirerPassKeeperObj appname, username, email, password
- encrypt password with secret key
- update passwords list
- readPasswords
- decrypt passwords with secret key
- print it to the console
- readPasswords
- find by name
- decrypt password with secret key
- print it to the console