Master Password in Pure Rust

Overview

license Build Status Crates.io

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.
You might also like...
A very fast Rust tool to crack a password protected PDF (Dangerous ☠️)
A very fast Rust tool to crack a password protected PDF (Dangerous ☠️)

DOCBOT A PDF password cracking tool with multi-threading capabilities, featuring password format generators for commonly used patterns and dictionary

An implementation of the OPAQUE password-authenticated key exchange protocol

The OPAQUE key exchange protocol OPAQUE is an asymmetric password-authenticated key exchange protocol. It allows a client to authenticate to a server

🐴 RusTOTPony — CLI manager of one-time password generators aka Google Authenticator

🐴 RusTOTPony CLI manager of time-based one-time password generators. It is a desktop alternative for Google Authenticator. Installation Arch Linux Pa

A safe implementation of the secure remote password authentication and key-exchange protocol (SRP), SRP6a and legacy are as features available.

Secure Remote Password (SRP 6 / 6a) A safe implementation of the secure remote password authentication and key-exchange protocol (SRP version 6a). Ver

A password entropy calculator.

paspio — pasvorta entropio A (naive) password entropy calculator. Refrain from using this as a sole measure of password strength, it should be used in

Password-Authenticated Key Agreement protocols

RustCrypto: PAKEs Password-Authenticated Key Agreement protocols implementation. Warnings Crates in this repository have not yet received any formal c

Password hashing functions / KDFs

RustCrypto: Password Hashes Collection of password hashing algorithms, otherwise known as password-based key derivation functions, written in pure Rus

Rest API to check if a password is in a data breach

easypwned (haveibeenpwned / HIBP) Rest API to check if a password is in a data breach. Works offline - everything stays on your machine! Database is i

Smarter brute-force password searching for PKZIP encrypted files

Zip Blitz Motivation This program was created for a very specfic problem I had. I had a large encrypted zip file that I lost/forgot the password for.

Comments
  • Write benchmarks with nightly features

    Write benchmarks with nightly features

    • [x] Update all syntax to 2018 edition
    • [x] Write benchmarks with !#[feature(test)]
    • [x] Update outdated crates
    • [x] Fix CI to build on nightly toolchain
    opened by nerdypepper 0
  • Can't install, because ring version is yanked

    Can't install, because ring version is yanked

    I tried installing it today and it failed:

    $ cargo install mpw-rs
        Updating crates.io index
      Installing mpw-rs v2.4.3
    error: failed to compile `mpw-rs v2.4.3`, intermediate artifacts can be found at `/tmp/cargo-installMJyAsf`
    
    Caused by:
      failed to select a version for the requirement `ring = "^0.11"`
      candidate versions found which didn't match: 0.14.6, 0.14.5, 0.14.4, ...
      location searched: crates.io index
    required by package `mpw-rs v2.4.3`
    

    Installing #5 works.

    opened by YtvwlD 1
  • Merge - save feature to remember site counter in local sqlite database

    Merge - save feature to remember site counter in local sqlite database

    Implemented an extra parameter support to save site count which helps to generate unique password every time for the same site. The non-sensitive meta data is stored in a simple sqlite database in the same folder as the app.

    opened by krishnakumar4a4 0
The simple password manager for geeks, built with Rust.

Rooster Rooster is a simple password manager for geeks (it works in the terminal). Rooster is made available free of charge. You can support its devel

Conrad Kleinespel 131 Dec 25, 2022
A simple password manager written in rust

Passman - A password manager written in rust. How to use?: USAGE: passman option Currently available options are: new - initalize passman with a new m

Strawkage 7 Aug 26, 2021
A simple password manager written in Rust

ripasso A simple password manager written in Rust. The root crate ripasso is a library for accessing and decrypting passwords stored in pass format (G

Joakim Lundborg 550 Dec 30, 2022
Ruo is a dictionary-based password cracker written in rust 🦀 .

Ruo is a dictionary-based password cracker written in rust ?? . The primary purpose is to crack weak hashes/commonly used passwords.

Asjid Kalam 10 Mar 6, 2022
A password manager coded in rust

pasman A password manager coded in rust Install Dependency rust Shell git clone https://github.com/AMTitan/pasman.git cd pasman cargo build --release

Arthur Melton 4 Nov 8, 2021
A Rust port of the password primitives used in Django Project.

Rust DjangoHashers A Rust port of the password primitives used in Django Project. Django's django.contrib.auth.models.User class has a few methods to

Ronaldo Ferreira 52 Nov 17, 2022
Rust-based password mutator for brute force attacks

PWFuzz-RS A Rust-based password mutator for brute force attacks Disclaimer This tool works, but was mainly an experiment. Please do not expect frequen

Michael Taggart 6 Oct 31, 2022
A lightning-fast password generator and manager written in Rust

Passlane A lightning-fast password manager for the command line Features Generate passwords Place the generated password into the clipboard Save previ

Anssi Piirainen 4 Dec 15, 2022
A pretty simple tool for password generation, written in Rust.

passwdgen A pretty simple tool for password generation, written in Rust. Usage: passwdgen - a pretty simple tool for password generation Usage: passw

Kirill Belolipetsky 9 Feb 19, 2023
Tool written in Rust to perform Password Spraying attacks against Azure/Office 365 accounts

AzurePasswordSprayer Tool written in Rust to perform Password Spraying attacks against Azure/Office 365 accounts. It is multi threaded and makes no co

Pierre 7 Feb 27, 2024