User:Maffblaster/Drafts/ylva

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

ylva (formerly Titan, and before that Steel) is a command-line password manager supporting AES encryption and 256-bit keys. It is written in C and is open source licensed under the GPL-3.

Installation

Emerge

root #emerge --ask ylva

Configuration

Usage

Initial launch

These steps can be followed by reading man 1 ylva, however they are also reproduced here for sake of convenience:

Create a new database:

user $ylva --init-new /path/to/file.db

After the database is created it will remain open.

Add an entry to the open database:

user $ylva --add "New entry" "A username" "url" "Some important notes about the entry"

Note that all fields are optional except the title (first) field. When skipping fields use empty quotes "".

When finished, close the database:

user $ylva --close

Open a database

Open and decrypt a database:

user $ylva --open /path/to/existing/file.db

Modifications to a database

To modify an existing database entry:

user $ylva --replace 4 "url" "http://www.newurl.com"

Where 4 is the number of the ID associated with the entry. In the example above the URL of the 4th entry in the list will be modified. "url" can be substituted for "user", "title", "notes", or "passphrase" depending on what needs modified.

Invocation

user $steel --help
SYNOPSIS

ylva [options]

OPTIONS

-i, --init-new          <path>                        Create a new database
-o, --open              <path>                        Open an existing database
-c, --close                                           Close open database
-a, --add               <title> <user> <url> <notes>  Add new entry to database
-s, --show              <id>                          Show entry by id
-g, --gen-pass          <length>                      Generate secure password
-d, --delete            <id>                          Delete an entry by id
-r, --replace           <id> <what> [content]         Replace an entry data
                                                      <what> can be either "user",
                                                      "title", "url", "notes" or
                                                      "passphrase".
-R, --shred-db          <path>                        Shred database
-f, --find              <search>                      Search database
-l, --list-all                                        Show all entries
-S, --show-status                                     Show database statuses
-b, --backup            <source> <destination>        Backup database
-B, --import-backup     <source> <destination>        Import database backup
-V, --version                                         Show program version
-p, --show-passphrase   <id>                          Show an entry passphrase
-u, --show-username     <id>                          Show an entry username
-U, --show-url          <id>                          Show an entry url
-n, --show-notes        <id>                          Show an entry notes
-h, --help                                            Show short help and exit.

For more information and examples see man steel(1).

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

Released under license GPL-3+. For more information, see http://www.gnu.org/licenses

Removal

Unmerge

root #emerge --ask --unmerge ylva

See also

  • GPG — a free implementation of the OpenPGP standard (RFC 4880).
  • pass — a command-line password manager that stores, retrieves, generates, and synchronizes passwords securely.