DOKK / manpages / debian 12 / ylva / ylva.1.en
man(1) ylva man page man(1)

ylva - command line password manager

ylva [FLAGS] <OPTIONS>

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

Initialize new database
Encrypt current database
Decrypt database
Copy an entry to a new entry
Add new entry
Show current database path
Switch using another database
Remove entry pointed by id
Search for entries
Search for entries with regular expressions
Edit entry pointed by id
List entry pointed by id
Show latest entries, parameter count is optional.
Show database statuses
Show program version
Generate password
This is the same as running --show-passwords -f
Show short help and exit

Automatically encrypt after exit
Show passwords in listings
Show data as QR code in --list-entry
--force only works with --init option

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

To show all entries ordered by date
ylva --show-latest

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.

Ylva supports settings default username for entries. To enable it, set an environment variable YLVA_DEFAULT_USERNAME value to the wanted default. If you want Ylva to default to an empty username define YLVA_DEFAULT_USERNAME, but leave it empty.

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 every time when you encrypt the database, if you want to.

$HOME/.ylva.lock

Written by Niko Rosvall.

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

Released under MIT license.

11 Sep 2021 1.7