#password #password-manager #stateless #security

app mpw-rs

Master Password is an algorithm used to generate unique passwords for websites, email accounts, or anything else based only on easily reproducible input

4 stable releases

Uses old Rust 2015

2.4.3 Sep 26, 2017
2.4.2 Jun 5, 2017

#2074 in Cryptography

GPL-3.0 license

37KB
652 lines

license Build Status

Master Password •••|

This is the Rust version of the original found here. This can be used as a drop-in replacement for the reference C version, offering greater runtime safety and memory leaks protection with at-par performance.

Requirements

Building, testing and running

  • cargo test --release
  • cargo run --release

Benchmarking

  • cargo run --release -- --benchmark

Installing via Cargo

  • Make sure Rust 1.15+ is installed.
  • Run cargo install mpw-rs
  • It will be available on PATH as mpw-rs for the current user.

"Next" features

To use the Argon2 based KDF instead of Scrypt:

  • cargo run --release -- -a next
  • This should not be used for production as the Argon2 params are experimental.
  • Uses Argon2i(pass=1, lanes=4, mem=128MB) as KDF instead of Scrypt.
  • This is only available in the Rust version.

Dependencies

~12–21MB
~349K SLoC