aboutsummaryrefslogtreecommitdiffstats
path: root/scd
AgeCommit message (Expand)AuthorFilesLines
2021-02-25scd:p15: Read out the access flags.Werner Koch1-68/+141
2021-02-24scd:p15: Get the label value of all objects for better diagnostics.Werner Koch1-78/+180
2021-02-23scd:p15: Make it code work again for D-Trust cards.Werner Koch4-29/+67
2021-02-22scd: Fix readkey --info in case a readkey command is available.Werner Koch2-41/+35
2021-02-22scd:p15: Extract extended usage flagsand act upon them.Werner Koch2-82/+239
2021-02-19scd: Minor tweak for easier backportingWerner Koch3-23/+30
2021-02-18scd:piv: Fix a typo in a string.Werner Koch1-2/+2
2021-02-02scd:p15: Read PuKDF and minor refactoring.Werner Koch1-85/+447
2021-01-27scd:p15: Make file selection more robust.Werner Koch1-37/+60
2021-01-27scd: Define new status wordWerner Koch4-9/+17
2021-01-27scd:p15: Factor the commonKeyAttributes parser out.Werner Koch1-134/+206
2021-01-26scd:p15: Factor the commonObjectAttributes parser out.Werner Koch1-139/+112
2021-01-26scd:p15: First step towards real CardOS 5 support.Werner Koch4-76/+218
2021-01-21scd:p15: Show the ATR as part of the TokenInfo diagnostics.Werner Koch1-0/+12
2021-01-06scd:nks: Add support for signing plain SHA-3 digests.Ingo Klöcker1-17/+67
2020-12-11scd:nks: Support READKEY with keygrip and for "NKS-IDLM" keyref.NIIBE Yutaka1-0/+22
2020-12-11scd:nks: Factor out pubkey retrieval from keygrip handling.NIIBE Yutaka1-84/+72
2020-12-10scd:nks: Add support of KEYGRIP for do_readcert.NIIBE Yutaka1-0/+18
2020-12-10scd:nks: Factor out iteration over filelist.NIIBE Yutaka1-78/+114
2020-12-09scd:ccid:spr532: Extend abort_cmd for initialization time.NIIBE Yutaka1-11/+18
2020-12-09scd:ccid: Call libusb_clear_halt in ccid_vendor_specific_setup.NIIBE Yutaka1-0/+1
2020-12-09scd:ccid: Revert the addition of libusb_clear_halt for EP_INTR.NIIBE Yutaka1-1/+0
2020-12-08scd:yubikey: Fix support of Yubikey NEO.NIIBE Yutaka1-0/+3
2020-12-03scd:nks: Fix caching keygrip (more).NIIBE Yutaka1-5/+7
2020-12-03scd: Fix KEYINFO command with --data option.NIIBE Yutaka1-4/+3
2020-12-03scd:openpgp: Fix writing ECC key to card.NIIBE Yutaka1-6/+27
2020-11-30scd:nks: Minor additions to the basic IDLM application support.Werner Koch1-15/+25
2020-11-27scd: New getinfo sub-command apdu_strerror.Werner Koch2-15/+28
2020-11-27scd:ccid-driver: Fix pinpad error handling for cancel/timeout.NIIBE Yutaka4-2/+17
2020-11-26agent: Fix YK s/n and prettify the request card prompt for YubikeysWerner Koch2-34/+20
2020-11-26scd: Do not try to use a non-enabled app after card switching.Werner Koch1-2/+19
2020-11-26scd: Add special serialno compare for OpenPGP cards.Werner Koch2-10/+44
2020-11-26scd,nks: Fix caching keygrip.NIIBE Yutaka1-3/+4
2020-11-25scd:p15: Print the internal card type.Werner Koch1-0/+8
2020-11-25scd:p15: Improve support for some CardOS based cards.Werner Koch3-14/+68
2020-11-25scd: Rework the handling of the displayed serial number.Werner Koch5-119/+178
2020-11-25scd: Fix an error return for READKEY.NIIBE Yutaka1-0/+3
2020-11-25scd,nks: Fix SEGV for learn for older card.NIIBE Yutaka1-0/+1
2020-11-23doc: Fix typosGavin L. Rebeiro1-1/+1
2020-11-20Fix the previous comment changes help doc string.NIIBE Yutaka1-1/+1
2020-11-11scd: Do not print reader status change with --debug cardio.Werner Koch1-1/+1
2020-11-09card: Run factory-reset in locked stated.Werner Koch1-10/+10
2020-11-05scd: Use lock_slot for apdu_send_direct.NIIBE Yutaka1-1/+1
2020-11-05scd: Internal CCID driver: Fix a race condition on close.NIIBE Yutaka1-12/+25
2020-10-27scd: Handle canonical serialno and app specific serialno differently.NIIBE Yutaka3-8/+9
2020-10-26scd: Flush the cache when writing cert data object.NIIBE Yutaka1-0/+1
2020-10-26scd: Internal CCID driver thing only for SPR532.NIIBE Yutaka1-6/+14
2020-10-24scd: Internal CCID driver limiting only for SPR532.NIIBE Yutaka1-1/+1
2020-10-23common: Allow building with released libgpg-error.Werner Koch1-0/+1
2020-10-23scd: Handle Yubikey's multiple apps and serialno.NIIBE Yutaka3-7/+72
2020-10-23scd: Use app_get_serialno for app_getattr.NIIBE Yutaka1-1/+1
2020-10-23scd: Don't overwrite serialno for Yubikey.NIIBE Yutaka1-3/+10
2020-10-23scd,openpgp: Use app_get_serialno function to get SERIALNO.NIIBE Yutaka1-16/+17
2020-10-20Replace most of the remaining stdio calls by estream calls.Werner Koch1-4/+4
2020-09-30scd: Internal CCID driver: More fix for SPR532.NIIBE Yutaka1-4/+4
2020-09-30scd: Report any error for LEARN command.NIIBE Yutaka1-30/+67
2020-09-29scd: Internal CCID driver fix.NIIBE Yutaka1-2/+5
2020-09-29scd: Internal CCID driver: Call libusb_clear_halt at ccid_setup_intr.NIIBE Yutaka1-3/+1
2020-09-28scd: Internal CCID driver: Fix a failure path.NIIBE Yutaka1-0/+1
2020-09-28scd: Internal CCID: Handle LIBUSB_ERROR_TIMEOUT at ccid_get_atr.NIIBE Yutaka1-1/+2
2020-09-28scd: Internal CCID: Clear the handle after use.NIIBE Yutaka1-1/+5
2020-09-28scd: Change handling of SPR532 card reader.NIIBE Yutaka1-4/+17
2020-09-25scd: For PC/SC, send the ESC command at init for SPR532 reader.NIIBE Yutaka1-25/+32
2020-09-25scd: For SPR532, submit the ESCape command at initialization.NIIBE Yutaka1-14/+13
2020-09-24scd: Fix CCID internal driver for interrupt transfer.NIIBE Yutaka1-3/+36
2020-09-21scd: Extend KEYPAIRINFO with an algorithm string.Werner Koch6-22/+98
2020-09-16scd: Clear PIN cache when changing key attributes.NIIBE Yutaka1-1/+4
2020-09-16scd: Clear caching PIN at KDF setup.NIIBE Yutaka1-0/+4
2020-09-16scd: Add better support for KDF feature.NIIBE Yutaka1-0/+7
2020-09-16gpg,scd: Fix handling of KDF feature.NIIBE Yutaka1-11/+23
2020-09-15scd: Fix the use case of verify_chv2 by CHECKPIN.NIIBE Yutaka1-21/+25
2020-09-11scd:piv: Avoid conflict when writing a cert.Werner Koch1-1/+63
2020-09-10scd: Flush KDF DO (0x00F9) when it's being set.NIIBE Yutaka1-3/+3
2020-09-08scd: Add a workaround for Yubikey.NIIBE Yutaka1-0/+3
2020-09-07scd: Fix handling 0x00FA to support OpenPGP card 3.4.NIIBE Yutaka1-1/+1
2020-09-04scd: Increase the number of supported readers from 4 to 16.Werner Koch2-2/+3
2020-09-04scd: Support GET DATA response with no header for DO 0x00FA.NIIBE Yutaka1-25/+28
2020-09-04scd: Parse "Algorithm Information" data object in scdaemon.NIIBE Yutaka1-2/+106
2020-09-03scd: Add handling of "Algorithm Information" DO.NIIBE Yutaka1-0/+2
2020-08-27scd: New option to APDU command to return the ATR as data.Werner Koch1-2/+16
2020-08-27scd: Fix reading of the ATR for card type detection.Werner Koch1-1/+1
2020-08-27scd: Add heuristics to identify cardtype.NIIBE Yutaka2-3/+23
2020-08-27scd: Add condition for VERIFY with 0x82.NIIBE Yutaka1-4/+9
2020-08-19scd: Fix possible uninitialized variables.NIIBE Yutaka2-8/+8
2020-08-12scd: Log info about CCIDs with permission problems.Werner Koch1-3/+13
2020-08-12scd: Map some error codes from libusb to ccid-driver error codes.Werner Koch5-12/+57
2020-08-10scd:piv: Allow signing using PSS.Werner Koch1-1/+10
2020-08-10agent: Add option --pss to pksign to be used by smartcards.Werner Koch1-1/+3
2020-07-31scd: Silence compiler warning.NIIBE Yutaka1-3/+3
2020-07-17scd: Fix closing reader and reeleasing context in PC/SC.NIIBE Yutaka1-0/+7
2020-07-17scd: PC/SC: Don't release the context when it's in use.NIIBE Yutaka1-1/+1
2020-07-02scd:nks: Implement writecert for the Signature card v2.Werner Koch3-8/+133
2020-06-30scd:nks: Fix certificate read problem with TCOS signature card v2.Werner Koch1-0/+2
2020-06-30scd: Change how the removed card flag is set.Werner Koch1-13/+14
2020-06-29scd: Shorten cardio debug output for all zeroes.Werner Koch1-4/+33
2020-06-25scd:nks: Fix remaining tries warning in --reset mode.Werner Koch1-9/+10
2020-06-08build: Fix recent commit for SOURCE_DATE_EPOCH.Werner Koch1-1/+1
2020-05-29scd: Fix condition for C5 data object for newer Yubikey.NIIBE Yutaka1-1/+1
2020-05-27scd:openpgp: New KEY-STATUS attribute.Werner Koch1-1/+10
2020-05-26scd:openpgp: Add attribute "UIF" for convenience.Werner Koch1-5/+11
2020-05-26scd: Fix Yubikey app switching problemWerner Koch1-4/+12
2020-05-07scd:nks: Add framework to support IDKey cards.Werner Koch1-51/+124
2020-05-07scd:nks: Get the PIN prompts right for the Signature CardWerner Koch1-56/+136
2020-05-07scd:nks: Support decryption using ECDH.Werner Koch1-75/+307
2020-05-05scd: Extend an internal function to also return the algo.Werner Koch8-17/+24
2020-05-04scd:nks: Add do_with_keygrip and implement a cache.Werner Koch1-90/+349
2020-04-17scd:nks: Allow retrieving certificates from a Signature Card v.20Werner Koch1-164/+299
2020-04-17scd: Detect missing card in "getinfo all_active_apps".Werner Koch1-0/+5
2020-04-09scd:p15: Return a display S/N via Assuan.Werner Koch1-21/+54
2020-04-07scd:p15: Show a pretty PIN prompt.Werner Koch1-13/+197
2020-04-07scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word.Werner Koch1-0/+2
2020-04-07scd: Factor common PIN status check out.Werner Koch4-82/+57
2020-04-07scd:p15: Fix decrypt followed by sign problem for D-Trust cards.Werner Koch3-14/+91
2020-04-03scd:p15: Emit MANUFACTURER, $ENCRKEYID, $SIGNKEYID.Werner Koch1-18/+62
2020-04-03scd:openpgp: New attribute "MANUFACTURER".Werner Koch1-0/+50
2020-04-02scd:p15: Implement do_with_keygrip and capabilities.Werner Koch1-34/+48
2020-04-02scd:p15: Rename some variables and functions for clarity.Werner Koch1-28/+28
2020-04-02scd: Use Gcrypt usage constants for the do_with_keygrip capabilities.Werner Koch3-8/+17
2020-04-02scd: New command DEVINFO.NIIBE Yutaka3-62/+203
2020-04-01scd:p15: Cache the PIN.Werner Koch1-0/+8
2020-04-01scd:p15: Run a keygrip_from_prkdf before verify_pinWerner Koch1-9/+18
2020-04-01scd:p15: Support decryption with CardOS 5 cards.Werner Koch1-2/+100
2020-04-01scd:p15: Factor PIN verification out to a new function.Werner Koch1-192/+224
2020-03-31scd:p15: Support signing with CardOS 5 cards.Werner Koch8-98/+368
2020-03-31scd:p15: Read certificates in extended mode.Werner Koch1-2/+4
2020-03-31scd: Add function for binary read in extended mode.Werner Koch2-4/+17
2020-03-31scd:p15: Improve diagnosticsWerner Koch1-164/+202
2020-03-30scd:p15: Detect CardOS 5 cards and print some basic infos.Werner Koch1-15/+150
2020-03-27scd:openpgp: Allow PKSIGN with keygrip also for OPENPGP.3.Werner Koch1-5/+18
2020-03-14gpgconf: Further simplify the gpgconf option processing.Werner Koch1-29/+5
2020-03-06scd: Re-group the options in the --help output.Werner Koch1-12/+25
2020-03-06gpgconf: Support reading global options (part 2).Werner Koch1-2/+3
2020-02-28scd: Fix the previous commit.NIIBE Yutaka1-0/+3
2020-02-28scd: Improve setattr for KDF.NIIBE Yutaka1-1/+64
2020-02-28scd: Fix pinpad handling when KDF enabled.NIIBE Yutaka1-0/+2
2020-02-21Use gpgrt's new option parser for the remaining daemons.Werner Koch1-91/+68
2020-02-20gpg: Use gpgrt's new option parser to provide a global conf file.Werner Koch1-0/+4
2020-02-18Spelling cleanup.Daniel Kahn Gillmor8-14/+14
2020-02-17scd: Disable pinpad if it's impossible by KDF DO.NIIBE Yutaka1-7/+30
2020-02-13scd: Print the main app name also for not fully supported cards.Werner Koch1-0/+9
2020-02-13scd:openpgp: Return key creation time as part of KEYPARIINFO.Werner Koch2-18/+11
2020-02-11scd:openpgp: Send a KEY-TIME status with READKEYWerner Koch2-1/+39
2020-02-11scd:openpgp: Optional allow for lowercase keyrefs.Werner Koch1-10/+10
2020-02-11scd:openpgp: Allow auto-changing of the key attributes in genkey.Werner Koch2-47/+181
2020-02-11common: Extend the openpgp_curve_to_oid function.Werner Koch2-6/+7
2020-02-10build: Always use EXTERN_UNLESS_MAIN_MODULE pattern.Werner Koch2-0/+2
2020-02-10scd:openpgp: Let the genkey function also accept a full keyref.Werner Koch1-3/+12
2020-01-16scd: New commands SWITCHCARD and SWITCHAPP.Werner Koch3-13/+262
2020-01-16scd:piv: Remove debug code from a recent commit.Werner Koch1-2/+1
2020-01-13scd: Make the PIN cache robust against wrongdoing of gpg-agent.Werner Koch2-4/+81
2020-01-13scd:piv: Implement PIN cache.Werner Koch5-29/+100
2020-01-13scd: Fix memory leak in command READKEY.Werner Koch2-3/+9
2020-01-13scd: Make SERIALNO --all work correctly and use it.Werner Koch3-54/+91
2020-01-10scd: Implement direct access by KEYGRIP for GETATTR and READKEY.NIIBE Yutaka2-50/+119
2020-01-09scd:openpgp: Implement PIN cache.Werner Koch1-104/+229
2020-01-09scd: Use a scdaemon internal key to protect the PIN cache IPC.Werner Koch1-46/+98
2020-01-07scd: First changes to implement a PIN cache.Werner Koch11-85/+418
2020-01-03scd: Minor fix for readibility.Werner Koch2-2/+2
2019-12-19scd: Enhance KEYINFO command to limit listing with capability.NIIBE Yutaka5-35/+79
2019-11-26doc: Fixed variable naming.Werner Koch1-1/+1
2019-11-15scd,ccid: Fix detection of supported readers with pinpad.NIIBE Yutaka1-3/+4
2019-10-29scd,ccid: Fix GEMPC_EZIO handling.NIIBE Yutaka1-5/+5
2019-10-15scd,ccid: Add 08e6:34c2 (GEMPC_EZIO).NIIBE Yutaka2-7/+22
2019-09-17scd,pcsc: Use HANDLE for context and card.NIIBE Yutaka1-28/+34
2019-09-12scd: Remove old fallback logic from CCID to PC/SC.NIIBE Yutaka1-12/+5
2019-09-12scd,pcsc: Support "reader-port" option for PC/SC reader.NIIBE Yutaka1-29/+34
2019-09-12scd,pcsc: Remove the restriction of no-scanning in PC/SC.NIIBE Yutaka3-12/+3
2019-09-11scd,pcsc: Fix examining the list of readers.NIIBE Yutaka1-5/+13
2019-09-11scd,pcsc: Fix for initializing PC/SC.NIIBE Yutaka1-9/+13
2019-09-11scd,pcsc: Support multiple card readers.NIIBE Yutaka1-180/+217
2019-09-11scd,pcsc: Use a single context.NIIBE Yutaka1-26/+46
2019-09-11scd: Clean up the structure for future fix of PC/SC.NIIBE Yutaka3-18/+23
2019-09-05scd: Implement auto-switching between Yubikey apps.Werner Koch1-34/+105
2019-09-05scd:openpgp: Avoid PIN caching issues after re-select.Werner Koch1-0/+6
2019-09-05scd:piv: Allow the keygrip as alternative to a keyref.Werner Koch1-2/+22
2019-09-05scd: Improve locking of app_do_with_keygrip.Werner Koch1-10/+24
2019-09-05scd: New debug flag "app".Werner Koch3-27/+97
2019-09-04scd: New sub-command cmd_has_option for GETINFO.Werner Koch1-1/+55
2019-09-04scd: Add option --all to the SERIALNO command.Werner Koch2-11/+105
2019-09-04scd: Fix Error checking in additioal app selection.Werner Koch1-2/+3
2019-09-04scd: Add option --multi to the LEARN command.Werner Koch3-19/+61
2019-09-04scd: Use a macro for the flag parameter of learn_status.Werner Koch7-7/+12
2019-08-21scd:nks: Extend keypairinfo with usage flags.Werner Koch1-0/+11
2019-08-21scd:nks: Support attributes $ENCRKEYID and $SIGNKEYID.Werner Koch1-4/+20
2019-08-21scd: Fix check_application_conflict.NIIBE Yutaka1-0/+6
2019-08-21scd: Fix selecting additional APP.NIIBE Yutaka1-28/+59
2019-08-21scd: Fix how select_additional_application is called.NIIBE Yutaka1-10/+3
2019-08-21scd: Fix resetting CARD_CTX.NIIBE Yutaka3-17/+4
2019-08-21scd: Fix switching to another APP.NIIBE Yutaka1-4/+9
2019-08-07scd: Remove fallback mechanism to PC/SC.NIIBE Yutaka1-8/+2
2019-07-25scd: Handle CCID bwi of time extension.NIIBE Yutaka1-1/+6
2019-07-25scd: Fix bBWI value.NIIBE Yutaka1-2/+2
2019-07-22scd: Error code map fix for older Yubikey.NIIBE Yutaka1-0/+1
2019-07-19scd: Support "[CHV3]" attribute for keyid string.NIIBE Yutaka1-3/+2
2019-07-12scd: Remove useless GNUPG_SCD_MAIN_HEADER macro.Werner Koch3-16/+7
2019-07-11scd: Fix internal CCID driver, so that -DTEST works.NIIBE Yutaka1-42/+55
2019-07-11scd: Fix debug logging of the internal CCID driver.NIIBE Yutaka1-4/+9
2019-07-09scd: ccid-driver: Initial getting ATR more robustly.NIIBE Yutaka1-18/+39
2019-07-08scd: Fix keygrip search.NIIBE Yutaka1-1/+3
2019-06-25scd: Do not conflict if a card with another serialno is demanded.Werner Koch3-10/+26