aboutsummaryrefslogtreecommitdiffstats
path: root/g10/app-common.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-05-31 * keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.Werner Koch1-1/+1
* cardglue.c (assuan_strerror, assuan_transact): Dummy functions if not build with agent support. * zh_TW.po, zh_CN.po, es.po, ro.po: Updated. * tr.po: Updated from TP. Note: this is an exception in general translations from the Robot are not anymore accepted. * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-05-23* app-openpgp.c, app-common.h: Again updated from gnupg 1.9 CVS.Werner Koch1-17/+0
* cardglue.c (open_card): Check USE_AGENT. (agent_scd_checkpin): Implemented Assuan part. (agent_scd_change_pin): Ditto.
2005-05-21* cardglue.c (send_status_info): Make CTRL optional.Werner Koch1-0/+10
(agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.
2005-05-20(ccid_transceive): Arghhh. The seqno is anotherWerner Koch1-53/+73
bit in the R-block than in the I block, this was wrong at one place. Fixes bug #419 and hopefully several others.
2004-10-21* configure.ac: Remove the check for asprintfWerner Koch1-0/+7
* app-common.h (app_openpgp_storekey: Add prototype. * app-openpgp.c (do_sign): Replace asprintf by direct allocation. This avoids problems with missing vasprintf implementations. * card-util.c (generate_card_keys): Add a #warning for gnupg 1.9 and use the same string there. * util.h [!HAVE_VASPRINTF]: Removed prototype. * vasprintf.c: Removed. It was used only at one place and I don't want to get into build problems in 1.4.
2004-10-20* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.Werner Koch1-4/+8
(pcsc_get_status): Implemented. (reset_pcsc_reader): Implemented. (open_pcsc_reader): Succeed even with no card inserted. (open_ccid_reader): Set LAST_STATUS. * iso7816.c (iso7816_select_application): Always use 0 for P1.
2004-09-23* gpg.sgml: Document "addcardkey" and "keytocard".Werner Koch1-2/+4
* apdu.c (open_pcsc_reader): Do not print empty reader string. * keygen.c (ask_algo): Allow creation of AUTH keys. * keyid.c (usagestr_from_pk): New. * app-openpgp.c (app_openpgp_storekey): Call flush_cache. * keyedit.c (keyedit_menu): New command "keytocard" (keyedit_menu): Bad hack for the not_with_sk element. (show_key_with_all_names): Print the usage. (find_pk_from_sknode): New. * card-util.c (card_store_subkey): New. (copy_mpi): New. * cardglue.c (agent_openpgp_storekey): New.
2004-04-27A bunch of changes for the openpgp card.Werner Koch1-29/+55
2003-10-21* passphrase.c (ask_passphrase): Add optional promptid arg.Werner Koch1-0/+6
Changed all callers. * cardglue.c (pin_cb): Use it here, so the machine interface can tell whether the Admin PIN is requested. * cardglue.c (agent_scd_checkpin): New. * misc.c (openpgp_pk_algo_usage): Added AUTH usage. * app-openpgp.c (check_against_given_fingerprint): New. Factored out that code elsewhere. (do_check_pin): New. * card-util.c (card_edit): New command "passwd". Add logic to check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers.
2003-10-02* cardglue.c (learn_status_cb): Release values before assignmentWerner Koch1-5/+67
so that it can be used by getattr to update the structure. (agent_scd_getattr): New. * keylist.c (print_pubkey_info): Add FP arg for optional printing to a stream. Changed all callers.
2003-09-28* g10.c (main): New commands --card-edit, --card-status andWerner Koch1-57/+5
--change-pin. New options --ctapi-driver, --pcsc-driver and --disable-ccid * options.h (DBG_CARD_IO): New. * cardglue.c, cardclue.h: Enhanced. * card-util.c: New. Taken from current the gnupg 1.9 branch. * app-common.h, app-openpgp.c, iso7816.c, iso7816.h, apdu.c * apdu.h, ccid-driver.c, ccid-driver.h: New. Takem from the current gnupg 1.9 branch withy minor changes to include directives. * Makefile.am: Added these files.
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch1-0/+1
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+128
'GNUPG-1-9-BRANCH'.
2003-07-24* app-openpgp.c (do_learn_status): Print more status information.Werner Koch1-0/+1
(app_select_openpgp): Store the card version. (store_fpr): Add argument card_version and fix DOs for old cards. (app_openpgp_storekey): Likewise.
2003-07-23* command.c (cmd_pkauth): New.Werner Koch1-0/+19
(cmd_setdata): Check whether data was given at all to avoid passing 0 to malloc. * app.c (app_auth): New. * app-openpgp.c (do_auth): New.
2003-07-16* Makefile.am: Add sc-copykeys program.Werner Koch1-0/+18
* sc-copykeys.c: New. * app-openpgp.c (app_openpgp_storekey): New. (app_openpgp_cardinfo): New. (count_bits): New. (store_fpr): And use it here to get the actual length in bit.
2003-07-03* app-openpgp.c (do_setattr): Add setting of the URL.Werner Koch1-4/+4
(app_select_openpgp): Dump card data only in very verbose mode. (do_decipher): New.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-0/+90