2014-04-27 03:51:16 +04:00
|
|
|
PM
|
|
|
|
==
|
|
|
|
|
2016-04-28 17:10:00 +03:00
|
|
|
Simple password manager writen in perl.
|
2014-05-05 23:43:34 +04:00
|
|
|
|
|
|
|
# INSTALL
|
|
|
|
|
|
|
|
## Perl modules
|
|
|
|
|
2014-05-06 11:57:48 +04:00
|
|
|
cpan install Module::Name
|
2014-05-05 23:43:34 +04:00
|
|
|
|
|
|
|
Not recommended. Please use you package manager.
|
|
|
|
|
|
|
|
* DBD::sqlite
|
|
|
|
* Clipboard
|
|
|
|
|
|
|
|
On Fedora:
|
|
|
|
|
|
|
|
yum/dnf install perl-Class-DBI-SQLite perl-Clipboard
|
|
|
|
|
|
|
|
On Debian-based systems:
|
|
|
|
|
|
|
|
apt-get install libtext-clip-perl class-dbi-sqlite-perl
|
|
|
|
|
2016-04-28 17:10:00 +03:00
|
|
|
On On Arch-based systems:
|
|
|
|
|
|
|
|
yaourt -S perl-dbd-sqlite perl-clipboard
|
|
|
|
|
2014-05-06 15:32:16 +04:00
|
|
|
# Usage
|
|
|
|
|
|
|
|
First you need to generate PGP key:
|
|
|
|
|
|
|
|
gpg --gen-key
|
|
|
|
|
|
|
|
Set this key(or another of cource) for default:
|
|
|
|
|
|
|
|
vim ~/.gnupg/gpg.conf
|
|
|
|
# find string and uncomment or add it
|
2014-05-10 20:59:08 +04:00
|
|
|
default-key key_email@example.com
|
2014-05-06 15:32:16 +04:00
|
|
|
:wq
|
|
|
|
|
2014-05-10 20:59:08 +04:00
|
|
|
You can use not default key:
|
|
|
|
|
|
|
|
# Create file with key email
|
|
|
|
cat > ~/.PM/.key << EOF
|
|
|
|
key_email@example.com
|
|
|
|
EOF
|
|
|
|
|
2014-05-06 15:32:16 +04:00
|
|
|
First run:
|
|
|
|
|
|
|
|
$ ./pm.pl
|
|
|
|
Creating configuration dirrectory...
|
|
|
|
Creating database...
|
|
|
|
Creating database schema...
|
|
|
|
Encrypt database...
|
|
|
|
Done!
|
|
|
|
|
|
|
|
Show help screen:
|
|
|
|
|
|
|
|
$ ./pm.pl -h
|
2014-05-05 23:43:34 +04:00
|
|
|
|
2014-05-06 11:57:48 +04:00
|
|
|
# Changelog
|
|
|
|
|
2015-07-10 12:59:22 +03:00
|
|
|
## 0.0.2
|
|
|
|
* Groups support
|
|
|
|
* More entropy in password generation
|
|
|
|
|
2014-05-12 17:19:50 +04:00
|
|
|
## 0.0.1-beta2
|
|
|
|
|
2014-05-12 17:34:35 +04:00
|
|
|
* Key selection
|
2014-05-12 17:19:50 +04:00
|
|
|
* Colored output support
|
|
|
|
* Comments support
|
|
|
|
* Remove passwords support
|
|
|
|
|
2014-05-06 15:35:18 +04:00
|
|
|
## 0.0.1-beta1
|
|
|
|
|
|
|
|
* Show all enteries
|
|
|
|
* Username support
|
|
|
|
|
2014-05-06 11:57:48 +04:00
|
|
|
## 0.0.1-alpha
|
|
|
|
|
|
|
|
* Small fix in GPG.pm
|
|
|
|
* PM is working.
|
|
|
|
|
2014-05-05 23:43:34 +04:00
|
|
|
# TODO
|
|
|
|
|
2014-05-07 23:24:38 +04:00
|
|
|
* Import/Export with simple(only password) encryption
|
2014-05-06 12:18:44 +04:00
|
|
|
* Password lenght
|
2014-05-05 23:43:34 +04:00
|
|
|
* Store decrypted DB into RAM not in /tmp/
|