• Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us
Tech Tips and Tutorials
Menu
  • Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us
Home  /  Linux  /  Ylva commandline password manager in Linux

Ylva commandline password manager in Linux

Written by
Linux Leave a Comment

Ylva previously known as Titan is a command line password manager in Linux .  In this tutorial we will see how to install it on an Ubuntu 16.4

Ylva uses OpenSSL (or LibreSSL) for encryption. For password database SQLite is used. Ylva encrypts the database using AES with 256 keys. Encrypted database is authenticated using HMAC. For key generation PKBDF2-SHA256 is used with 200 000 iterations

Installation

First, Install SQlite, openSSL and Git if they are not installed already:

apt-get install libsqlite3-dev libssl-dev git

Git clone Ylva repository:

git clone https://github.com/nrosvall/ylva.gi
 cd ylva/
make
make install

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 

The database is now encrypted and the encryption asks you for a master passpharse.

So every time you need to encrypt the database after adding new entries and exits .

To encrypt automatically after exit:

ylva --auto-encrypt

Ylva Usage

Add an entry to an open database: This will ask you about the details of your entry and password  

ylva --add 

If you want to export all entries to a file:

  ylva --show-passwords -A > file.txt 

List all entries :

ylva -A

Find a specific entry, here I search for my entry ‘user’ :

ylva -F user

To delete an entry using a specific ID number:

ylva -r 4 , where 4 is the ID number 4

To show all the passwords :

ylva --show-passwords -A

To dispaly the entries with the ID number :

 ylva  -l 2 , where 2 is the ID number:

Also, refer the ‘man’ page for Ylva for all the useful flags you can use with Ylva

Share On
Share on Facebook
Share on Twitter
Share on Google+
Share on Whatsapp

 Previous Article Hardisk clone using Linux live USB and external HDD enclosure
Next Article   How can I get my Amazon S3 Access key ID and Secret Key

Related Posts

  • Linux Shell Scripts for System Administrators

  • SOCKS PROXY

  • How to grep IP addresses from log files in Linux

Leave a Reply

Cancel reply

  • Popular Posts
  • Recent Posts
  • Linux Shell Scripts for System Administrators
  • Cacti 1.1.38 ERROR Opening .rrd No Such file or directory
  • Apache configuration for Cacti
  • How to create RAM disk in Ubuntu 18.04
  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to install XAMPP and access phpMyAdmin in MAC OS
  • How to increase the root volume in a Linux ec2 instance

Linux

  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to grep IP addresses from log files in Linux
  • How to empty or delete a large file in Linux

Categories

  • AWS (5)
  • FreeBSD (12)
  • Linux (29)
  • Networking (3)
  • Python (5)
  • Uncategorized (4)
  • WebDev (1)
  • Connect on Facebook
  • Connect on YouTube
© Copyright 2020.TechieNix. All Rights Reserved.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.