Add option --card-timeout.
[gnupg.git] / scd / ChangeLog
index 5159931..9ac21d6 100644 (file)
@@ -1,3 +1,50 @@
+2008-12-05  Werner Koch  <wk@g10code.com>
+
+       * app-openpgp.c (app_local_s): Add field ALGO_ATTR_CHANGE.
+       (app_select_openpgp): Parse new capability.
+       (show_caps): Show new capability.
+
+2008-12-03  Werner Koch  <wk@g10code.com>
+
+       * scdaemon.c (opts): Use ARGPARSE_ macros.  Add option
+       --card-timeout.
+       * command.c (update_reader_status_file): Implement it.
+
+2008-11-18  Werner Koch  <wk@g10code.com>
+
+       * scdaemon.c (make_libversion): New.
+       (my_strusage): Print libgcrypt and libksba version.
+
+2008-11-03  Werner Koch  <wk@g10code.com>
+
+       * command.c (server_local_s): Add field DISCONNECT_ALLOWED.
+       (cmd_disconnect): Implement command.
+       (open_card): Reset disconnect flag.
+       (update_reader_status_file): Disconnect if allowed.
+
+       * app-common.h (app_ctx_s): Remove INITIALIZED.  Make REF_COUNT
+       unsigned. 
+       * app.c (select_application): Remove INITIALIZED.
+       (app_write_learn_status, app_readcert, app_readkey, app_getattr)
+       (app_setattr, app_sign, app_decipher, app_writecert)
+       (app_writekey, app_get_challenge, app_change_pin, app_check_pin):
+       Replace INITIALIZED by REF_COUNT check.
+       (application_notify_card_removed): Rename to ..
+       (application_notify_card_reset): .. this.  Change all callers.
+       * command.c (do_reset): Call application_notify_card_reset after
+       sending a reset.
+       (update_reader_status_file): Add arg SET_CARD_REMOVED.
+       (scd_update_reader_status_file): Pass true for new flag.
+       (do_reset): Pass false for new flag.
+
+       * app.c (app_get_serial_and_stamp): Use bin2hex.
+       * app-help.c (app_help_get_keygrip_string): Ditto.
+       * app-p15.c (send_certinfo, send_keypairinfo, do_getattr): Ditto.
+       * app-openpgp.c (send_fpr_if_not_null, send_key_data) 
+       (retrieve_fpr_from_card, send_keypair_info): Ditto.
+       * app-nks.c (keygripstr_from_pk_file): Ditto.
+       * command.c (cmd_apdu): Ditto.
+
 2008-10-21  Marcus Brinkmann  <marcus@g10code.com>
 
        * command.c (open_card): If connect error is SW_HOST_NO_CARD,