1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-22 02:40:04 +00:00
mpw/README.md

111 lines
2.4 KiB
Markdown
Raw Normal View History

2017-02-21 20:32:26 +01:00
# MPW: Manage your passwords!
[![Version](https://img.shields.io/badge/latest_version-4.0.0--beta1-yellow.svg)](https://github.com/nishiki/manage-password/releases)
[![Build Status](https://travis-ci.org/nishiki/manage-password.svg?branch=master)](https://travis-ci.org/nishiki/manage-password)
[![License](https://img.shields.io/badge/license-GPL--2.0-blue.svg)](https://github.com/nishiki/manage-password/blob/master/LICENSE)
mpw is a little software which stores your passwords in [GnuPG](http://www.gnupg.org/) encrypted files.
## Features
* generate OTP code
* synchronize your passwords with SSH or FTP.
* copy your login, password or otp in clipboard
2017-03-02 23:43:19 +01:00
* manage many wallets
* share a wallet with others GPG keys
2017-02-21 20:32:26 +01:00
## Install
On debian or ubuntu:
```
apt install ruby ruby-dev xclip
gem install mpw
```
2017-03-02 23:43:19 +01:00
## How to use
### First steps
2017-02-21 20:32:26 +01:00
2017-03-02 23:43:19 +01:00
Initialize your first wallet:
2017-02-21 20:32:26 +01:00
```
mpw config --init user@host.com
2017-03-02 23:43:19 +01:00
```
Add your first item:
```
2017-02-21 20:32:26 +01:00
mpw add
2017-03-02 23:43:19 +01:00
```
And list your items:
```
2017-02-21 20:32:26 +01:00
mpw list
```
2017-03-02 23:43:19 +01:00
or search an item with
```
mpw list --pattern Da
mpw list --group bank
```
2017-02-21 20:32:26 +01:00
Output:
```
Bank
==============================================================================
ID | Host | User | Protocol | Port | OTP | Comment
==============================================================================
1 | bank.com | 1234456 | https | | X |
Linux
==============================================================================
ID | Host | User | Protocol | Port | OTP | Comment
==============================================================================
2 | linuxfr.org | example | https | | | Da Linux French Site
```
2017-03-02 23:43:19 +01:00
Copy a password, login or OTP code:
```
mpw copy -p linuxfr
```
Update an item:
```
mpw update -p linuxfr
```
Delete an item:
```
mpw delete -p linuxfr
```
### Manage wallets
List all available wallets:
```
mpw wallet --list
```
Create an other wallet:
```
mpw config --wallet work --init user@host.com
```
List all GPG keys in wallet:
```
mpw wallet --list-keys [--wallet NAME]
```
Share with an other GPG key:
```
mpw wallet --add-gpg-key test42@localhost.com
or
mpw wallet --add-gpg-key /path/to/file
```
Remove a GPG key:
```
mpw wallet --delete-gpg-key test42@localhost.com
```
Add synchronize:
```
mpw wallet --protocol ssh --host example.com --user test --path /remote/path --password
```