Added PWMD_ATTR_GET.
[pwmd.git] / NEWS
blobda8f1e774e9e30d01f080f887524c3911dd71859
1 PWMD v0.3
2 ---------
3 The SETATTR protocol command has been renamed to ATTR. This new command
4 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
5 attribute, DELETE to delete an attribute and LIST to list attributes of an
6 element path. Read PROTOCOL for details.
8 Added the TARGET attribute. If an element has this attribute set, it's value
9 is another element path. It's recursive too so the destination element path
10 can be an element with a TARGET attribute. Be careful of loops though.
12 Added the DUMP protocol command. It shows the in-memory document. Useful for
13 cleaning up empty elements that aren't shown with any command.
15 The "name" attribute can be used in any element but cannot be removed for the
16 root "account" element.
18 More strict element name validation for new elements.
20 Code reorganization. Protocol commands have been put in src/commands.c.
22 The LIST command won't show element values anymore unless DEBUG was defined at
23 compile time. You must use the GET command to get a value.
25 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
26 Plain text is where it's at.
28 The STORE command wont base64 encode the value. We'll leave it up to the
29 client. But it's still recommended to avoid parsing errors.
31 All of the command line options have been moved into a configuration file. By
32 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
33 alternate file. If the file doesn't exist, then some defaults will be used.
34 There is one new config option though; "cache_push" will take a list of
35 filenames as an argument. This will prompt for passwords upon startup and add
36 the file to the cache. It's a (temporary?) fix for background processes that
37 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
38 the other process needs is added to the cache.
41 PWMD v0.2
42 ---------
43 There is a library included in the archive to make interfacing the pwmd alot
44 easier. See libpwmd/README for more information.
46 A (temporary) fix for 100% CPU usage after a client connects.
48 GnuPG is no longer used for data encryption. Instead, libgcrypt will
49 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
50 need the base64 encoded key.
52 Renamed host to hostname and added sslfingerprint to the DTD.
54 Added command line option -s to specify the socket path.
56 Added command line option -d to specify where pwmd will open and save the data
57 files.
59 Renamed protocol command SET to SETATTR.
61 Added shared memory file caching. If a file is found in the cache then the
62 cached password associated with the file will be used with the OPEN command.
63 With SAVE, if there is no cached password a key is required, else the cached
64 password will be used unless there is a key argument. This also adds a new
65 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
66 Sending the SIGHUP signal to pwmd will clear the file cache.
68 Added command line option -M to disable calling mlockall(). mlock() will still
69 be used for the file cache reguardless of this option.
71 Added command line option -C to specify the file cache size. The cache size
72 must be in multiples of PAGE_SIZE.
74 Added command line option -l to enable logging to the specified file.
76 If there is a protocol command error, ERR is returned along with a protocol
77 error code and description. See src/pwmd_error.h for error codes.
79 Fix for the DELETE command and deleting an entire element tree when an invalid
80 element was in the element path.
82 Fix for the GET command and finding elements of the same name in other
83 accounts.
85 Added a manual page.
88 PWMD v0.1
89 ---------
90 Initial release.