Version 2.3.
[pwmd.git] / README
blobd99ee116bbe30aba46a4610eb890fb2e6d249949
1 Password Manager Daemon is a server that provides a way for applications to
2 securely store and retrieve data at a centralized location. The data is stored
3 in an XML file and clients connect and send commands to manipulate the data.
4 Some of the features include:
6     * Multi-threaded. More than one client may access the data at the same
7       time.
8     * Optional data file encryption with a configurable cipher.
9     * A key cache so clients won't need to enter a key each time a file is
10       opened or saved.
11     * Key retrieval via pinentry(1).
12     * Local Unix Domain Socket connections which can safely be accessed
13       remotely over an SSH channel when using libpwmd(3).
14     * Configuration file which supports file specific settings including:
15       encryption iterations, cache expiration and encryption key or key file
16       and more.
17     * Compressed data file support.
18     * Logging to file and/or syslog.
19     * Secure memory usage. PWMD will zero out memory before freeing it and
20       also has the option to lock the entire process in RAM to avoid swapping
21       the data to virtual memory.
23 I needed this because I use a few applications that require the same
24 credentials but hate having to update all those configuration files to reflect
25 any changes. This way, there is a central location for the needed data.
27 Requirements:
28 -------------
29     C99 compiler - http://www.gnu.org/software/gcc
30                    Is a good choice.
32     libassuan    - ftp://ftp.gnupg.org/gcrypt/libassuan
33                    Protocol. Version 2.0.0 or later is required.
35     libpth2      - http://www.gnu.org/software/pth/pth.html
36                    Portable multi-threading library.
38     libgpg-error - http://www.gnupg.org
39                    Error handling.
41     glib2        - http://www.gtk.org
42                    Portability library among other things.
44     libxml2      - http://xmlsoft.org
45                    For XML parsing and data manipulation.
47     libgcrypt    - http://www.gnupg.org
48                    Encryption, decryption and hashing.
50     libz         - http://www.zlib.net
51                    For compressing the data file. Version 1.2.2.1 or later is
52                    required.
54     pinentry     - http://www.gnupg.org/aegypten
55                    There are various interfaces for password entry:
56                    console/curses, X11/GTK2, X11/QT. The X11 versions also
57                    support console/curses. Version 0.7.5 or later is required
58                    unless --disable-pinentry is passed to ./configure.
60     cracklib2    - http://sourceforge.net/projects/cracklib
61                    If --enable-quality is passed to ./configure then a
62                    password quality meter is used with pinentry. Optional.
64     libacl       - ftp://acl.bestbits.at
65                    To retain an ACL for a data file. Optional.
68 Connecting:
69 -----------
70 Any program that can connect to a UNIX domain socket will work:
72     socat UNIX-CONNECT:$HOME/.pwmd/socket -
73     echo command | pwmc filename
75 Libpwmd is a library making it easy for applications to use pwmd. There is
76 also a command line pwmd client "pwmc" included. You can find it at the pwmd
77 homepage.  There are also some patches already written (some could use
78 improvement) for a few apps too.
80 Read COMMANDS for protocol commands and syntax. 
83 GIT Repository
84 --------------
85 There is a public GIT repository available at repo.or.cz. Anonymous checkouts
86 can be done by:
88     git clone git://repo.or.cz/pwmd.git
90 The gitweb interface can be viewed at http://repo.or.cz/w/pwmd.git.
93 Please feel free to send me any patches, bug reports or feature requests.
95 Ben Kibbey <bjk@luxsci.net>
96 http://bjk.sourceforge.net/pwmd/