Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lubosgarancovsky/dome

Rust cli based password manager
https://github.com/lubosgarancovsky/dome

rust

Last synced: 19 days ago
JSON representation

Rust cli based password manager

Awesome Lists containing this project

README

        

# Dome
Dome is a CLI password manager written in Rust that stores encrypted passwords safely inside the local vault.

It supports Windows and Linux operating systems.

## Commands

```dome --version``` - Shows current version of Dome.

```dome help``` - Shows list of all availible commands.

```dome list``` - Displays a list of domains saved in the vault.

```dome add -u ``` - Adds new domain to the vault.

```dome get ``` - Displays username and decrypted password for given domain.

```dome remove ``` - Removes domain from the vautl.

```dome gen ``` - Generates random password of the given length.

## Master password
Vault is accessed using master password. It is used to create and access every entry in the vault. Master password is not saved anywhere within the program and it is possible to use different master password for each entry.

Dome will prompt you to enter master password like this:
```
Enter master password:
```

## Add new entry
Using the add command and providing domain name and username, you will be prompted to first input ```Master password``` and then password for the given domain.

```
> dome add gmail -u [email protected]

Enter master password: ******
Repeat password: *****

Enter password for gmail: *****
Repeat password: *****

Password for gmail was saved in the vault.
+------------------+----------------------+
| Domain | Username |
+-----------------------------------------+
| gmail | [email protected] |
+-----------------------------------------+
```

## List entries
With ```dome list``` command you can list all entries that are saved in your vault.

```
> dome list

+-----------------------+
| 0 | gmail |
+-----------------------+
| 1 | yahoo |
+-----------------------+
| 2 | github |
+-----------------------+
```

## Show password for a domain
You access the saved password using ```dome get ``` command.

```
> dome get gmail

Enter master password: ******

+------------------+----------------------+--------------------------+
| Domain | Username | Password |
+-----------------------------------------+--------------------------+
| gmail | [email protected] | my_very_secret_pwd123 |
+-----------------------------------------+--------------------------+

```

## Remove password from the vault
To remove entry from the vault, use ```dome remove ```.

```
> dome remove gmail

Are you sure you want to remove gmail from the vault? [Y/n]: y

gmail was removed from the vault.

```