Fix TLS socket timeouts and rename parameters.
[libpwmd.git] / NEWS
blob51b74fb90211a3832f2c83e435844068d5714841
1 libPWMD v6.0.5
2 --------------
3 Fixed a couple of bugs relating to pwmc and the inquire help header getting
4 printed. I'm not sure how I missed these. Hrm.
7 libPWMD v6.0.4
8 --------------
9 The homepage for libpwmd has changed to http://libpwmd.sourceforge.net/. I've
10 also create two mailing lists for libpwmd: libpwmd-users@lists.sourceforge.net
11 and libpwmd-devel@lists.sourceforge.net. Visit the SourceForge project page at
12 http://sourceforge.net/projects/libpwmd/ to subscribe!
14 A few bug and portability fixes. Thanks Matthias Andree!
16 pwmc: fixes for interactive mode.
18 pwmc: pressing CTRL-D in interactive mode will prompt for actions rather than
19 exiting.
21 pwmc: always save with the specified keyfile.
23 Added pwmd_features() to the API. This returns a bitmask of compiled in
24 features at runtime.
26 Added doc/tutorial.html.
28 Added PWMD_OPTION_NO_PINENTRY to disable the use of a pinentry entirely: both
29 pwmd's and libpwmd's pinentry.
31 pwmc: use the current terminals standard input to prompt for input when the
32 new --no-pinentry command line option is specified. Note: will not work when
33 stdin is not from a terminal (e.g., a pipe).
35 pwmc: changed --use-agent to --no-ssh-agent. ssh agent support is enabled by
36 default when the SSH_AGENT_PID environment variable is set.
39 libPWMD v6.0.3
40 --------------
41 It's been a while since the last release. Lots of new features and changes
42 have been made. libssh2 version 1.2.7 or later is now required do to the new
43 known hosts functionality and bugfixes. Please remove your old known hosts
44 file and replace it with an OpenSSH formatted known host file or just
45 reconnect to have it updated for you.  This version also includes an
46 interactive pwmc by passing the --interactive command line option and also
47 supports retrieving the SSH private key from a running SSH agent. Read
48 libpwmd(3) and pwmc(1) for details. pwmd 2.18 or later is also required.
50 Fixed specifying an IP address as a hostname.
52 Fixed an important bug when storing data over an SSH connection which lead to
53 data corruption.
55 Added pwmd_open_inquire() and pwmd_save_inquire().
57 Returning GPG_ERR_CANCELED from an inquire callback function will cancel the
58 inquire.
60 Added PWMD_OPTION_INQUIRE_TOTAL, PWMD_OPTION_LOCK_ON_OPEN,
61 PWMD_OPTION_CIPHER, PWMD_OPTION_ITERATIONS, PWMD_OPTION_BASE64 and
62 PWMD_OPTION_SSH_AGENT.
64 Added pwmd_version(), LIBPWMD_VERSION_MAJOR, LIBPWMD_VERSION_MINOR,
65 LIBPWMD_VERSION_PATCH and LIBPWMD_VERSION_STR.
67 Added pwmc command line options --cipher, --no-lock, --base64, --key-file,
68 --inquire, --inquire-line, --interactive and --use-agent.
70 You can now resume an SSH connection previously created with
71 pwmd_get_hostkey() by using one of the SSH connection functions.
73 The known_hosts parameter to the SSH connection functions is no longer
74 required. A default of ~/.ssh/known_hosts will be used.
77 libPWMD v6.0.2
78 --------------
79 pwmd_ssh_connect_async() now does non-blocking SSH negotiation.
81 Fixed a segfault when resetting pinentry options to NULL via pwmd_setopt().
83 Added PWMD_PINENTRY_CONFIRM. This will show a pinentry confirmation dialog
84 box. The text shown is set with PWMD_OPTION_PINENTRY_TITLE.
86 Added file:// which acts like local://.
89 libPWMD v6.0.1
90 --------------
91 Fixed a bug in pwmd_socket_type() that would return GPG_ERR_INV_STATE when a
92 local socket was connected.
95 libPWMD v6.0.0
96 --------------
97 This version breaks API compatibility with previous versions (hence the major
98 version bump) so be sure to adjust your patches. There are quite a few new
99 features and changes in this release; the main one being remote socket support
100 by using libssh2 to connect to an SSH server (see README.SSH for details) and
101 how pwmd_process() works. Here are the API changes:
102         
103         Removed: pwmd_open_nb(), pwmd_save_nb(), pwmd_open_nb_finalize(),
104         pwmd_save_nb_finalize(), pwmd_terminate_pinentry(), pwmd_assuan_ctx(),
105         pwmd_free_result()
107         Added: pwmd_new(), pwmd_get_fds(), pwmd_free(), pwmd_malloc(),
108         pwmd_realloc(), pwmd_calloc(), pwmd_strdup(),
109         pwmd_strdup_printf(),pwmd_open_async2(), pwmd_save_async2(),
110         pwmd_ssh_connect(), pwmd_ssh_connect_async(), pwmd_get_hostkey(),
111         pwmd_get_hostkey_async(), pwmd_strerror_r(), pwmd_open2(),
112         pwmd_save2(), pwmd_connect_url(), pwmd_connect_url_async(),
113         pwmd_socket_type(), pwmd_disconnect(), pwmd_getpin()
115         Options removed: PWMD_OPTION_PINENTRY
116         Options added: PWMD_OPTION_IP_VERSION
118 There were a couple of functions that were needed in libassuan to get remote
119 SSH connections working, so it's no longer a requirement since it's included
120 in the archive.
122 See the new manual page libpwmd(3), which is now generated from libpwmd.h with
123 doxygen, for all the details. The pwmc options have also changed to use
124 getopt_long() so be sure to read pwmc(1) also.