4 releases (1 stable)

Uses old Rust 2015

1.0.0 Jan 28, 2018
0.1.1 Oct 8, 2017
0.1.0 Oct 8, 2017
0.0.1 Oct 8, 2017

#1133 in Authentication

MIT/Apache

9KB
230 lines

pswrd

🕶 Stateless password vault.

Options

You can check by typing pswrd --help:

USAGE:
    pswrd [FLAGS] [OPTIONS] <scope>

FLAGS:
    -n               Emit trailing newline character.
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -u, --user <user>                          Sets the identity.
    -i, --index <index>                        Sets the password index. [default: 0]
        --master-password <master-password>    Sets the master password.

ARGS:
    <scope>    Sets the password scope (domain, application name, etc.)

EXAMPLES:

    Basic usage:
         pswrd foo@bar.tld

    Copy generated password to clipboard:
         pswrd foo@bar.tld | xclip
         pswrd foo@bar.tld | pbcopy

    Anvanced:
         pswrd -u foo bar.tld
         pswrd -u foo -s bar.tld
         pswrd -u=foo -s=bar.tld -i=3
         pswrd --user foo --scope bar.tld

Installation

You can use the cargo install command:

$ cargo install pswrd

or a classic build and run:

$ git clone https://github.com/dotcypress/pswrd
$ cd pswrd
$ cargo build --release
$ cp target/release/pswrd ~/.bin # assuming .bin is in your path

Dependencies

~5.5MB
~75K SLoC