Updates.
[pwmd.git] / NEWS
blob7bbc9be9c4572427aa2401063fe0536bb63005cd
1 PWMD v0.6
2 ---------
3 Fix for the LIST command. When an element path was specified and the document
4 had following elements in the tree the following elements would be shown.
6 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
7 seconds. This adds a new configuration file setting "cache_timeout".
9 Added per-file settings in the configuration file. A file section is declared
10 by placing the filename in braces. Only the "iterations" and "cache_timeout"
11 settings are used in a file section.
14 PWMD v0.5
15 ---------
16 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
18 Write a structure to the data file which specifies the iterations and IV. This
19 lets you open a file that had a different iteration setting than the current
20 setting. Breaks file compatibility with previous versions for hopefully the
21 last time.
23 cache_push with an invalid password bugfix.
25 Added command line option -I to import an XML file and write the encrypted
26 data to stdout.
29 PWMD v0.4
30 ---------
31 Use AES-256-CBC to store the data file. This breaks file compatibility with
32 older versions. Sorry.
34 The ATTR protocol command has a new GET sub-command to get an attribute value
35 for an element path.
37 The LIST protocol command can now take an element path.
39 The DUMP command will format it's output.
41 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
42 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
43 supports this.
45 Fixed closing file descriptors.
47 Fixed some memory leaks.
49 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
50 before free()ing.
52 Added an "iterations" configuration parameter. This specifies the amount of
53 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
54 aespipe.
57 PWMD v0.3
58 ---------
59 The SETATTR protocol command has been renamed to ATTR. This new command
60 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
61 attribute, DELETE to delete an attribute and LIST to list attributes of an
62 element path. Read PROTOCOL for details.
64 Added the TARGET attribute. If an element has this attribute set, it's value
65 is another element path. It's recursive too so the destination element path
66 can be an element with a TARGET attribute. Be careful of loops though.
68 Added the DUMP protocol command. It shows the in-memory document. Useful for
69 cleaning up empty elements that aren't shown with any command.
71 The "name" attribute can be used in any element but cannot be removed for the
72 root "account" element.
74 More strict element name validation for new elements.
76 Code reorganization. Protocol commands have been put in src/commands.c.
78 The LIST command won't show element values anymore unless DEBUG was defined at
79 compile time. You must use the GET command to get a value.
81 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
82 Plain text is where it's at.
84 The STORE command wont base64 encode the value. We'll leave it up to the
85 client. But it's still recommended to avoid parsing errors.
87 All of the command line options have been moved into a configuration file. By
88 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
89 alternate file. If the file doesn't exist, then some defaults will be used.
90 There is one new config option though; "cache_push" will take a list of
91 filenames as an argument. This will prompt for passwords upon startup and add
92 the file to the cache. It's a (temporary?) fix for background processes that
93 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
94 the other process needs is added to the cache.
97 PWMD v0.2
98 ---------
99 There is a library included in the archive to make interfacing the pwmd alot
100 easier. See libpwmd/README for more information.
102 A (temporary) fix for 100% CPU usage after a client connects.
104 GnuPG is no longer used for data encryption. Instead, libgcrypt will
105 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
106 need the base64 encoded key.
108 Renamed host to hostname and added sslfingerprint to the DTD.
110 Added command line option -s to specify the socket path.
112 Added command line option -d to specify where pwmd will open and save the data
113 files.
115 Renamed protocol command SET to SETATTR.
117 Added shared memory file caching. If a file is found in the cache then the
118 cached password associated with the file will be used with the OPEN command.
119 With SAVE, if there is no cached password a key is required, else the cached
120 password will be used unless there is a key argument. This also adds a new
121 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
122 Sending the SIGHUP signal to pwmd will clear the file cache.
124 Added command line option -M to disable calling mlockall(). mlock() will still
125 be used for the file cache reguardless of this option.
127 Added command line option -C to specify the file cache size. The cache size
128 must be in multiples of PAGE_SIZE.
130 Added command line option -l to enable logging to the specified file.
132 If there is a protocol command error, ERR is returned along with a protocol
133 error code and description. See src/pwmd_error.h for error codes.
135 Fix for the DELETE command and deleting an entire element tree when an invalid
136 element was in the element path.
138 Fix for the GET command and finding elements of the same name in other
139 accounts.
141 Added a manual page.
144 PWMD v0.1
145 ---------
146 Initial release.