A local vault manager designed to securely store and manage your vaults https://lprs.4rs.nl
Find a file
2024-05-08 05:02:32 +03:00
.forgejo chore(CI): Dont check the PR title if the PR are WIP 2024-05-07 00:16:52 +03:00
.github/workflows refactor: Move from GitHub to Forgejo 2024-03-17 06:59:37 +03:00
src chore: Derive Eq and PartialEq to Format 2024-05-08 05:02:32 +03:00
.gitignore Add .gitignore 2023-12-23 22:48:32 +03:00
Cargo.lock chore(deps): Use rustls for reqwest 2024-05-03 22:01:08 +03:00
Cargo.toml chore(lints): Add rust/clippy lints 2024-05-07 00:16:52 +03:00
CHANGELOG.md chore(changelog): Update changelog 2024-05-07 05:55:51 +00:00
cliff.toml chore(cliff): Support multi line BC description 2024-05-04 18:07:10 +03:00
CONTRIBUTING.md chore(DX): Update the CONTRIBUTING.md 2024-05-07 00:16:51 +03:00
Justfile chore: Remove toolchain override 2024-05-07 00:16:51 +03:00
LICENSE Add the license 2023-12-23 22:48:59 +03:00
README.md chore: Update README.md 2024-03-19 10:28:49 +03:00
rust-toolchain.toml chore(DX): Add rust-toolchain.toml 2024-05-07 00:16:31 +03:00
rustfmt.toml chore(DX): Add `rustfmt.toml 2024-05-07 00:16:52 +03:00
sumi.toml chore(git-commit): Set description_case to upper 2024-03-17 10:53:02 +03:00

Lprs

Lprs is a local vault manager designed to securely store and manage your vaults.

MSRV

The Minimum Supported Rust Version (MSRV) is 1.70.0.

Installation

To install Lprs, you will need to have the Cargo package manager installed. If you do not have Cargo installed, you can install it by following the instructions here.

  1. Install using cargo-install:
cargo install lprs --locked

This will enable the update notifications for Lprs. If you don't want to enable update notifications, you can install Lprs using:

cargo install lprs --locked --no-default-features
  1. Run Lprs:
lprs --help

Uninstallation

cargo uninstall lprs

Usage

Lprs provides a command-line interface for managing your vaults. The following commands are available:

A local CLI password manager

Usage: lprs [OPTIONS] <COMMAND>

Commands:
  add     Add new vault
  remove  Remove vault
  list    List your vaults and search
  clean   Clean the vaults file
  edit    Edit the vault content
  gen     Generate a password
  export  Export the vaults
  import  Import vaults
  help    Print this message or the help of the given subcommand(s)

Options:
  -v, --vaults-file <VAULTS_FILE>  The vaults json file
  -h, --help                       Print help
  -V, --version                    Print version

Example

lprs add -n "Gmail" -u "some@gmail.com" -p $(lprs gen 19 -u -l -s) -s "https://mail.google.com"

Result

This is the result when search for it

$ lprs list -e "mail" -p -s
Master Password: ***************
+-------+-------+----------------+---------------------+-------------------------+
| Index | Name  | Username       | Password            | Service                 |
+================================================================================+
| 31    | Gmail | some@gmail.com | >NC`q$%+Nno<y&<y]VB | https://mail.google.com |
+-------+-------+----------------+---------------------+-------------------------+

Backup

It is important to regularly backup your vaults to prevent data loss. Lprs does not provide an automatic backup feature. To backup your vaults, you can use the export command provided by Lprs. This command allows you to export your encrypted vaults to a json file, which you can then manually backup to a secure location.

Formats

The format of the exported file can be specified using the --format option. The following formats are supported:

  • lprs: The default format used by Lprs. This format is encrypted and can be imported back into Lprs using the import command. This is the recommended format to use for backups as it is encrypted and can be imported back into Lprs.
  • bit-warden: The format used by Bitwarden. This format is not encrypted and can be imported into Bitwarden. This format is useful if you want to switch to Bitwarden or another password manager that supports this format.

Contributing

Contributions to Lprs are welcome! If you would like to contribute, please follow the guidelines outlined in the [CONTRIBUTING] (CONTRIBUTING.md) file.

Mirrors

This repository is mirrored on the following platforms:

License

Lprs is licensed under the GPL-3.0 License. This means that you are free to use, modify, and distribute the software under the terms of this license. Please refer to the LICENSE file for more details.


ko-fi