Updated texinfo documentation.
[pwmd.git] / README
blob7c2bbcc5086e4c601a11d18a44ba5fbe1908110b
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.
33     gpg-agent    - http://www.gnupg.org
34                    Keypair generation, decryption and caching. Version 2.1.0
35                    or later is required.
37     glib2        - http://www.gtk.org
38                    Portability library among other things. Version 2.16.0 or
39                    later is required.
41     libxml2      - http://xmlsoft.org
42                    For XML parsing and data manipulation.
44     libgcrypt    - http://www.gnupg.org
45                    Encryption and hashing. Version 1.5.0 or later is required.
47     libz         - http://www.zlib.net
48                    For data file conversion. Version 1.2.2.1 or later is
49                    required.
51     libacl       - ftp://acl.bestbits.at
52                    To retain an ACL for a data file. Optional.
55 Installation:
56 -------------
57 ./configure && make install
59 If the build succeeded run 'pwmd'. This will start the server and wait for
60 connections to ~/.pwmd/socket. Be sure gpg-agent is running. Passing
61 --allow-preset-passphrase to gpg-agent is recommended.
64 Connecting:
65 -----------
66 Any program that can connect to a UNIX domain socket will work:
68     socat UNIX-CONNECT:$HOME/.pwmd/socket -
69     echo command | pwmc filename
71 Libpwmd is a library making it easy for applications to use pwmd. There is
72 also a command line pwmd client "pwmc" included. You can find it at the pwmd
73 homepage.  There are also some patches already written (some could use
74 improvement) for a few apps too.
76 Read the pwmd.info documentation for protocol commands and syntax. 
79 GIT Repository
80 --------------
81 There is a public GIT repository available at repo.or.cz. Anonymous checkouts
82 can be done by:
84     git clone git://repo.or.cz/pwmd.git
86 The gitweb interface can be viewed at http://repo.or.cz/w/pwmd.git.
89 Please feel free to send me any patches, bug reports or feature requests.
91 Ben Kibbey <bjk@luxsci.net>
92 Jabber: bjk@jabber.org
93 http://pwmd.sourceforge.net/