2 个版本
0.1.5 | 2020年8月24日 |
---|---|
0.1.3 | 2020年8月17日 |
#2441 in 密码学
10KB
139 行
psswd
一个简单的 Rust 命令行工具,用于管理您的密码。它使用 age (真正良好的加密) 对您的密码进行加密,并支持使用密码短语进行解密。
安装
- 您可以自行构建
git clone https://github.com/Gogopex/psswd.git
cd psswd
# psswd requires cargo/rustc
cargo build --release
这将生成一个在 target/release/build
中的 bin 文件。
- 或者通过
cargo
下载
cargo install psswd
用法
如果您刚刚运行了 cargo build --release
,您可以使用 ./target/release/psswd <command>
或直接为 psswd
添加别名。
演示
帮助
⚡ psswd
psswd 0.1.1
USAGE:
psswd <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add Creates a new entry containing an encrypted password
delete Deletes entries or a given entry
help Prints this message or the help of the given subcommand(s)
list Lists all entries
show Displays a specific entry
Feel free to report any issue you find here: https://github.com/Gogopex/psswd/issues
依赖项
~9.5MB
~143K SLoC