/PM

Simple password manager writen in perl

Primary LanguagePerlGNU General Public License v3.0GPL-3.0

PM

Simple password manager writen in perl.

INSTALL

Perl modules

cpan install Module::Name

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

On Arch-based systems:

yaourt -S perl-dbd-sqlite perl-clipboard

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
    default-key key_email@example.com
    :wq

You can use not default key:

# Create file with key email
cat > ~/.PM/.key << EOF
key_email@example.com
EOF

First run:

    $ ./pm.pl
    Creating configuration dirrectory...
    Creating database...
    Creating database schema...
    Encrypt database...
    Done!

Show help screen:

    $ ./pm.pl -h

Changelog

0.0.5

MacOS support

0.0.4

  • Table beautiful view
  • Show username

0.0.3

  • DB import
  • Password length
  • /dev/shm for DB decrypt

0.0.2

  • Groups support
  • More entropy in password generation

0.0.1-beta2

  • Key selection
  • Colored output support
  • Comments support
  • Remove passwords support

0.0.1-beta1

  • Show all enteries
  • Username support

0.0.1-alpha

  • Small fix in GPG.pm
  • PM is working.

TODO

  • Store decrypted DB into RAM not in /tmp/