Go to file
2023-11-19 15:54:01 +03:00
.vscode Updated debug config 2023-06-27 22:50:57 +03:00
cryptography Updated cryptography functions to be in-place 2023-11-19 15:54:01 +03:00
database Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
entity More clippy fixes 2023-11-19 14:45:46 +03:00
migration More clippy fixes 2023-11-19 14:45:46 +03:00
src Updated cryptography functions to be in-place 2023-11-19 15:54:01 +03:00
.dockerignore Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
.gitignore Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
Cargo.lock Updated cryptography functions to be in-place 2023-11-19 15:54:01 +03:00
Cargo.toml More clippy fixes 2023-11-19 14:45:46 +03:00
compose.yaml Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
Dockerfile Switched to debian:stable-slim image 2023-06-23 11:45:09 +03:00
LICENSE Initial commit 2023-04-23 20:54:16 +03:00
README.md Added README 2023-08-08 15:27:55 +03:00

Pass Manager

Telegram bot that manages your passwords written in Rust

Usage

You can self host this bot you have to

  • Add your telegram token into .env file

    TOKEN=<YOUR-TOKEN>
    
  • Starting the bot using docker compose

    sudo docker compose up -d
    

Cryptography

  • Scrypt is used to store and verify the master password
  • PBKDF2 is used to get a 256 bit key for encryption
  • ChaCha20-Poly1305 is used to encrypt logins and passwords

Commands

These commands are supported:

  • /start — displays the welcome message
  • /help — displays this text
  • /set_master_pass — sets the master password
  • /menu — gives you a menu to manage your accounts
  • /add_account — adds the account
  • /get_account — gets the account
  • /get_accounts — gets a list of accounts
  • /delete — deletes the account
  • /delete_all — deletes all the accounts and the master password
  • /export — exports all the accounts in a json file
  • /import — loads the accounts from a json file
  • /gen_password — generates 10 secure passwords
  • /cancel — cancels the current action