aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* gpg: Add OpenPGP card vendor 0x1337.Werner Koch2014-12-081-0/+2
| | | | --
* scd: Fix for NIST P-256.NIIBE Yutaka2014-12-051-1/+1
| | | | | | * g10/card-util.c (card_store_subkey): Error check. * scd/app-opengpg.c (ecc_writekey): Support NIST P-256. (do_writekey): Error check.
* Comment typo fixes.Werner Koch2014-11-191-2/+2
| | | | --
* Add open card manufacturer 0x0008.Werner Koch2014-11-041-0/+1
| | | | --
* Change a couple of files to use abbreviated copyright notes.Werner Koch2014-11-041-1/+2
| | | | | | | | | -- Also fixed some of my own copyright notices due to the termination of my assignment. The one displayed by --version is kept at FSF because we had contributors in 2014 with FSF assignments and it gives the FSF some visibility.
* gpg: Make card key generation work again.Werner Koch2014-10-191-2/+2
| | | | | | | | | | | | * g10/call-agent.c (agent_scd_learn): Rename from agent_learn. (agent_learn): New. * g10/keygen.c (gen_card_key): Call new agent-learn. -- Without a shadow key we can't create the self-signatures. Thus we need to issue the learn command after each key generation. Signed-off-by: Werner Koch <[email protected]>
* Use a unique capitalization for "Note:".Werner Koch2014-10-101-2/+2
| | | | --
* gpg: Simplify command --gen-key and add --full-gen-key.Werner Koch2014-09-271-1/+1
| | | | | | | | | | | | | | | | * g10/gpg.c (aFullKeygen): New. (opts): Add command --full-key-gen. (main): Implement it. * g10/keygen.c (DEFAULT_STD_ALGO): Replace wrong GCRY_PK_RSA although the value is identical. (DEFAULT_STD_CURVE): New. (DEFAULT_STD_SUBALGO): New. (DEFAULT_STD_SUBKEYSIZE): New. (DEFAULT_STD_SUBCURVE): New. (quick_generate_keypair): Use new macros here. (generate_keypair): Add arg "full" and fix call callers. Do not ask for keysize in non-full node. (ask_user_id): Add arg "full" and simplify for non-full mode.
* gpg: Allow key-to-card upload for cert-only keysWerner Koch2014-06-251-1/+1
| | | | | | | * g10/card-util.c (card_store_subkey): Allo CERT usage for key 0. -- Suggested-by: Dominik Heidler <[email protected]>
* Change some keyedit functions to allow printing to arbitrary streams.Werner Koch2014-03-271-3/+3
| | | | | | | | | | | * common/ttyio.c (tty_print_string): Add optional arg FP. Change all callers. (tty_print_utf8_string2): Ditto. * g10/keyedit.c (show_prefs): Ditto. (show_key_with_all_names_colon): Ditto. (show_names): Ditto. * g10/keylist.c (print_revokers): Ditto. (print_fingerprint): Ditto.
* gpg: Add another card vendor id.Werner Koch2014-01-291-0/+1
| | | | --
* gpg: fix keytocard and support ECC card for key attribute.NIIBE Yutaka2013-02-221-2/+4
| | | | | | * g10/call-agent.c (agent_keytocard): Supply PARM arg. * g10/card-util.c (card_status): Support ECC. (card_store_subkey): Don't assume RSA.
* gpg: Implement card_store_subkey again.NIIBE Yutaka2013-02-121-147/+95
| | | | | | | | * g10/call-agent.h (agent_keytocard): New. * g10/call-agent.c (agent_keytocard): New. * g10/card-util.c (replace_existing_key_p): Returns 1 when replace. (card_generate_subkey): Check return value of replace_existing_key_p. (card_store_subkey): Implement again using agent_keytocard.
* Add an OpenPGP card vendor.Werner Koch2012-11-161-1/+2
| | | | * g10/card-util.c (get_manufacturer): Add Yubico.
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-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.
* Allow creating subkeys using an existing keyWerner Koch2011-11-061-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.
* Allow generation of card keys up to 4096 bit.Werner Koch2011-06-161-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.
* Print the secret keyinfo stuff with --card-status again.Werner Koch2011-03-031-21/+23
|
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-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.
* Smartcard related updatesWerner Koch2010-11-171-40/+49
|
* More agent support for gpg.Werner Koch2010-10-131-0/+1
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-5/+5
| | | | | | A couple of forward ported changes. Doc updates.
* Removed more secret key related code.Werner Koch2010-09-061-144/+150
| | | | | | It builds fine and passes some of the tests but there are quite some features which don't work yet.
* Add unfinished gpgtar.Werner Koch2010-06-071-0/+2
| | | | | Collected changes and ports of bug fixes from stable.
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-9/+10
|
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-67/+70
| | | | | stdio.
* Various changes to eventually support openpgp keys in pgp-agent.Werner Koch2010-02-021-1/+1
| | | | | | Comment fixes. Minor chnages in preparation of a W32CE port.
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-2/+2
| | | | | Collected changes.
* Enable readline support in --card-edit.Werner Koch2009-08-051-12/+9
| | | | | better cope with re-inserted cards.
* Ask for the keysize when generating a new card key.Werner Koch2009-08-051-18/+145
|
* Make use of the card's extended capabilities.Werner Koch2009-07-221-13/+40
|
* Support writing of existing keys with non-matching key sizes.Werner Koch2009-07-091-3/+7
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-3/+1
| | | | | Still one problem left; marked with a gcc #warning.
* Add readcert command.Werner Koch2009-06-171-7/+74
| | | | | fix reading large certificates.
* app-openpgp changesWerner Koch2009-06-091-26/+49
|
* Fixed an fopen problem on Windows Vista.Werner Koch2009-06-031-0/+1
|
* Fix for bug#1066.Werner Koch2009-06-021-0/+1
| | | | | A couple of minor changes.
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-1/+15
| | | | | Improved card key generation prompts.
* Add a Geldkarte gadget application.Werner Koch2009-01-271-0/+6
| | | | | Minor other changes.
* Add a sample key.Werner Koch2009-01-131-2/+23
| | | | | Detect and show the card type.
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-2/+2
|
* Finished support for v2 cards with the exception of secure messaging.Werner Koch2008-09-251-2/+45
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-54/+118
|
* Add --logger-fd alias.Werner Koch2008-01-261-0/+2
| | | | | Ass card vendor 004.
* Typo fixes.Werner Koch2007-07-171-3/+6
| | | | | | Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
* Fixed card key generation of gpg2.Werner Koch2007-07-051-13/+3
| | | | | Reveal less information about timings while generating a key.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fix for bug 537Werner Koch2006-10-021-1/+1
|
* Various updatesWerner Koch2006-09-211-0/+1
|
* A couple of fixes. gpg2's key generation does now work.Werner Koch2006-06-301-1/+1
|