Crates.io | cpg |
lib.rs | cpg |
version | 0.1.1 |
source | src |
created_at | 2023-03-31 15:44:53.375481 |
updated_at | 2023-04-29 10:32:54.041373 |
description | a CLI that consistently generates passwords given the same input. |
homepage | |
repository | https://github.com/9elt/cpg |
max_upload_size | |
id | 826526 |
size | 26,543 |
this project is under development, and hasn't been reviewed by a cryptographer other limitations
A CLI that consistently generates passwords given the same input.
cpg is not a password manager, but can be used as an additional security layer on top of it.
The actual password used to sign up, and sign in, to services will not be stored anywhere as it will be generated every time instead.
input > salt => password
^ ^ ^
| | |
store it genrated use it to
online or and stored sign up and sign in
remember it locally to services
cargo install cpg
see: installing binaries with cargo install, install rust and cargo
-p
list of passwords to salt
-s
path to the salt to use (default ~/.conifg/cpg/secret.salt)
this is an example, you should use stronger inputs
$ cpg -p mybirthday iloveyou "mickey mouse"
mybirthday => 0#B[?7WZbufDrh#z{nJXPD8G6pP]BGQk
iloveyou => g3s5PKVbm1NK8UZFlyjxgsA%g5urG05#
mickey mouse => 1,it6rT^%=#geUO853q|€%B#@T4B"fjy
no salt encryption method yet.
inputs are not removed from .bash_history
.