mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-19 21:04:35 +00:00
update readme
This commit is contained in:
parent
2a0decd215
commit
95675ce3ff
1 changed files with 75 additions and 6 deletions
81
README.md
81
README.md
|
@ -1,18 +1,87 @@
|
||||||
# Manage your passwords!
|
# Manage your passwords!
|
||||||
|
|
||||||
MPW is a little software which stores your passwords in an GPG encrypted file.
|
MPW is a little software which stores your passwords in an GPG encrypted file.
|
||||||
MPW can synchronize your password with a MPW Server or via SSH or via FTP.
|
MPW can synchronize your password with via SSH or FTP.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
You must generate a GPG Key with GPG or with Seahorse (GUI on linux).
|
This program work with ruby >= 2.0
|
||||||
This program work with ruby >= 1.9
|
|
||||||
|
|
||||||
* install ruby and rubygems on your computer
|
* install ruby and rubygems on your computer
|
||||||
* gem install mpw
|
* gem install mpw
|
||||||
|
|
||||||
If you want use mpw-ssh, you must install sshpass
|
|
||||||
|
|
||||||
# How to use
|
# How to use
|
||||||
|
|
||||||
mpw -h
|
* Show help
|
||||||
|
mpw --help
|
||||||
|
|
||||||
|
* Setup a new config file
|
||||||
|
mpw --setup
|
||||||
|
mpw --setup --config /path/conf/file.cfg
|
||||||
|
|
||||||
|
* Create and setup a new wallet
|
||||||
|
mpw --setup-wallet --wallet new_wallet_name
|
||||||
|
mpw --setup-wallet --wallet new_wallet_name --config /path/conf/file.cfg
|
||||||
|
|
||||||
|
* Add a new item in wallet
|
||||||
|
mpw --add
|
||||||
|
mpw --add --config /path/conf/file.cfg
|
||||||
|
mpw --add --wallet wallet_name
|
||||||
|
mpw --add --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
* Update an item
|
||||||
|
mpw --update --id uniq_id
|
||||||
|
mpw --update --id uniq_id --config /path/conf/file.cfg
|
||||||
|
mpw --update --id uniq_id --wallet wallet_name
|
||||||
|
mpw --update --id uniq_id --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
* Delete an item
|
||||||
|
mpw --delete --id uniq_id
|
||||||
|
mpw --delete --id uniq_id --config /path/conf/file.cfg
|
||||||
|
mpw --delete --id uniq_id --wallet wallet_name
|
||||||
|
mpw --delete --id uniq_id --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
* Show an item
|
||||||
|
mpw --show 'string to search'
|
||||||
|
mpw --show 'string to search' --config /path/conf/file.cfg
|
||||||
|
mpw --show 'string to search' --wallet wallet_name
|
||||||
|
mpw --show 'string to search' --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
mpw --show 'string to search' --group group_name
|
||||||
|
mpw --show 'string to search' --group group_name --config /path/conf/file.cfg
|
||||||
|
mpw --show 'string to search' --group group_name --wallet wallet_name
|
||||||
|
mpw --show 'string to search' --group group_name --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
* Export data in YAML file
|
||||||
|
mpw --export --file /path/file/to/export.yml
|
||||||
|
mpw --export --file /path/file/to/export.yml --config /path/conf/file.cfg
|
||||||
|
mpw --export --file /path/file/to/export.yml --wallet wallet_name
|
||||||
|
mpw --export --file /path/file/to/export.yml --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
* Import data from YAML file
|
||||||
|
mpw --import --file /path/file/to/export.yml
|
||||||
|
mpw --import --file /path/file/to/export.yml --config /path/conf/file.cfg
|
||||||
|
mpw --import --file /path/file/to/export.yml --wallet wallet_name
|
||||||
|
mpw --import --file /path/file/to/export.yml --config /path/conf/file.cfg --wallet wallet_name
|
||||||
|
|
||||||
|
Format file to import:
|
||||||
|
|
||||||
|
1:
|
||||||
|
name: Website perso
|
||||||
|
group: Perso
|
||||||
|
host: localhost.local
|
||||||
|
protocol: ftp
|
||||||
|
user: test
|
||||||
|
password: letoortue
|
||||||
|
port: 21
|
||||||
|
comment: Mysuper website
|
||||||
|
2:
|
||||||
|
name: Linuxfr
|
||||||
|
group: Pro
|
||||||
|
host: Linuxfr.org
|
||||||
|
protocol: https
|
||||||
|
user: test
|
||||||
|
password: coucou
|
||||||
|
port:
|
||||||
|
comment:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue