NAME

ylva - command line password manager

SYNOPSIS

ylva [FLAGS] <OPTIONS>

DESCRIPTION

Ylva is a command line password manager program for Unix like operating systems.

OPTIONS

-i, --init <path>

Initialize new database

-e, --encrypt

Encrypt current database

-d, --decrypt <path>

Decrypt database

-D, --duplicate <id>

Duplicate an entry

-a, --add

Add new entry

-s, --show-db-path

Show current database path

-u, --use-db <path>

Switch using another database

-r, --remove <id>

Remove entry pointed by id

-f, --find <search>

Search for entries

-F, --regex <search>

Search for entries with regular expressions

-c, --edit <id>

Edit entry pointed by id

-f, --find <search>

Search database

-l, --list-entry <id>

List entry pointed by id

-t, --show-latest <count>

Show latest entries

-A, --list-all

Show database statuses

-V, --version

Show program version

-g, --gen-password <length>

Generate password

-q, --quick <search>

This is the same as running --show-passwords -f

-h, --help

Show short help and exit

FLAGS

--auto-encrypt

Automatically encrypt after exit

--show-passwords

Show passwords in listings

--force

--force only works with --init option

EXAMPLES

Create a new database:   ylva --init "/path/to/file.db"

Open and decrypt database:   ylva --decrypt "/path/to/existing/file.db"

Close and encrypt database:   ylva --encrypt

Ylva knows what database is currently active and encrypts it. Encrypting will ask you to type a master passphrase which is used for encryption.

Add an entry to an open database:   ylva --add

If you want to export all entries to a file:   ylva --show-passwords -A > file.txt

To show latest 10 entries:   ylva --show-latest 10

COLORS

Ylva supports colored output. To use colors, set an environment variable YLVA_COLOR with one of the following value: BLUE, RED, GREEN, YELLOW, MAGENTA, CYAN or WHITE.

NOTES

Ylva does not have a concept of "change the master password". When you encrypt an open database using --encrypt you can type a master password. This password is then required to decrypt the database. You can change the master password everytime when you encrypt the database, if you want to.

FILES

$HOME/.ylva.open_db

AUTHORS

Written by Niko Rosvall.

COPYRIGHT

Copyright (C) 2019 Niko Rosvall <niko@byteptr.com>

Released under MIT license.