aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow creating subkeys using an existing keyWerner Koch2011-11-061-0/+4
| | | | | | 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.
* Fix usage of SHA-2 algorithm with OpenPGP cards.Werner Koch2011-03-021-10/+0
| | | | | | | This was a regression in 2.1 introduced due to having the agent do the signing in contrast to the old "SCD PKSIGN" command which accesses the scdaemon directly and passed the hash algorithm. The hash algorithm is used by app-openpgp.c only for a sanity check.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-3/+3
| | | | | | | | 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.
* Re-implemented GPG's --passwd command and improved it.Werner Koch2010-10-261-1/+4
|
* All tests work are again workingWerner Koch2010-10-141-1/+1
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-0/+10
| | | | | | A couple of forward ported changes. Doc updates.
* Even less prompts for a new key now.Werner Koch2010-09-011-1/+2
|
* Use passphrase caching for import and genkey.Werner Koch2010-09-011-1/+3
|
* Import OpenPGP keys into the agent.Werner Koch2010-08-311-0/+8
|
* Decryption and signi via agent is now implemented.Werner Koch2010-04-231-0/+4
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-4/+5
|
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-0/+18
|
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-0/+3
| | | | | Collected changes.
* Ask to insert the right OpenPGP card.Werner Koch2009-08-111-0/+3
|
* Make use of the card's extended capabilities.Werner Koch2009-07-221-0/+4
|
* Add readcert command.Werner Koch2009-06-171-0/+4
| | | | | fix reading large certificates.
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-0/+5
| | | | | Improved card key generation prompts.
* Move password repetition from gpg to gpg-agent.Werner Koch2009-03-171-0/+1
|
* Add a sample key.Werner Koch2009-01-131-0/+1
| | | | | Detect and show the card type.
* Finished support for v2 cards with the exception of secure messaging.Werner Koch2008-09-251-0/+1
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-0/+4
|
* Fixed card key generation of gpg2.Werner Koch2007-07-051-1/+1
| | | | | Reveal less information about timings while generating a key.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fixed agent access for gpg.Werner Koch2006-10-041-4/+11
|
* With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch2006-08-161-2/+6
| | | | | shows no prblems. Needs more testing of course.
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* g10/ does build again.Werner Koch2006-05-231-4/+13
|
* * card-util.c (change_login): Kludge to allow reading data from aWerner Koch2004-07-011-0/+6
| | | | | | | | | | | | | file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * call-agent.h: Add members for CA fingerprints. * call-agent.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them.
* * card-util.c (card_edit): New command "passwd". Add logic toWerner Koch2003-10-211-0/+4
| | | | | | | | check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
* * keylist.c (print_card_serialno): New.Werner Koch2003-09-301-0/+3
| | | | | | | | | | | | | | | | | | (list_keyblock_print): Use it here. * card-util.c (toggle_forcesig): New. (card_edit): New command "forcesig". * card-util.c (print_name, print_isoname): Use 0 and not LF fro the max_n arg of tty_print_utf8_string2. * call-agent.c (agent_scd_getattr): New. (learn_status_cb): Release values before assignment so that it can be used by getattr to update the structure. * card-util.c (change_pin): Simplified. We now have only a PIN and an Admin PIN.
* * g10.c: New command --card-status.Werner Koch2003-07-241-0/+9
| | | | | | | | | * card-util.c (card_status): New. * call-agent.c (learn_status_cb): Parse more information. * keylist.c (print_pubkey_info): Add FP arg for optinal printing to a stream. Changed all callers.
* * keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.Werner Koch2003-07-231-0/+6
| | | | | | (do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.
* * options.h (DBG_CIPHER): Reintroduced it.Werner Koch2003-07-031-6/+4
| | | | | | | | | | | | | | | | | | * seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw.
* * app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch2003-07-011-0/+1
| | | | | | | | * keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
* Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2003-06-271-0/+39
|
* A small step for GnuPG but a huge leap for error codes.Werner Koch2003-06-051-0/+34
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)