commit 5deeb2d29f643b896c1660046c8cafef0384666f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 25 20:34:25 2009 -0500

    Version 5.0.9.

commit e97becd90901ab4eb48988385837e6b183840d37
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 25 19:45:14 2009 -0500

    Re-add pwmd.1.in to Makefile.am.

commit 5212c0fbce2f203cceccafd5604fc5c3f834d6ef
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 25 19:37:24 2009 -0500

    Use "git log" not "git-log" for the 'changelog' Makefile target.

commit 4841e2511d88fd56d0a662f01e7ac18d753ea4f5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 25 19:35:40 2009 -0500

    Compile-time fix for FreeBSD when trying to link with libintl.

commit 14c2472766eba3298ed3595406694762969c4e04
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 25 19:13:24 2009 -0500

    Compile-time fix for --disable-nls.

commit c561263ab83ece239a71c92aa053c6d178cd89b9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 21:03:39 2009 -0500

    Updated pwmc.c to use pwmd_setopt().

commit 683879f27e5c8cfbf7a5022bb06fd993e98d2a13
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 20:54:28 2009 -0500

    Added PWMD_OPTION_PINENTRY_TIMEOUT. Only useful when pwmd is used as the
    passphrase retrieval method.

commit b9d5d6e101e897319ce71f92baa427809254e081
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 20:42:23 2009 -0500

    Let pwmd_setopt() set pwmd options directly when PWMD_OPTION_PINENTRY is
    unset. It's less confusing for the client programmer although letting
    the client send the OPTION via pwmd_command() will still work. It's
    better this way though since the internal structures are updated in case
    the local pinentry is used as a fallback is the remote pwmd pinentry
    fails for some reason.

commit a0057a8014950b49e71f8b07f0e882f94692cd79
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 20:17:45 2009 -0500

    Added pwmc command line options -C and -M to set LC_CTYPE and
    LC_MESSAGES in the pinentry process. Requires pwmd 1.18 (not yet
    released).

commit 277b0c36c173c727ad49f154a661a51051a3e259
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 19:42:15 2009 -0500

    Added PWMD_OPTION_PINENTRY_LC_CTYPE and
    PWMD_OPTION_PINENTRY_LC_MESSAGES.

commit 9af153576d336d5be0f7c886d45b550df26b5ff6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 18:50:05 2009 -0500

    In do_pwmd_save(), check for the user supplied password function first
    before pinentry like do_pwmd_open() does.
    
    Also fixed freeing the user defined password (update to commit dbb11e9).

commit 708dca91f177a6557dd408e7a561b560c654a0b7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 18:41:46 2009 -0500

    Reset pwm->pid in pwmd_terminate_pinentry().

commit 39be7109dae72f92db1ea0bb9cff3ac2b8de7ab5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 24 18:31:48 2009 -0500

    Make sure pwmd_command_ap() has a handle and command.

commit 9873bc90d0223bf94f238c2d08b3d0eef1d9cd19
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 22:16:15 2009 -0500

    Compile time fix for -DMEM_DEBUG.
    
    Don't link with mem.o when MEM_DEBUG is defined.

commit dbb11e93dbb0ed2ed59ee704842d2c3e2f1224d2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 21:54:58 2009 -0500

    Don't try to xfree the password returned by a user set password
    function.

commit 6bdf87dcc256ae6968ac5a3b825d78cb3f4cc41c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 21:50:25 2009 -0500

    Compile-time fix for --disable-pinentry.

commit e5586b572cb3c1aa6bdc43deae6320d2be62a375
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 21:50:05 2009 -0500

    Updated the copyright header.

commit 59cf9795d8702cea4f1f6514af2553b682db9305
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 21:31:32 2009 -0500

    Added warn_unused_result attribute to pwmd_command_ap().

commit 637314f78ece58e4db682d6ae153bbfafa2e9ea1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 21:29:30 2009 -0500

    Fixed mem.c to use a mutex when accessing the memory list. This fixes a
    potential segfault when more than one pwm_t handle is used.

commit 4d27ac5b796e02bf62fd9c9647f22f78298d4b9e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 23 20:31:26 2009 -0500

    Added pwmd_command_ap(). This makes pwmd_command() a wrapper around this
    new function.

commit 114b6e3a3c60f3dfec538877b95232e1d8cc8756
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 22 13:45:01 2008 -0500

    Fix for pwmd_assuan_ctx(). Don't declare assuan_context_t. Make the ctx
    parameter void*.

commit 65c7837e34bd8fd55ec8788b1d351542bc6fd768
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Oct 31 19:42:51 2008 -0400

    Use "passphrase" instead of "password" in visable strings.

commit 4aa3f3be56ad2a3cdab5262de1662d26d0874a21
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 28 18:02:46 2008 -0400

    Version 5.0.8.

commit 5ac4c954255e5d42da2a7cfc4a2fd64dd5492854
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 28 15:21:29 2008 -0400

    More dynamic version number handling. Makes it easier for me when
    releasing a new version.

commit ab4f763d2beb53cb26a2157c1a97f7b630062d1c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 28 14:01:20 2008 -0400

    pwmd_init() now returns immediately if called more than once.

commit 54983ced5ece35975b6ca8cb6a8ec77ecc7e0c29
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 28 08:17:05 2008 -0400

    Added libpwmd-pth.pc pkg-config data file.

commit c9fc557e3c990a50674676ed56280297a91bfee5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 28 07:47:09 2008 -0400

    Set the error code to 0 when returning a file descriptor from
    pwmd_open_nb() and pwmd_save_nb().

commit e0932f19c081ab08ed49d7cb7162749d5171e44a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Sep 27 23:06:59 2008 -0400

    Forgot to include pth.h. Fixed.

commit d8cf23244a42384f4197c5bebba78643e2725ffc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Sep 27 22:33:55 2008 -0400

    Added libpth support. It's built by default but can be disabled with
    --with-pth=no. When linking your app that uses both libpth and
    libpwmd, specify -lpwmd-pth in your linker options rather than -lpwmd.

commit 2baa85b9b8d9156e082d69b21ab97af985f332a7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Sep 27 21:29:14 2008 -0400

    pwmd_open_nb(), pwmd_save_nb(), pwmd_open_nb_finalize() and
    pwmd_save_nb_finalize() are no longer flagged as deprecated. These
    functions may still be useful for clients that connect to a pwmd that
    cannot display a pinentry (future GnuTLS support).

commit 6948052274db00a2e2acae87bf3e84aba7fa4eac
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Sep 1 14:49:28 2008 -0400

    Fixed showing the wrong function when an error occurred in pwmc.

commit 317c6f26f7b1f684bc377bbb84c09cfc4b93363d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Aug 17 17:54:43 2008 -0400

    Version 5.0.7.

commit 79f974492c282d8e0450709d22a71063553c01f2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 20 20:36:17 2008 -0400

    Fix for the previous commit. Don't attempt to send the "OPTION TITLE"
    command when pwmd_open_nb() was called.

commit bf03e2b097af1d12de92c3ab0fd48e95ca9a80eb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 20 20:19:49 2008 -0400

    Fixed setting the pinentry title string when an invalid password was
    entered.

commit d67acd82882772f7d0ca2e4f59bb4a07155750b2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 13 10:58:39 2008 -0400

    Added a note about the new GIT repository. Thanks repo.or.cz!

commit 2517f9367bdf756811c71cbb1f021c95ae3a88a6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 11 14:09:13 2008 -0400

    g++ compile time fix

commit 0605adcfd26ac95f541c0533c1c51d525e9d7a82
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 5 17:40:11 2008 -0400

    Version 5.0.6.

commit b85a9d90d689666ba9abfecee4a2b67eb5f01d9b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jun 30 20:34:55 2008 -0400

    pwmd_open_async() now honors PWMD_OPTION_PINENTRY_TRIES.

commit aa15796b5e3dcb0f4697969e24b9787ea1679dc4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jun 25 18:42:49 2008 -0400

    Updated the FSF address in the copyright header.

commit 9882ccad5c4c51670ade9bd791641b436dca5747
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 21 12:05:27 2008 -0400

    Updated manual pages.

commit 61c71b9957b31351922aca04f5422f8b10b84c02
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 21 12:01:51 2008 -0400

    Removed debugging define statement.

commit 3dd54922c95836e7f787ac33c77e082762a9ec5d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 21 11:58:29 2008 -0400

    Added command line option -t to specify the pinentry timeout.
    
    Fixed sending the LOCK and UNLOCK commands when no file was specified.

commit 1ff20cbb8f19a139340ee67c20762ee49899f11b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 21 11:57:22 2008 -0400

    Require pinentry v0.7.5 which uses libgpg-error codes (pwmd_open_nb).
    
    pwmd_open() no longer forks a pinentry process but has pwmd use its
    pinentry method. This makes pwmd v1.11 a requirement.

commit bdb39fcd0b1f78513d8aaae15d95c5603bba7822
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 21 10:51:41 2008 -0400

    Added a note that PWMD_OPTION_PINENTRY should not be set when using
    pwmd_open_async() and pwmd_save_async().

commit 2c7644725137c08c1375bf8df8ddc8dc271f3f21
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jun 15 08:32:32 2008 -0400

    In pwmc, LOCK the opened data file.

commit b0e62cb20493507ddd9adf27aa64e6259b456050
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 6 12:52:49 2008 -0400

    Version 5.0.5.

commit 8796b8736a7221d502721a18b193798f7e7940db
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 20 19:16:28 2008 -0400

    Don't check if the file is cached in pwmd_open_nb_finalize(). The
    server settings may require a password for the next OPEN or SAVE
    command.
    
    A couple of cleanups.

commit a1164af46f49423d47009976d6fe2893714cb8ce
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 20 18:41:12 2008 -0400

    Don't iterate through the memlist twice when calling xfree().

commit f6e95cd2e927c19c91422357a562ae466440d483
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 9 20:34:35 2008 -0400

    In pwmd_process(), make sure all pending data is read from the socket
    before returning by looping assuan_pending_line(). This fixes clients
    hanging on commands that might have the command result buffered.

commit d4d2da79a79f2679f871a794996f2975e9f28708
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 8 11:39:10 2008 -0500

    Version 5.0.4.

commit 5241bc4a4eec29c50337ec71926c666a9f582582
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 3 19:27:01 2008 -0500

    Added pwmc command line option -i to specify the number of iterations
    when saving (-S). This requires version 1.9 of pwmd.

commit fbf34f56fe2f2cd0a6004da11f0778031a0af925
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 1 11:56:55 2008 -0500

    Version 5.0.3.

commit f8302aed6f752fe3e20285d460ccea026d4ae98b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Feb 28 19:31:08 2008 -0500

    Call assuan_pending_line() even if the socket was ready for a read in
    pwmd_process().

commit c6c24163bc454ab7507ba4bc7ace0a64dc369f8e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 27 22:31:35 2008 -0500

    Fixed pwmc g++ compile warning.

commit 3d9051cb4bd224f2f25443f3ef5b1ee8ac176623
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 27 21:51:00 2008 -0500

    Don't loop assuan_read_line() after parsing a status message in
    pwmd_process() and call assuan_pending_line() when select() times out.
    Fixes status messages when using the asynchronous functions.

commit c8df93cc52988bd11a13cdd62fe164a6f7304715
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 27 21:35:32 2008 -0500

    Set the socket FD to blocking when doing an INQUIRE.
    assuan_transact(), specifically assuan_send_data() ->
    _assuan_simple_write(), might return GPG_ERR_EAGAIN. This will be
    fixed when either libassuan or libpwmd supports an asynchronous
    INQUIRE.

commit dc9fddcb86754a71149d3eb8892a5da704a2cadd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 26 22:34:08 2008 -0500

    Added pwmd_pending_line(). This is a wrapper around
    assuan_pending_line() and assuan_read_line().

commit 34baf0ada2ed697f70aeba401d423a818c8383fa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 26 20:58:20 2008 -0500

    Don't return an error when access(2) fails in do_pwmd_open() when
    checking if this is a new file; even if it's not ENOENT.

commit 73f1c8d5f62b808ae86709361568349eeb8d4e70
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Feb 26 20:52:19 2008 -0500

    Removed pwmd_socket_fd(). Set both the assuan context and socket FD
    with pwmd_assuan_ctx().

commit 9f7596f22e334a99ec6a5a824249fa2b6f71e884
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Feb 20 22:31:44 2008 -0500

    Added pwmd_assuan_ctx() which returns the assuan context associated
    with the specified pwm handle. This is useful for clients that need to
    do IO with assuan directly. This is just another reason to let the
    pwm_t be public again. Maybe later...

commit b3a141c0f8e42449831ee8dc1da9d46a59efad00
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Feb 18 20:16:53 2008 -0500

    Added pwmd_socket_fd(). This will let applications use the file
    descriptor associated with the pwmd socket directly. Might be worth
    making pwm_t not-anonymous like it was in earlier versions (?).

commit f96b1e15d326251f2da8408e3289340e85b07fac
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jan 27 10:39:21 2008 -0500

    Version 5.0.2.

commit c5dbd6389edfe81283fb804297d8e7e6f3e7e40a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jan 27 10:18:20 2008 -0500

    Don't make pwmd_nb_status_t deprecated. Fixes g++ compilation.
    
    Another g++ fix.

commit 1acda65187127ca0c72916349d87de94254e3018
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jan 27 08:34:32 2008 -0500

    Updated manual page.

commit a6f1430770295d0e54651c247dd5f5a46d4d472e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jan 27 08:33:12 2008 -0500

    Make sure there is a valid handle in pwmd_finalize().

commit 36e1ac87fe5a780f5e22a32cfa32cb56f75cb18f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 22 19:07:38 2008 -0500

    Make pwmd_open_nb(), pwmd_save_nb(), pwmd_open_nb_finalize(),
    pwmd_save_nb_finalize() and pwmd_nb_state_t deprecated.

commit 9b5a30ca3e9661514a016de9b7cad1d26bad623d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jan 21 19:36:25 2008 -0500

    Added pwmc command line option -M to specified a timeout when pinentry
    method 3 is used.

commit 28a3f4d7b2a7ea919d7fc3e89b487d873a451701
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jan 21 19:23:22 2008 -0500

    Don't use asprintf() for portability.

commit b638f37bf38adce828509c1af990b8afcd55daa1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jan 21 19:16:10 2008 -0500

    Make do_nb_command() static.

commit dfb2df4c9267e55254ea0eebdbd692b980fc115c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jan 21 19:01:48 2008 -0500

    When DEBUG is defined, pwmc has a new option -E to specify the
    pinentry method: 0=pwmd (default), 1= pwmd_open|save_async(),
    2=pwmd_open() (not pwmd) and 3=pwmd_open|save_nb().

commit a6053ca88c354120b30ac3ac96e2427a3609b81b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jan 21 18:58:56 2008 -0500

    Keep pwmd_open_nb() and pwmd_save_nb(). These will be removed in a
    later version so be sure to use the new pwmd_open_async() and
    pwmd_save_async() functions instead.
    
    Renamed pwmd_nb_state_t to pwmd_async_t.
    
    Renamed STATE_INIT,RUNNING,DONE to VASYNC_INIT,PROCESS,DONE.

commit cfd52da9d6ab700b83b1c803fde1d86b8d142bfb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jan 20 14:52:58 2008 -0500

    The non-blocking key retrieval functions pwmd_open_nb() and
    pwmd_save_nb() have change so that libpwmd will no longer fork(). This
    can save memory in some cases. The key is retrieved via pwmd's
    pinentry handling. This adds a new function pwmd_process() which
    returns STATE_DONE when the command finishes and STATE_RUNNING when
    busy. Be sure to check the return code of this function.
    
    When STATE_DONE is returned, pwmd_finalize() should be called to reset
    a control variable with the associated handle.

commit 63d6e5daff7c80bbab6ecd887b4a093d3551dd4a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jan 12 14:59:58 2008 -0500

    Version 5.0.1.

commit ae0f1fe933faa4dee7d28372d7770eba7d6ba66a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jan 12 14:31:16 2008 -0500

    Call pinentry_disconnect() from pwmd_open() even when there is no
    error to terminate the pinentry process.

commit 72761df33f6447a564333dcd2c086bbf33108150
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Jan 10 20:38:05 2008 -0500

    Let the new IMPORT command work with pwmc. This is an INQUIRE command.

commit f79610bdec951ba2241aade917c3228e4e4a33b8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jan 9 20:53:39 2008 -0500

    When the inquire callback function returns GPG_ERR_EOF and 'result' is
    not NULL, finish the inquire by first sending 'result' before
    returning.

commit c12eff6d7d990bb88d3258b3a9eafb0713876a0e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 8 20:29:54 2008 -0500

    Make sure the filename is null terminated in pinentry_nb_status_t.

commit e41a3842df0670612da3a74a79f5aacd8dab3e74
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jan 5 12:27:09 2008 -0500

    Version 5.0.0.

commit b7468c97c9d610852ef4f7650061369822a62adc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jan 2 19:09:22 2008 -0500

    Updated NEWS.

commit 8d712eec5015de261edc5a513ccb41f393f618c9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jan 2 18:55:34 2008 -0500

    Made pwmd_terminate_pinentry() thread safe.

commit d0ac5ff8fd696bba1507b108874ed1a3d968287a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jan 2 18:46:57 2008 -0500

    Updated the copyright headers.

commit 65493cc7665910b71c9ddc7be75ce5b0766b805d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 18:12:14 2008 -0500

    Fixed a (rare) invalid assignment in send_command().

commit 077621138658ba78cb6aff2bba078fba9d03d974
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 18:05:31 2008 -0500

    Sync mem.[ch] with pwmd. Prepends elements rather than appending among
    other things.

commit adeadea1b06a57c808e3cc5f97607ae1f63061ed
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 16:02:37 2008 -0500

    Changed some error codes.

commit fe06a6dd32e8db342262697deeaf4b4f06df665c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 12:53:49 2008 -0500

    Added pwmc command line option -c to specify the client name (OPTION
    CLIENT NAME).

commit 21253cb11e5a7e83f359386acf8b6720abc8e651
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 12:48:37 2008 -0500

    Removed pwmc -t. pwmd is waiting on this pinentry feature.

commit e3f9732f0d7467c471db9020475a799ee5fb2d08
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jan 1 08:46:06 2008 -0500

    Don't override lintians shlib-with-non-pic-code. I was compiling
    libassuan without -fPIC.

commit 29ec0f339d9330627bd3e247741ee0cd33531851
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Dec 31 18:22:55 2007 -0500

    Added the 'changelog' target to the 'deb' target Makefile
    dependencies.
    
    Fixed some lintian warnings for the Debian package.

commit 9ac5c46c0d54d7d3b36d0de9fd3f4cb8d19f1388
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Dec 22 16:40:46 2007 -0500

    Send "OPTION PINENTRY=N" when PWMD_OPTION_PINENTRY changes to enable
    or disable pwmd's pinentry.
    
    Removed valgrind.h.
    
    Change configure option --with-pinentry-path to --with-pinentry.
    
    Updated docs.

commit a3aaec607e7699dd5610a73395e3da9a3cc7a166
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Dec 13 20:57:26 2007 -0500

    Removed EPWMD_KEY. It's no longer used on the server because empty
    keys are now allowed.

commit 2a45999ab15fe83a9a94856082b2ab7a55ab7f87
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Dec 12 20:13:00 2007 -0500

    Percent escape the newline character in the default pinentry
    description string.

commit fe3a22d4a17336ac5e0bc4d7ba18df79c0b19309
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Dec 12 20:04:15 2007 -0500

    Fixed DISPLAY being unset but a setting in pinentry.conf failing.

commit 6985a0d93c8e5825e6b866966dbc569520a51ff6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Dec 12 18:32:56 2007 -0500

    Look for ~/.pwmd/pinentry.conf rather than ~/.pwmd/env. 'env' isn't
    really environment settings.

commit e57bf186ed12fb8eb736f7c7d9217ac0d1b4cadb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Dec 11 21:04:30 2007 -0500

    Use the new CLIENT NAME option to identify pwmc.

commit cc132571d0a835265ad1cdae705bf0d24d09c54c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Dec 11 18:55:41 2007 -0500

    Renamed the parameters in ~/.pwmd/env. They are now TTYNAME, TTYTYPE,
    DISPLAY and the new PATH to set the pinentry binary path.

commit 3011f82bd1c390d729315b7326f89eb5f12cf0d7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Dec 10 20:18:23 2007 -0500

    Fixed pwmd to set pinentry options via pwmd_command(). Version 1.4 of
    pwmd includes pinentry support and options are set via the OPTION
    command.
    
    Don't fail in do_pwmd_open() when no password is specified and
    use_pinentry is unset. Pinentry may be called from pwmd itself.

commit 2df820fb593916c4f0375924f3626fccacb8207a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Dec 3 18:20:58 2007 -0500

    pwmc and g++ compilation fix.

commit 8c4fcf70cb6fad9518095c468a49594c1d6810fa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Nov 28 18:24:53 2007 -0500

    Consider both GPG_ERR_CANCELED and ASSUAN_Canceled as a cancel result
    code from pinentry.

commit 2827997bf0dc04722928f70e0f1586596a74bcef
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 27 20:45:12 2007 -0500

    Don't trim the newline character read from fgets() in pwmc. Leave it
    up to the user to remove it.
    
    Don't modify the pwmc result of a command at all, newline character or
    not.
    
    A few pwmd_setopt() cleanups in pwmc.

commit d3341e71256d0edec074c6f180fc19dad0c21f0a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 27 20:17:03 2007 -0500

    Added pwmd_inquire(). This removes PWMD_OPTION_INQUIRE_FUNC and
    PWMD_OPTION_INQUIRE_DATA.
    
    Don't send the SAVE command after an error in pwmc.

commit cb26825a673d6fd59f6319494518eae4a9ba9ff9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 27 18:08:22 2007 -0500

    Include /usr/local/share/aclocal in the aclocal search path.

commit 1bb5c23803154abdbcf732131e93c3b3e6704c1f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 21:37:21 2007 -0500

    Updated docs.

commit a5cf0554707d3c157e25288b0fdee8cbc642027a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 21:24:07 2007 -0500

    Return a gpg_error_t from do_inquire() in pwmc.c.

commit 273825e28cefb3f56ca194ad4e45774096ccd980
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 21:22:46 2007 -0500

    Return GPG_ERR_INV_ARG if pwm->inquire_func is not set. This makes
    PWMD_OPTION_INQUIRE_FUNC a requirement for the "STORE" command. Note
    that when using pwmd_command() with STORE, "STORE" is sent by itself
    without any data. It's up to the callback to send the remaining bytes.
    See pwmc.c for an example.

commit 3c640c565f11a345628876e0e347c01fda85abf6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 19:25:55 2007 -0500

    When do_inquire() is initially called, fill the entire buffer before
    returning.
    
    Fixed ungetc() to use the inquir FILE*.

commit 804cb02c9213380046b3ee0c777ad8207460c19e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 18:40:54 2007 -0500

    Make sure the STORE command has following data.

commit d41d4aed5462cc39f58348fb72b01b210c586515
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 26 18:37:40 2007 -0500

    Added pwmc command line option -I to read inquire data from the
    specified file descriptor. This can save alot of memory for large
    inquires that previously used a pipe.

commit 302f1bdbf1748c07b36c7774132ddc20e3a0c06c
Merge: 00e8060... e23774f...
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Nov 25 11:27:16 2007 -0500

    Merge branch 'master' into exp

commit 00e8060ae714335235a43c568fd35a6fde266e4c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 24 15:44:37 2007 -0500

    Broken pwmd_inquire_fn().

commit e23774fd2f335ba9c5ac3f80a8402abbc6979fae
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Nov 22 21:07:38 2007 -0500

    Regenerated po/libpwmd.pot.

commit 1f9978f2f892caf2bb73cdf491129558b42687dc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Nov 22 20:45:58 2007 -0500

    Added support for showing status messages sent from the server to
    pwmc. This adds command line option -X to suppress these messages
    which are normally printed to stderr.

commit a80aa9106a022517e21e42d8926a1fd1b4ef6f65
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 20 19:41:57 2007 -0500

    Don't call gpg_err_code() when returning an error from
    pwmd_inquire*().

commit 6fdf49736c27faef73f04a797e222b0a4a1279d4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 20 19:24:16 2007 -0500

    Require libassuan 1.0.4.

commit f5caf608d98e093a4005ba47925e1244e175baca
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Nov 20 19:24:16 2007 -0500

    Require libassuan 1.0.4.

commit 361d691cc40fc878e3c80b8699ea1847a26501fb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 19 21:16:20 2007 -0500

    Added functions pwmd_inquire(), pwmd_inquire_process() and
    pwmd_inquire_finish(). Use these functions rather than pwmd_command()
    for commands that use a server INQUIRE. This reduces memory usage for
    large transactions and allows newline characters in the data (pwmc).
    Errors that are not libassuan are broken (i.e., command syntax).
    
    pwmc will only process one command at each invocation. Removes command
    line option -E.

commit 713b44855bccecbfc7334ebb6644584961dd689c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 19 18:19:18 2007 -0500

    Make sure a newline character appended to the output when output is a
    terminal. Don't modify the output otherwise.

commit d34a1c8598ac7f521ccc77f3c45cc7fc19e8a56e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Nov 19 18:15:36 2007 -0500

    Make sure the file specified file descriptor to pwmc doesn't fail when
    calling fdopen().

commit 327fa76cc62cbe82f196219600c02ac443e87c97
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 17 10:34:56 2007 -0500

    Updated NEWS and README.

commit 0df6e0f3043069e8c808748292cfa3465c039279
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 17 08:44:59 2007 -0500

    Comment cleanups in libpwmd.h.

commit 0114813feb2733f7c5b64e162556f4db4d11e317
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 17 08:41:08 2007 -0500

    g++ fixes for pwmc. Also include locale.h.

commit 37f9ea811c403f8b370adea19cb9d9ccfd466a55
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Nov 14 17:42:11 2007 -0500

    Regenerated po/libpwmd.pot

commit 92a83915334cc4e3e1f48b7d577075b74de0e5fd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Nov 14 17:33:35 2007 -0500

    Changed the Debian package dependency to require pwmd 1.4 or later.

commit 6a685cf7023d7fc0fbaafae8ca075278e01e52dc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Nov 14 17:31:45 2007 -0500

    Updated to use new pwmd error codes which reuses more GPG error codes.

commit 2c84bb8ffc5d71019c1db56c0c25886656f60bc3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Oct 16 18:02:53 2007 -0400

    Removed EPWMD_FILE_NOT_FOUND and renamed EPWMD_TRAILING_ELEMENT to
    EPWMD_LOOP.

commit 8920d9975293259ecd89df42a49f6614ab60b6f6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Oct 15 19:01:09 2007 -0400

    Fixed pwmd_connect() not setting 'error' to 0 when successful.

commit 33544b796c971652971dd01ea8e9dfe7bc09269c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Sep 3 10:49:57 2007 -0400

    Version 4.0.3.

commit 2e45283089436a90cf383648c6179788242c8aea
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Sep 3 10:47:32 2007 -0400

    Added pwmc command line options -D, -T and -N. These can set the
    pinentry display, tty and terminal type.

commit 32c7d70fc5615f655db4dae377fdf6250d4f1e1c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 2 19:43:44 2007 -0400

    Updated NEWS.

commit a4f069e019a5a3afcf20b9cd338214d25ca5d31d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 2 19:42:48 2007 -0400

    Added the -d command line switch to pwmc. This will redirect any
    command output to the specified file descriptor. If your using
    pinentry to retrieve a password from the same tty as pwmc and
    redirecting output, this is needed.

commit abe2aa9d8529a0f8c9439772611ac4ade02d0f0d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 21:39:35 2007 -0400

    Added Provides: to satisfy pwmd's Recommends:.

commit fdb62fb563e1c81440a8ad8fdf6821a703254c77
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 21:26:55 2007 -0400

    Fixed including manual pages in the Debian package.

commit e2f69876747c9b6542500e4e01a8f3d05ce8cee6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 21:10:38 2007 -0400

    Changed the priority from extra to optional.
    
    Updated the description.
    
    Removed TODO from the Debian package.

commit e468d1446e6a99cfae01ffd07de5b20837c3f664
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 19:33:56 2007 -0400

    Generate pwmc.1 to show the default pinentry path.

commit 2f74ccfc081cf34e62c641ccbce35a94cab3872a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 19:17:47 2007 -0400

    Cancel the SIGALRM timer after pinentry returns since this means there
    was input.

commit 3bdc20181a2b3f0ae2f5f7bc9b451c405137b5f5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 30 19:05:11 2007 -0400

    The default pinentry path can be specified by passing
    --with-pinentry-path=PATH to configure.
    
    Added --enable-mem-debug. This disables use of the custom memory
    allocators. I can't get Valgrind to work properly with the custom
    (de)allocators.

commit 2dcbb49baff65735de8edcfb7fe36bcd7695cd6c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 16 21:08:03 2007 -0400

    pwmc uses libpwmd as the text domain for internationalization.

commit 1d420f662740c301bddda34f9399524e795368b8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Aug 15 16:51:58 2007 -0400

    Check for file existence using GETCONFIG in do_pwmd_open() and don't
    use the removed EXISTS command.

commit 4bebd650e43e9b3f30d6f51c4fc5a49882bb2d72
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Aug 14 18:41:37 2007 -0400

    Use the new EXISTS protocol command to determine whether a file is new
    or not.

commit d95e127adacb1b72e9c9c0a146f946b9573178ec
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 16:42:00 2007 -0400

    Make sure pwm has been initialized before accessing any members in
    do_pwmd_open().

commit 653b554c4579e2cceb87e10c47b500c3403c888d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 12:49:28 2007 -0400

    Version 4.0.2.

commit b7f866e0277cfce3e4d0ac3ebd47366a7e0321b3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 09:50:02 2007 -0400

    Updated NEWS.

commit 4af4feb276d00d4a115f3a1ecb98e8e35e63e6d5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 09:44:58 2007 -0400

    Don't run dch when doing 'make version'.

commit 0d1fd9adff1aaebb7bdb9d478d70f492c7786b97
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 09:43:05 2007 -0400

    Added autopoint support. Fixes autogen.sh and gettext.

commit 6e3c3d79355b9184c1ee096814d8d7b60a982bdb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 11 09:29:41 2007 -0400

    Removed unneeded gettext files from the repo.

commit 8bda12ef23b610c7589329fd6040016c69a420fc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Aug 10 22:12:30 2007 -0400

    Fixed the filename argument when more than one file was accidentally
    specified.

commit 2fbde511f47120b87771e52df9eb342146d62169
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Aug 7 19:27:26 2007 -0400

    When the password is set with pwmd_setopt(), don't free it until
    pwmd_close() is called. This fixes pwmd_save() when the cached file
    expires.
    
    Fixed pwmc and -S and infinite looping when not using pinentry and an
    error occurs.

commit 8f9bf56d86c0c73921e8c6f83c1658e1e115ef2e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Aug 5 09:52:54 2007 -0400

    Added gettext support.

commit efcaa77005e8b39bd8ffdb66e9599c1bd55256ee
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 4 15:15:01 2007 -0400

    Added debian/ to the tar.gz archive.
    
    Version 4.0.1.

commit 82f79b9d9d9ff9d585b01ed84ade8779e418d522
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 20 20:50:37 2007 -0400

    Have pwmd_open() return GPG_ERR_TIMEOUT after
    pwmd_terminate_pinentry() is called.

commit db558eb8069bbc8c784b10f1be0340ad533c0d95
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 20 20:33:13 2007 -0400

    Warn about unused results at compile time.

commit 2bfb438e872993b1791bba56553f4fc8dbd24553
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 15 20:57:09 2007 -0400

    Fixed a bashism in autogen.sh.

commit 04b2cd01e81c09bf0e5448a3222c8fe0f2cbc864
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 14 14:41:05 2007 -0400

    Include limits.h. Fixes a FreeBSD build.

commit 8837fb1c7ffdd8b46248c00d0e86ab528c6fbeeb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 14 12:48:08 2007 -0400

    Version 4.0.0.

commit d9b1c3c30b9a96b3b0f64414a52b88a4b2a9b406
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 14 08:18:04 2007 -0400

    Added valgrind.h which includes Valgrind debugging macros.
    
    Fixed xcalloc().

commit f7cef6c04fa88ba2994d1e8c89275599ddc8e0b7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 13 20:22:59 2007 -0400

    Added a 'deb' Makefile target.

commit fe4df67a8384647b7279599b8388a95c34fef92f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 13 19:37:04 2007 -0400

    Added ChangeLog.old and ChangeLog the the Debian archive.

commit 0385da62170b2fa7e330dc33d8a58e648201e84c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Jul 12 18:42:11 2007 -0400

    Updated the manual page and NEWS.

commit 7418f5de747d8c8d78378487dbf2964e7532ce60
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Jul 12 17:41:31 2007 -0400

    Added pwmc command line option -t. When  opening a file and a password
    is required, pinentry will timeout after the specified amount of
    seconds. When saving a file and a password  is  required,  no timeout
    will be used even if specified.

commit ab53027c7fe7c8f412a50712f6e746b5c0625fa3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 19:04:20 2007 -0400

    g++ fix.

commit 9e5c14665ef98474c4b2c93061238d548293af2b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 17:29:44 2007 -0400

    Updated NEWS.

commit 170dd26af7ffa3b53f3f19f972f39aa8df053d26
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 17:27:06 2007 -0400

    Removed the pwmd_error_t data type. Functions that returned this type
    now return a gpg_error_t. This removes an extra needed parameter for
    these functions.

commit 7838f3c26f5cc6d08ff76b929b8378bf45e703fe
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 16:21:38 2007 -0400

    Updated pwmc.1

commit 3fe8f223baefd6559048423ee31858c7db5f9114
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 16:11:27 2007 -0400

    Free the password on error in pwmc.c.

commit fc38ca646fa9f0b07f1487197d371af67f168ea2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 16:04:35 2007 -0400

    Created types.h.
    
    Set 'error' to GPG_ERR_INV_ARG when appropriate.

commit 0cb220f6439728f5b9dd848321e0cb0647aadc7c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 15:44:32 2007 -0400

    Added a 'timeout' parameter to pwmd_open_nb(). This sets the number of
    seconds until the pinentry process is terminated.
    
    Added pwmd_terminate_pinentry() for applications that don't use
    pwmd_open_nb().

commit fca26a8e7587d73a82c4ea9b40b6ef9c2b25e0a3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 13:47:41 2007 -0400

    Updated NEWS.

commit 7ae34847fc14290339a50c3a9f08f6732ebc8f41
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 13:35:26 2007 -0400

    When ~/.pwmd/env exists, NAME=VALUE pinentry settings are read from
    it where NAME is one of TTY, TERM or DISPLAY. These settings will
    overwrite the ones set with pwmd_setopt(). This is useful if you have
    a daemon process that uses libpwmd and the pwmd cache get's cleared.
    Now pinentry will know about a tty or display to prompt for a
    password to reopen the file.

commit 3c39e315b6621b93cff94b5aab559fbceaa72b13
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 12:47:51 2007 -0400

    Updated and added some examples.

commit 4d809c2211e680238b131b185f9d7a4506724f06
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 12:44:47 2007 -0400

    Make the filename argument to pwmc optional. The command may be a
    cache command.

commit b921330bc71aedb81333df2be76b90c73406fe05
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 11 12:24:50 2007 -0400

    Moved pwmd_nb_status_t to libpwmd.h. It's an incomplete type if
    private.
    
    Close the file descriptor returned from pwmd_open_nb() and
    pwmd_save_nb() in pwmd_open_nb_finalize() and pwmd_save_nb_finalize().

commit d15f5b9ad41cda82532ce5c1a2c506fb453c8e01
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 10 18:47:03 2007 -0400

    Compile time fix. Dont include the removed asshelp.h.
    
    The default location of pinenty is now /usr/bin.
    
    Added pwmc command line option -P to specify the location of the
    pinentry binary.

commit 93246f5adab9bf6ad117a707d184737a6c5f7928
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 10 18:18:46 2007 -0400

    Updated docs.

commit 30c091ca8d95e75049fefb2f8ae1b74ccf0d2488
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 10 18:06:30 2007 -0400

    Return -1 if the file is cached but there was an error or -2 if the
    file was cached and successful with pwmd_open_nb() and pwmd_save_nb().

commit d85bd6f439aabb04bb6784347fc59a03690f69b4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 10 17:03:09 2007 -0400

    When a password function has been set, don't free() the result. Leave
    it up to the client.

commit d3039100c1cd9cf45447769327fc91d3bd1395f8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jul 9 21:59:55 2007 -0400

    Removed pwmd_get_password(). This has been replaced by pwmd_open_nb()
    and pwmd_save_nb(). These function's will return a file descriptor
    that select() can use when a file isn't cached. When available for a
    read(), a pwmd_nb_status_t should be read and then passed to
    pwmd_open_nb_finalize() or pwmd_save_nb_finalize() to update the pwm
    handle.
    
    Renamed pwmd_password_func to pwmd_password_fn and pwmd_status_func to
    pwmd_status_fn.
    
    The pwmd_password_fn now requires a pwm_t * argument along with the
    void * user data.
    
    No longer include assuan.[ch].

commit 5f6433664aaca3ab731e64caf8875990bd76e4b3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jul 9 17:26:36 2007 -0400

    Made the custom memory allocator symbols hidden. This prevents
    applications using these functions directly.

commit 1839f45f7c2ed4a571d21d0f1e1e8cc38c5c2c94
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 8 20:49:59 2007 -0400

    When -S is specified to pwmc and after the "BYE" command is sent and
    the passwords don't match after confirmation, keep trying until either
    they do or the Cancel button is selected.

commit 14143790c6b578aa3006f61cfa67277ac94b5551
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 8 20:48:08 2007 -0400

    Added PWMD_OPTION_PINENTRY_TRIES to specify the number of tries before
    giving up when asked for a password when pwmd_open() is called.
    
    pwmd_save() will ask for confirmation of a password when pinentry is
    being used. If the passwords don't match, EPWMD_BADKEY is returned to
    the caller unless the Cancel button was selected.

commit 414c8bde72ef2d8e1bc42f48a11e9abcbb8904b8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 7 22:52:38 2007 -0400

    Added debianization stuff.

commit 5d148bfabc9a498ea9effd7375a536177dce9dab
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 7 21:30:50 2007 -0400

    Updated NEWS.

commit 261a2c07eaf995b47b2f82607b52fd49689abfa2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Jul 6 20:27:01 2007 -0400

    Check for an EOF after fgets(). Fixes commands read from a pipe.

commit 86def38f757ff3b9f30976feba14bceacba3c5f3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 4 16:20:45 2007 -0400

    Renamed PWMD_OPTION_[TITLE|PROMPT|DESC] to PWMD_OPTION_PINENTRY_...

commit 4e5b45ea4ffc84dc97e536ca9e9ef330186227a7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 4 09:00:18 2007 -0400

    --disable-pinentry fixes.

commit 8131f375aebd56c7993872578def38314463c96c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Jul 4 08:27:23 2007 -0400

    Another g++ fix.

commit 8424c11814763f358620bab3c99be51c8b262b68
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 3 21:13:15 2007 -0400

    Updated NEWS.

commit adfc5d2b6833d1aeccd0d48b1292ad1484d8a1e8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Jul 3 20:51:44 2007 -0400

    Added PWMD_OPTION_STATUS_FUNC and PWMD_OPTION_STATUS_DATA to set the
    function that gets called when pwmd sends a status (S) line. The
    function should return 0 on success or a gpg_error_t which will fail
    the current command that the status is associated with.

commit f40441fe4decab68dc8954622e7b38579a626fe9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jul 2 20:46:17 2007 -0400

    Made the pwm_t structure private.
    
    Library functions returning PWMD_OK or PWMD_ERROR now are prototyped
    to return a type of pwmd_error_t.
    
    Renamed pwmd_option to pwmd_option_t.
    
    Renamed pwmd_password_s to pwmd_password_t.
    
    Added a note to libpwmd.h about the BYE command. Client's should not
    send this command directly, they should use pwmd_close() instead
    because libassuan will release the assuan context after a BYE command.

commit 2fdd55e61d6ce04fe7a1aa73c59ade5cbfdb2bfb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jul 2 20:06:55 2007 -0400

    g++ compile time fix.

commit ac7b6c54052584e700f9490bcca2ca8c3c7dd4c3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Jul 2 19:30:13 2007 -0400

    Updated NEWS.

commit 663e20aba37977e68a933f762e2508f455b3e705
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Jul 1 10:58:27 2007 -0400

    Fixed gpg-error code descriptions.

commit c66219e30a9bdcb84e61c19739ab761ac4760e4e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 15:53:45 2007 -0400

    Version 3.0.0.

commit de732ee158d5bb68034528de5be8d81aff7a97e5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:41:17 2007 -0400

    Updated NEWS.

commit e4f1c322a3504b87e4dfb9d244af3438922577fb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:36:22 2007 -0400

    Fixed the exit status of pwmc when a command fails.

commit 94a18c8d635c5a6cec2530e840475e9cef9ea6d5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:31:14 2007 -0400

    Fixed closing the assuan handle twice after sending the BYE command.

commit 5e475c06c5d39b3ce059220bacb6931c7f5d237a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:11:57 2007 -0400

    Fixed a double free when a command fails.

commit 5cfffca0870c3f569e3771f38a40b3d09581e066
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:10:02 2007 -0400

    Zero out the read command if a failure occurs.

commit 896ce06bd2806b9a20a9982bac48bace770f2d98
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:03:14 2007 -0400

    Have libassuan use the custom memory de/allocators.

commit c588f03679a57bd1d679484c25d97278f7d8f562
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 12:02:30 2007 -0400

    Fixed disconnecting after sending the BYE command.

commit f05517c760fee1e65075ffd3bc6627413fdd7026
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jun 30 11:39:59 2007 -0400

    Updated TODO.

commit c80ff3d82f1509d3c0808f8d43828bc5cc4a3999
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Jun 28 21:14:41 2007 -0400

    Updates.

commit 802d354f68dd72144d2a3bf65d3e146a6e1e1bad
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Jun 28 20:57:50 2007 -0400

    New server protocol. Use Assuan to communicate with the server. This
    requires libassuan and libgpg-error.
    
    More secure memory de/allocators.
    
    No longer sends a NULL password to the server. printf() would set the
    password to "(null)".
    
    Added pwmd_init(). Use this function before any others.
    
    Added pwmd_free_result(). This free's the result of pwmd_command(). Be
    sure to use this but only for memory allocated with libpwmd.
    
    Added pwmd_get_password(). This is a non-blocking way of getting a
    password from pinentry(1). It returns a file descriptor that can be
    select(2)'ed. When ready for a read(2), a structure pwmd_password_s
    should be read then pwmd_setopt() should be called to set the
    password. Make sure PWMD_OPTION_PINENTRY is disabled.
    
    Added PWMD_OPTION_PINENTRY_TTY, PWMD_OPTION_PINENTRY_TERM and
    PWMD_OPTION_PINENTRY_DISPLAY. The arguments are of type char * and set
    pinenty command line options.
    
    Added DESTDIR support when installing the pkg-config(1) meta file.
    
    Removed EPWMD_ROOT_TEXT_ELEMENT. STORE now returns
    EPWMD_COMMAND_SYNTAX.
    
    Have pwmc show a gpg_err_code() instead.

commit 3439925dbfa661eadc9a68c71457fa20e2991afc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Feb 10 10:47:34 2007 -0500

    Added ChangeLog.old and autogen.sh.
    
    Don't colorize git-log output.
    
    g++ fix.
    
    Version 2.0.3.

commit c38efa2fcd65d31875aae2eec8b8f4c56da01d50
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Feb 10 10:18:05 2007 -0500

    Initial commit.
