aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-5/+5
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2011-11-06Allow creating subkeys using an existing keyWerner Koch1-3/+3
This works by specifying the keygrip instead of an algorithm (section number 13) and requires that the option -expert has been used. It will be easy to extend this to the primary key.
2011-06-16Allow generation of card keys up to 4096 bit.Werner Koch1-1/+1
This patch implementes a chunk mode to pass the key parameters from scdaemon to gpg. This allows to pass arbitrary long key paremeters; it is used for keys larger than 3072 bit. Note: the card key generation in gpg is currently broken. The keys are generated but it is not possible to create the self-signature because at that time the gpg-agent does not yet know about the new keys and thus can't divert the sign request to the card. We either need to run the learn command right after calling agent_scd_genkey or implement a way to sign using the currently inserted card. Another option would be to get rid of agent_scd_genkey and implement the feature directly in agent_genkey.
2011-03-03Print the secret keyinfo stuff with --card-status again.Werner Koch1-21/+23
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-54/+53
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-11-17Smartcard related updatesWerner Koch1-40/+49
2010-10-13More agent support for gpg.Werner Koch1-0/+1
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-5/+5
A couple of forward ported changes. Doc updates.
2010-09-06Removed more secret key related code.Werner Koch1-144/+150
It builds fine and passes some of the tests but there are quite some features which don't work yet.
2010-06-07Add unfinished gpgtar.Werner Koch1-0/+2
Collected changes and ports of bug fixes from stable.
2010-04-20Generating an OpenPGP key cia gpg-agent basically works.Werner Koch1-9/+10
2010-03-15Finished the bulk of changes to use estream in most places instead ofWerner Koch1-67/+70
stdio.
2010-02-02Various changes to eventually support openpgp keys in pgp-agent.Werner Koch1-1/+1
Comment fixes. Minor chnages in preparation of a W32CE port.
2010-01-08Add dummu option --passwd for gpg.Werner Koch1-2/+2
Collected changes.
2009-08-05Enable readline support in --card-edit.Werner Koch1-12/+9
better cope with re-inserted cards.
2009-08-05Ask for the keysize when generating a new card key.Werner Koch1-18/+145
2009-07-22Make use of the card's extended capabilities.Werner Koch1-13/+40
2009-07-09Support writing of existing keys with non-matching key sizes.Werner Koch1-3/+7
2009-06-24Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch1-3/+1
Still one problem left; marked with a gcc #warning.
2009-06-17Add readcert command.Werner Koch1-7/+74
fix reading large certificates.
2009-06-09app-openpgp changesWerner Koch1-26/+49
2009-06-03Fixed an fopen problem on Windows Vista.Werner Koch1-0/+1
2009-06-02Fix for bug#1066.Werner Koch1-0/+1
A couple of minor changes.
2009-05-15Made card key generate with backup key work for 2048 bit.Werner Koch1-1/+15
Improved card key generation prompts.
2009-01-27Add a Geldkarte gadget application.Werner Koch1-0/+6
Minor other changes.
2009-01-13Add a sample key.Werner Koch1-2/+23
Detect and show the card type.
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-2/+2
2008-09-25Finished support for v2 cards with the exception of secure messaging.Werner Koch1-2/+45
2008-09-23Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch1-54/+118
2008-01-26Add --logger-fd alias.Werner Koch1-0/+2
Ass card vendor 004.
2007-07-17Typo fixes.Werner Koch1-3/+6
Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
2007-07-05Fixed card key generation of gpg2.Werner Koch1-13/+3
Reveal less information about timings while generating a key.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-10-02Fix for bug 537Werner Koch1-1/+1
2006-09-21Various updatesWerner Koch1-0/+1
2006-06-30A couple of fixes. gpg2's key generation does now work.Werner Koch1-1/+1
2006-05-23g10/ does build again.Werner Koch1-11/+7
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-77/+323
The gpg part does not yet build.
2006-03-21Allow for rmd160 signatures when using gpg-agent.Werner Koch1-0/+1
2006-01-01* mainproc.c (check_sig_and_print), keyserver.cDavid Shaw1-1/+1
(keyserver_import_pka), card-util.c (fetch_url): Always require a scheme:// for keyserver URLs except when used as part of the --keyserver command for backwards compatibility.
2005-10-18Fixed minor card related bugs and enhanced status messagesWerner Koch1-16/+17
2005-09-07Add "help" sub option to --*-options.Werner Koch1-0/+1
2005-07-27Converted all m_free to xfree etc.Werner Koch1-1/+1
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-05-03* passphrase.c (agent_get_passphrase): Add new arg CACHEID.Werner Koch1-0/+4
Changed all callers. (ask_passphrase): Add new arg CACHEID and use it in agent mode. Changed all callers. (passphrase_clear_cache): New arg CACHEID. Changed all callers. * cardglue.c (format_cacheid): New. (pin_cb): Compute a cache ID. (agent_scd_pksign, agent_scd_pkdecrypt): Use it. (agent_clear_pin_cache): New. * card-util.c (change_pin): Clear the PIN cache. (check_pin_for_key_operation): Ditto.
2005-04-07* ccid-driver.c (ccid_slot_status): Fixed debug messages.Werner Koch1-2/+35
* card-util.c (card_edit): Add command "verify". Enhanced admin command to allow optional arguments "on", "off" and "verify". (card_status): Print private DOs in colon mode. * app-openpgp.c (do_check_pin): Add hack to allow verification of CHV3.
2005-03-21* keyedit.c (command_generator, keyedit_completion): ChangedWerner Koch1-9/+16
indentation. * card-util.c (command_generator, card_edit_completion): Ditto.
2005-03-20* card-util.c (command_generator, card_edit_completion)David Shaw1-14/+69
[GNUPG_MAJOR_VERSION==1 && HAVE_LIBREADLINE]: New functions to enable command completion in the --card-edit menu. (card_edit): Call them here.
2005-03-14* card-util.c (card_status): Use isotimestamp and not theWerner Koch1-3/+3
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
2005-03-14* cardglue.c (pin_cb): Disable debug output.Werner Koch1-1/+1
* mk-w32-dist: Check for patch files. * w32installer.nsi: Translated a few more strings. Print a warning if permssions are not suitable for the installation. Add Uninstaller entries.