Make client_msg_thread() joinable.
[pwmd.git] / README
blob4732baccff78c989b82c4175024ed05500215735
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 AES256 data file encryption.
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.
13     * IPv4 and IPv6 encrypted connections via GnuTLS using certificate
14       authentication.
15     * Configuration file which supports file specific settings including:
16       encryption iterations, cache expiration and encryption key or key file
17       and more.
18     * Compressed data file support.
19     * Logging to file and/or syslog.
20     * Secure memory usage. PWMD will zero out memory before freeing it and
21       also has the option to lock the entire process in RAM to avoid swapping
22       the data to virtual memory.
24 I needed this because I use a few applications that require the same
25 credentials but hate having to update all those configuration files to reflect
26 any changes. This way, there is a central location for the needed data.
28 Requirements:
29 -------------
31     libpth2      - http://www.gnu.org/software/pth/pth.html
32                    Portable multi-threading library.
34     libassuan    - http://www.gnupg.org
35                    Protocol. Version 1.0.5 or later is required.
37     libgnutls    - http://www.gnu.org/software/gnutls
38                    Optional unless using --enable-tcp for remote host support.
39                    Version 2.6.2 is recommended but not required. This version
40                    fixes a security bug when verifying self-signed 
41                    certificates. Your distribution may have a backported
42                    version that includes a fix for this somewhat serious bug.
44     libgpg-error - http://www.gnupg.org
45                    Error handling.
47     glib2        - http://www.gtk.org
48                    Portability library among other things.
50     libxml2      - http://xmlsoft.org
51                    For XML parsing and data manipulation.
53     libgcrypt    - http://www.gnupg.org
54                    Encryption, decryption and hashing.
56     libz         - http://www.zlib.net
57                    For compressing the data file. Version 1.2.2.1 or later is
58                    required.
60     pinentry     - http://www.gnupg.org/aegypten
61                    There are various interfaces for password entry:
62                    console/curses, X11/GTK2, X11/QT. The X11 versions also
63                    support console/curses. Version 0.7.5 or later is required
64                    unless --disable-pinentry is passed to ./configure.
66     cracklib2    - http://sourceforge.net/projects/cracklib
67                    If --enable-quality is passed to ./configure then a
68                    password quality meter is used with pinentry. Optional.
70 Connecting:
71 -----------
72 There are a few commands that can connect to pwmd either locally or to a
73 remote pwmd:
75     socat GOPEN:$HOME/.pwmd/socket -
76     echo command | pwmc filename
77     socat OPENSSL:hostname:6466,cafile=ca-cert.pem,cert=client-cert.pem,\
78         key=client-key.pem -
79     gnutls-cli --x509certfile client-cert.pem --x509keyfile client-key.pem \
80         --x509cafile ca-cert.pem -p 6466 hostname
81     openssl s_client -connect hostname:6466 -cert client-cert.pem \
82         -key client-key.pem -CAfile ca-cert.pem
84 Libpwmd is a library making it easy for applications to use pwmd. There is
85 also a command line pwmd client "pwmc" included. You can find it at the pwmd
86 homepage.  There are also some patches already written (some could use
87 improvement) for a few apps too.
90 GIT Repository
91 --------------
92 There is a public GIT repository available at repo.or.cz. Anonymous checkouts
93 can be done by:
95     git clone git://repo.or.cz/pwmd.git
97 The gitweb interface can be viewed at http://repo.or.cz/w/pwmd.git.
100 Read COMMANDS for protocol commands and syntax. Feel free to send me any
101 patches, bug reports or feature requests.
103 Ben Kibbey <bjk@luxsci.net>
104 http://bjk.sourceforge.net/pwmd/