Make cache_timer_thread() joinable.
[pwmd.git] / README
blob63251217cd2dce847315b993f7b5fc713d282180
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     * Uses the GnuPG Agent for key caching and smartcard support.
9     * Local Unix Domain Socket connections which can safely be accessed
10       remotely over an SSH channel when using libpwmd(3).
11     * Configuration file which supports file specific settings including:
12       cache expiration and encryption key or key file and more.
13     * Logging to file and/or syslog.
14     * Secure memory usage. PWMD will zero out memory before freeing it and
15       also has the option to lock the entire process in RAM to avoid swapping
16       the data to virtual memory.
18 I needed this because I use a few applications that require the same
19 credentials but hate having to update all those configuration files to reflect
20 any changes. This way, there is a central location for the needed data.
22 Requirements:
23 -------------
24     C99 compiler - http://www.gnu.org/software/gcc
25                    Has been tested to work. Others should work fine, too.
27     libassuan    - ftp://ftp.gnupg.org/gcrypt/libassuan
28                    Protocol. Version 2.0.2 or later is required.
30     libgpg-error - http://www.gnupg.org
31                    Error handling. Required.
33     gpg-agent    - http://www.gnupg.org
34                    Keypair generation, decryption and caching. Version 2.1.0
35                    or later is required.
37     libxml2      - http://xmlsoft.org
38                    For XML parsing and data manipulation.
40     libgcrypt    - http://www.gnupg.org
41                    Encryption and hashing. Version 1.5.0 or later is required.
43     libz         - http://www.zlib.net
44                    For data file conversion. Version 1.2.2.1 or later is
45                    required.
47     libgnutls    - http://www.gnu.org/software/gnutls/
48                    For encrypted connections over a TCP network. Optional.
50     libacl       - ftp://acl.bestbits.at
51                    To retain an ACL for a data file. Optional.
54 Installation:
55 -------------
56 ./configure && make install
58 If the build succeeded run 'pwmd'. This will start the server and wait for
59 connections to ~/.pwmd/socket. Be sure gpg-agent is running. Passing
60 --allow-preset-passphrase to gpg-agent is recommended and
61 --allow-loopback-pinentry is required if using a keyfile.
64 Connecting:
65 -----------
66 Any program that can connect to a UNIX domain socket will work although using
67 pwmc, a client included with libpwmd is recommended:
69     echo command | pwmc filename
70     socat UNIX-CONNECT:$HOME/.pwmd/socket -
72 Libpwmd is a library making it easy for applications to use pwmd. There is
73 also a command line pwmd client "pwmc" included. You can find it at the pwmd
74 homepage.  There are also some patches already written (some could use
75 improvement) for a few apps too.
77 Read the pwmd.info documentation for protocol commands and syntax. 
80 GIT Repository
81 --------------
82 There is a public GIT repository available at repo.or.cz. Anonymous checkouts
83 can be done by:
85     git clone git://repo.or.cz/pwmd.git
87 The gitweb interface can be viewed at http://repo.or.cz/w/pwmd.git.
90 Please feel free to send me any patches, bug reports or feature requests.
92 Ben Kibbey <bjk@luxsci.net>
93 XMPP: bjk@jabber.org
94 http://pwmd.sourceforge.net/