keyman
所属分类:加密解密
开发工具:Rust
文件大小:632KB
下载次数:0
上传日期:2022-12-03 02:40:09
上 传 者:
sh-1993
说明: 我的密码管理器
(my password manager)
文件列表:
Cargo.lock (49047, 2022-12-03)
Cargo.toml (670, 2022-12-03)
LICENSE (35149, 2022-12-03)
Rocket.toml (60, 2022-12-03)
database.sqlite (20480, 2022-12-03)
diesel.toml (187, 2022-12-03)
doc (0, 2022-12-03)
doc\construction.png (445270, 2022-12-03)
doc\dec.jpg (66035, 2022-12-03)
doc\enc.jpg (53835, 2022-12-03)
doc\gen.jpg (61315, 2022-12-03)
doc\rust_key.jpg (34840, 2022-12-03)
keyFile (157, 2022-12-03)
migrations (0, 2022-12-03)
migrations\.keep (0, 2022-12-03)
migrations\2022-09-12-124903_create_passwords (0, 2022-12-03)
migrations\2022-09-12-124903_create_passwords\down.sql (10, 2022-12-03)
migrations\2022-09-12-124903_create_passwords\up.sql (240, 2022-12-03)
src (0, 2022-12-03)
src\auth.rs (1519, 2022-12-03)
src\endpoints (0, 2022-12-03)
src\endpoints\error.rs (1069, 2022-12-03)
src\endpoints\key.rs (5055, 2022-12-03)
src\endpoints\login.rs (648, 2022-12-03)
src\endpoints\mod.rs (121, 2022-12-03)
src\endpoints\register.rs (2745, 2022-12-03)
src\main.rs (934, 2022-12-03)
src\models.rs (1112, 2022-12-03)
src\repositories.rs (1790, 2022-12-03)
src\schema.rs (238, 2022-12-03)
src\testres (0, 2022-12-03)
src\testres\mod.rs (41, 2022-12-03)
src\testres\test_crypto.rs (296, 2022-12-03)
src\tools (0, 2022-12-03)
src\tools\cryptos.rs (1811, 2022-12-03)
src\tools\mod.rs (36, 2022-12-03)
Keyman
A fast password manager written in Rust
This is a simple password manager, which is to handle the school internship program. Because It is too simple, so I written it by Rust. But it's common that manary password manager written in Rust.
However, this is just the backend, if you want to use, you may need a application to use the api.
I recommend you to use the front [project](https://github.com/Jacen-cpu/keyman-front) by myself.
## Main Construction
## Main Algorithm
we use PBKDF2 to the key.
we use AES to enc user's password.
This is how keyman dec the cipher.
**by the way you can see more design detail from my [slide](http://waysoahc.xyz/demo_slides/keyman/index.html#/).**
## Usage
```rust
cargo run
```
## Basic api
```
(add_key) POST /api/ (application/json)
(get_all_key) GET /api/
(update_key) PUT /api/ (application/json)
(delete_key) DELETE /api/
(login_master) POST /api/login (application/json)
(register_password) POST /api/register (application/json)
(get_key) GET /api/
```
## License
GNU General Public License v3.0
近期下载者:
相关文件:
收藏者: