A simple password safe, written in Rust.
You must define a master password, which will be used to encrypt the vault. Each time you want to use the vault, you will be asked for this password.
First, create a vault file (by default it will create the vault at /tmp/vault.frt):
frtrs createThen, add entries to the vault (see docs to know more about the arguments):
frtrs add <identifier> --username <username> --password <password>Important
If none of the password methods are provided (neither -p nor -g), the password will be the content of the *
clipboard*
- The master password is not stored
- We are using only well-known methods and libraries
- Strict checks and tests before releases
- Independent code audit
nix run github:/xavier2p/fortressNote
This project requires Rust 1.56+ to build.
- Clone the repository
git clone https://github.com/xavier2p/fortress && cd fortress- Install the binary
cargo install --path .Warning
For Flake utilization, please add before each command the -- to precise it's a command to fortress.
e.g. nix run github:/xavier2p/fortress -- --version
$ frtrs --help
A simple password safe CLI app
Usage: frtrs [OPTIONS] [COMMAND]
Commands:
create Create a new vault
copy Copy the password of the desired identifier
view View the password of the desired identifier
remove Remove an entry from the vault
add Add a new entry to the vault. If no one of the password methods is provided, the password will be the content of the clipboard
list List all entries in the vault
help Print this message or the help of the given subcommand(s)
Options:
-f, --file <PATH> The input file path [default: /tmp/vault.frt]
--log-file <PATH> Path to a file to write logs to [default: /tmp/fortress.log]
-h, --help Print help
-V, --version Print versionYou must have Rust installed. See rust-lang.org for more information. All technical documentation is online, see docs.
cargo testcargo tarpaulincargo build
cargo runcargo fmt
cargo clippy- We have some CI checks (tests, formatting, linting) running on each PR
- We run audit on dependencies weekly
- We use protected branches on GitHub, requiring reviews and all checks before merging
You can follow the development process via the issues and project board on GitHub.
- Xavier2p
- Axxiar
- Savened
- Aurel