When trying to save when exiting interactive mode, loop over the save
[libpwmd.git] / NEWS
blob0092a451de27cdb3c636d61b4d2bba8c0381e931
1 libPWMD v6.0.3
2 --------------
3 It's been a while since the last release. Lots of new features and changes
4 have been made. libssh2 version 1.2.7 or later is now required do to the new
5 known hosts functionality and bugfixes. Please remove your old known hosts
6 file and replace it with an OpenSSH formatted known host file or just
7 reconnect to have it updated for you.  This version also includes an
8 interactive pwmc by passing the --interactive command line option and also
9 supports retrieving the SSH private key from a running SSH agent. Read
10 libpwmd(3) and pwmc(1) for details. pwmd 2.18 or later is also required.
12 Fixed specifying an IP address as a hostname.
14 Fixed an important bug when storing data over an SSH connection which lead to
15 data corruption.
17 Added pwmd_open_inquire() and pwmd_save_inquire().
19 Returning GPG_ERR_CANCELED from an inquire callback function will cancel the
20 inquire.
22 Added PWMD_OPTION_INQUIRE_TOTAL, PWMD_OPTION_LOCK_ON_OPEN,
23 PWMD_OPTION_CIPHER, PWMD_OPTION_ITERATIONS, PWMD_OPTION_BASE64 and
24 PWMD_OPTION_SSH_AGENT.
26 Added pwmd_version(), LIBPWMD_VERSION_MAJOR, LIBPWMD_VERSION_MINOR,
27 LIBPWMD_VERSION_PATCH and LIBPWMD_VERSION_STR.
29 Added pwmc command line options --cipher, --no-lock, --base64, --key-file,
30 --inquire, --inquire-line, --interactive and --use-agent.
32 You can now resume an SSH connection previously created with
33 pwmd_get_hostkey() by using one of the SSH connection functions.
35 The known_hosts parameter to the SSH connection functions is no longer
36 required. A default of ~/.ssh/known_hosts will be used.
39 libPWMD v6.0.2
40 --------------
41 pwmd_ssh_connect_async() now does non-blocking SSH negotiation.
43 Fixed a segfault when resetting pinentry options to NULL via pwmd_setopt().
45 Added PWMD_PINENTRY_CONFIRM. This will show a pinentry confirmation dialog
46 box. The text shown is set with PWMD_OPTION_PINENTRY_TITLE.
48 Added file:// which acts like local://.
51 libPWMD v6.0.1
52 --------------
53 Fixed a bug in pwmd_socket_type() that would return GPG_ERR_INV_STATE when a
54 local socket was connected.
57 libPWMD v6.0.0
58 --------------
59 This version breaks API compatibility with previous versions (hence the major
60 version bump) so be sure to adjust your patches. There are quite a few new
61 features and changes in this release; the main one being remote socket support
62 by using libssh2 to connect to an SSH server (see README.SSH for details) and
63 how pwmd_process() works. Here are the API changes:
64         
65         Removed: pwmd_open_nb(), pwmd_save_nb(), pwmd_open_nb_finalize(),
66         pwmd_save_nb_finalize(), pwmd_terminate_pinentry(), pwmd_assuan_ctx(),
67         pwmd_free_result()
69         Added: pwmd_new(), pwmd_get_fds(), pwmd_free(), pwmd_malloc(),
70         pwmd_realloc(), pwmd_calloc(), pwmd_strdup(),
71         pwmd_strdup_printf(),pwmd_open_async2(), pwmd_save_async2(),
72         pwmd_ssh_connect(), pwmd_ssh_connect_async(), pwmd_get_hostkey(),
73         pwmd_get_hostkey_async(), pwmd_strerror_r(), pwmd_open2(),
74         pwmd_save2(), pwmd_connect_url(), pwmd_connect_url_async(),
75         pwmd_socket_type(), pwmd_disconnect(), pwmd_getpin()
77         Options removed: PWMD_OPTION_PINENTRY
78         Options added: PWMD_OPTION_IP_VERSION
80 There were a couple of functions that were needed in libassuan to get remote
81 SSH connections working, so it's no longer a requirement since it's included
82 in the archive.
84 See the new manual page libpwmd(3), which is now generated from libpwmd.h with
85 doxygen, for all the details. The pwmc options have also changed to use
86 getopt_long() so be sure to read pwmc(1) also.