aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix pinpad input support for passphrase modification.NIIBE Yutaka2011-12-021-114/+68
| | | | | | | | | | | | | | | | | | | | | * apdu.c (pcsc_keypad_verify): Have dummy Lc field with value 0. (pcsc_keypad_modify): Likewise. (pcsc_keypad_modify): It's only for ISO7816_CHANGE_REFERENCE_DATA. bConfirmPIN value is determined by the parameter p0. * app-openpgp.c (do_change_pin): The flag use_keypad should be 0 when reset_mode is on, or resetcode is on. use_keypad only makes sense for iso7816_change_reference_data_kp. * iso7816.h (iso7816_put_data_kp): Remove. (iso7816_reset_retry_counter_kp): Remove. (iso7816_reset_retry_counter_with_rc_kp): Remove. (iso7816_change_reference_data_kp): Add an argument: IS_EXCHANGE. * iso7816.c (iso7816_put_data_kp): Remove. (iso7816_reset_retry_counter_kp): Remove. (iso7816_reset_retry_counter_with_rc_kp): Remove. (iso7816_change_reference_data_kp): Add an argument: IS_EXCHANGE.
* Fix pinpad input supportNIIBE Yutaka2011-12-011-17/+51
|
* PC/SC pinpad support (pinpad input for modify pass phrase with resetcode, by ↵NIIBE Yutaka2011-11-291-25/+51
| | | | admin).
* PC/SC pinpad support (pinpad input for modify pass phrase).NIIBE Yutaka2011-11-291-18/+40
|
* PC/SC pinpad support.NIIBE Yutaka2011-11-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Before this change, it is layered like following: iso7816_verify iso7816_verify_kp apdu_send_simple, apdu_send_simple_kp ... After this change, it will be layered like: iso7816_verify iso7816_verify_kp apdu_send_simple apdu_keypad_verify ... and apdu_send_simple_kp will be deprecated. For PC/SC API, we use: SCardControl API to compose CCID PC_to_RDR_Secure message SCardTransmit API to compose CCID PC_to_RDR_XfrBlock message Considering the support of PC/SC, we have nothing to share between _kp version of iso7816_* and no _kp version.
* Adjust for signed integer passed to OpenPGP card decrypt.Werner Koch2011-08-081-8/+21
|
* Allow generation of card keys up to 4096 bit.Werner Koch2011-06-161-7/+18
| | | | | | | | | | | | | | | 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.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-165/+162
| | | | | | | | 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.
* Fix a signing problem with the cardWerner Koch2010-10-181-1/+1
|
* Fix for extended length Le in decipherWerner Koch2009-09-031-8/+12
|
* Ask for the keysize when generating a new card key.Werner Koch2009-08-051-0/+48
|
* Better reset the PIN verification stati after changing the key attributes.Werner Koch2009-07-101-0/+3
|
* Fix for card keys > 2048 bit.Werner Koch2009-07-101-3/+31
|
* Support writing of existing keys with non-matching key sizes.Werner Koch2009-07-091-5/+74
|
* Reworked the estream memory buffer allocation.Werner Koch2009-06-291-35/+37
| | | | | Committed already posted patches for the v2 card.
* Add readcert command.Werner Koch2009-06-171-52/+74
| | | | | fix reading large certificates.
* app-openpgp changesWerner Koch2009-06-091-4/+8
|
* Typo fix. Updated German translation.Werner Koch2009-06-081-5/+5
|
* Make PIN changing code work for v2 cards.Werner Koch2009-05-201-130/+246
|
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-0/+3
| | | | | Improved card key generation prompts.
* More support for Netkey cards.Werner Koch2009-05-081-34/+70
| | | | | | Small changes to teh CCID driver. Support 2048 bit OpenPGP cards.
* Prepare for OpenPGP cards with extended length support.Werner Koch2009-04-011-4/+8
|
* Implement decryption for TCOS 3 cards.Werner Koch2009-03-301-2/+4
|
* Add server option with-ephemeral-keys.Werner Koch2009-03-181-1/+3
| | | | | Extend SCD LEARN command.
* Add new attribute KEY-ATTR.Werner Koch2009-03-101-8/+35
|
* New PIN Callback attributes in gpg-agent.Werner Koch2009-03-051-64/+61
| | | | | | Common prompts for keypad and simple card reader. More support for Netkey cards; PIN management works now.
* Add option --card-timeout.Werner Koch2008-12-051-3/+6
| | | | | | | Add a new attribyte to app-openpgp.c Fix two portability bugs. Have gpg-connect-agent autostart gpg-agent on W32.
* Use bin2hex if possible.Werner Koch2008-11-031-13/+10
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+5
|
* Finished support for v2 cards with the exception of secure messaging.Werner Koch2008-09-251-88/+425
|
* Improvements for 2k keys.Werner Koch2008-09-231-37/+137
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-13/+169
|
* 2008-08-30 Moritz <[email protected]>Moritz Schulte2008-08-311-4/+4
| | | | | | | | | | | | | * scdaemon.c (main): Use estream_asprintf instead of asprintf. * command.c (update_reader_status_file): Likewise. (cmd_serialno): Use estream_asprintf instead of asprintf and xfree instead of free to release memory allocated through (estream_)asprintf. (cmd_learn): Likewise. (pin_cb): Likewise. * app-openpgp.c (get_public_key): Likewise.
* Fix new test for v2 cards.Werner Koch2008-08-181-2/+2
|
* prompt change.Werner Koch2008-07-301-2/+2
|
* Do not run the setuid test if running under as root proper.Werner Koch2008-07-171-2/+60
| | | | | | Documentation fixes. Some enhancements for the new OpenPGP Card.
* Add support for the TCOS NullPIN feature.Werner Koch2008-06-241-1/+3
|
* Use default PIN flagWerner Koch2008-04-211-1/+20
|
* Preparing a release.Werner Koch2008-03-261-21/+69
|
* Support DSA2.Werner Koch2007-12-121-1/+1
| | | | | | Support Camellia for testing. More audit stuff.
* Fix for bug 851.Werner Koch2007-12-101-3/+44
| | | | | | Fixed auto generation of the stub key for the card. Allow to encrypt toElgamal encryption keys of type 20.
* Fixed card key generation of gpg2.Werner Koch2007-07-051-4/+5
| | | | | Reveal less information about timings while generating a key.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* First steps towards supporting W32.Werner Koch2007-06-061-2/+2
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* The keypad is now also used for OpenPGP signing keys.Werner Koch2006-12-211-98/+141
|
* Made some PIN pads work.Werner Koch2006-11-201-12/+37
| | | | | Some cleanups for 64 bit CPUs.
* Allow pkcs#10 creation directkly from a smart cardWerner Koch2006-10-111-1/+21
|
* bug fixesWerner Koch2006-10-051-1/+1
|
* 2006-09-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-09-231-2/+8
| | | | | | | * app-openpgp.c (do_sign): Advance INDATA by the SHA1 resp. RMD160 prefix length.
* Take advantage of newer gpg-error features.Werner Koch2006-09-141-10/+10
|