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