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