File History

Ancestors of file cackey.c from check-in fbed2df898

2017-03-09
02:41
[de5cf6edd0] part of check-in [fbed2df898] Updated to try more application IDs for CACs (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2016-02-26
18:42
[3a53605d32] part of check-in [bf8001bc42] Updated to workaround a bug in Google's PCSC implementation where SCardStatus() requires a reader parameter (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:36
[bf13559221] part of check-in [7272e3d08a] Added additional debugging information for SCardTransmit() being done successfully (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:36
[36cd71f6ea] part of check-in [dc38d00e61] Updated to supply a pioRecvPci parameter to SCardTransmit(), needed by Google's PCSC implementation (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:35
[efec2691f8] part of check-in [b512a6df69] Corrected typo in debug message (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2016-02-16
23:24
[6db8eb96eb] part of check-in [fdd66a54cd] Simplified some slot disconnect logic and updated to store an ID type hint on the slot itself so that if we reinitialize we treat it as the same type of device (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
17:04
[ebe379d38c] part of check-in [6218cc54fc] Added workaround for Google's PCSC where we cannot determine the amount of space required to hold the reader list automatically (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
16:06
[3b58f20dd7] part of check-in [54d3a148ef] Fixed an issue where the mutex released slightly too early (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
16:06
[ef984b4aeb] part of check-in [9f8b1347d9] Better handling of loss of connection to the PCSC daemon or card resetting (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2016-02-15
08:31
[6bf4e65a64] part of check-in [ecd7178afb] Updated to print an error in debug mode if we run across compressed certificates without zlib support available (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
07:49
[788bc7d9fe] part of check-in [43490cab39] Minor cleanup (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2016-02-12
03:47
[b22c79f8b7] part of check-in [bd977f41d5] Renamed our C_Login() function with a mutex arg to be a less annoying name (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2016-02-11
18:31
[0be1a03436] part of check-in [c18406ef3e] Started working on fixing an issue where if no hardware slots are present the internal slots would not show up (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-08-30
03:21
[7fc12e8cff] part of check-in [ce2ae07c02] Updated to use older mechanism for activating gzip support in zlib, to support zlib older than zlib 1.2.4 (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-07-24
15:11
[486977c92e] part of check-in [75b2699549] Better cleanup now that we exclude some bytes in debug printing buffer (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
04:11
[a17e1982da] part of check-in [8299a1c4f7] Further failure to free on error repaired and start of AFL testing code added. (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
04:07
[aa058371f0] part of check-in [846e77f0f5] Added more fixes for memory leaks or use of uninitialized memory (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-07-23
20:45
[c129398723] part of check-in [633a24960e] Fixed a couple of issues found setting up test cases for the AFL fuzzer (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:28
[0922233e4d] part of check-in [30f9879615] Merged in reader filtering (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:25
[029de9965c] part of check-in [b6e428f68c] Updated to reset if signing fails and hope for the best afterwards (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-07-17
02:53
[609a23ada9] part of check-in [9723187878] Made 0x6d00 wrong instruction handling handling also work for CACs (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-07-16
16:18
[06b013b460] part of check-in [4e30511f94] Updated to retry login if it fails with a 6D 00 (wrong instruction) (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-07-15
20:05
[3a0d4abad4] part of check-in [b5ecb7c2d6] Added support for updating the PIN (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-03-05
17:49
[65139610e9] part of check-in [bc60cf4dca] Updated to set the output size after decompressing a certificate (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
17:40
[a840779390] part of check-in [4f5638aabf] Updated to use fewer APDUs when signing/decrypting (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
16:09
[6ee4372cd9] part of check-in [47251b740c] Removed extraneous code (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
16:06
[f036f2ae53] part of check-in [614742ca67] Updated to deal with reading impossibly small TLV buffers sanely (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:48
[7a1e8d322f] part of check-in [e4a2e1c560] Added debugging to ASN.1 X.509 parser, added support for gzip'd certificates, and fixed a possible non-deterministic case with realloc(0) (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-03-18
04:33
Added [fd9c15d1e5] part of check-in [42891ae8ca] Updated to work with pclose() failures (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-03-14
14:30
Added [3de1a30e4b] part of check-in [8ba93699b4] Merged in changes from PIV (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-01-17
13:35
Added [6eb21adaf8] part of check-in [afd6df445d] Work towards fixing listing of slots to not list redundant slots (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2013-10-17
20:29
Added [e6fa629162] part of check-in [3e5963d5d9] Merged in PIV support (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2013-08-14
04:40
Added [967c6f655f] part of check-in [b6863060d8] Updated to allow compilation excluding DoD certificates (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2013-01-18
15:11
Added [5df163c7aa] part of check-in [0e0490e060] Added support for compiling in a default debug log file (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2013-01-15
14:11
Added [6307d2f89c] part of check-in [402217513a] Updated debugging messages to be written in a single fprintf() call in an attempt to avoid having them intermingled when written from multiple threads (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-07-30
05:06
Added [3db9c71bd5] part of check-in [a5af46b2b5] Updated to cache certificate information

Added a C_FindObject() speed test macro

Updated to reset slot less frequently (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2012-07-27
18:39
Added [984e852cb7] part of check-in [8a57ac5688] Moved computation of number of objects per DoD cert into the cackey_read_dod_identities() function (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:29
Added [c4124c11f6] part of check-in [af692c90b0] Initialized variables we pass into PC/SC (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:29
Added [c41337ffcb] part of check-in [e491e4b5f9] Removed extraneous parameter of cackey_read_dod_identities() (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:27
Added [2007da4548] part of check-in [3efa328414] Fixed bug where DoD certs were overwriting random parts of memory causing strange bugs, fixes [b9306c2b35] (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-07-25
02:31
Added [0661f619de] part of check-in [cca6a7fec4] Merged in "dodcerts-on-seperate-slot" branch (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-07-20
01:04
Added [1be2f8a22e] part of check-in [c634e02a7f] Corrected casting to for %p formatting (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
00:53
Added [0c7ae7a3d1] part of check-in [9bed3538e1] Corrected type-punning issue (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-07-19
18:03
Added [556e3f5257] part of check-in [b9df324b66] Added support for logging to a file using CACKEY_DEBUG_LOGFILE environment variable (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:03
Added [f9930320b1] part of check-in [ecfb2af250] Corrected type for debugging certificates (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-05-09
16:38
Added [dce840ec61] part of check-in [638b5f52a7] Updated to print attribute type as string in lookups

Updated to include public key objects for DoD certificates (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

16:22
Added [5510d07f5c] part of check-in [30d36fdd77] Added support for CKO_PUBLIC_KEY objects (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-04-26
01:10
Added [6206331092] part of check-in [b9bcff12a6] Updated to support an environment variable named CACKEY_NO_EXTRA_CERTS to inhibit DoD certs from being presented (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-04-21
01:14
Added [e9059b3fc8] part of check-in [dbd79de227] Fixed issue with C_GetMechanismList rejecting valid buffer sizes (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
01:13
Added [0c1884cff7] part of check-in [66ea8c8073] Fixed issue with C_GetMechanismList reporting wrong number of mechanisms when asked (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2012-02-12
06:26
Added [498d154f21] part of check-in [b673394c9a] Stopped reporting CKM_SHA1_RSA_PKCS as a supported mechanism -- it was never actually supported (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2011-09-08
01:47
Added [09dbb17ef5] part of check-in [02f5cea2da] CACKey 0.6.2

Updated to include sha1.c, md5.c, and asn1-x509.c in the cackey.c translation unit so that these symbols never get exported and conflict with existing programs

Updated to try harder to remove and weaken symbols from shared object (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2011-08-26
05:29
Added [e7404c7b1a] part of check-in [5027cbae9b] Updated to include DoD root CAs as objects in the PKCS#11 module

Updated to include Netscape Trust Objects (https://developer.mozilla.org/index.php?title=en/NSS/PKCS_%2311_Netscape_Trust) in PKCS#11 module

Added more attributes to scan for to test driver (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2011-08-24
03:35
Added [05aec72ac3] part of check-in [d689039e52] Updated to deal with comparing the MODULUS attribute with non-exact matches (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2011-06-17
06:26
Added [375972947e] part of check-in [80df9c1ff5] Corrected small issues (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-10-15
09:53
Added [426f7e236e] part of check-in [ec1f93c869] Added mostly-compiling Win32 support

Added local copy of RSA PKCS#11 (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-10-10
09:10
Added [195b1c0ba3] part of check-in [8aec474c2b] CACKey 0.5.20

Updated CACKey to not require pReserved to be set to NULL

Fixed bug where Sign and Decrypt operations would not terminate correctly (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-07-23
22:25
Added [8363ed8d3c] part of check-in [aff9dd7ca3] CACKey 0.5.18

Fixed issue with reset clean-up marking slot as reset (infinite loop) (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

21:58
Added [831193de85] part of check-in [84aaf35a0e] Updated to call SCardDisconnect if we detect a previously connected slot -- this fixes a regression in the previous commit where a smartcard would not function after being inserted, removed, and reinserted (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
21:46
Added [6b202c653c] part of check-in [1edf82bc16] Consolidated slot resetting into a single function.

Updated slot resetting to invalidate slot PC/SC handle. (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

21:23
Added [5667b1108e] part of check-in [e4fd58cbb9] Added timing information to debug output

Fixed issue where readers that were removed and readded weren't connected to properly (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

17:24
Added [5f33c366a8] part of check-in [93bc06dab6] Fixed retry on NOT_TRANSACTED to retry at a higher level

Consolidated all SCardReconnect calls into a wrapper that takes care of T=0 or T=1 selection (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

09:08
Added [4c31fc86bf] part of check-in [9b04a062cc] Fixed bug with selecting between T=0 and T=1 protocol and card going to sleep

Fixed bug with soft-transactions

Updated soft-transactions to re-lock hardware card if possible (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-07-21
21:21
Added [5676179bd7] part of check-in [d85f1a762d] Updated to allow use of protocol T=0 or protocol T=1

Fixed minor warning in debug mode (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-07-11
06:32
Added [ecdd31141d] part of check-in [fea904e63c] Updated to include PCSC header "winstype.h"

Updated PCSC header inclusion to be more robust (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-06-23
22:13
Added [c6e4c2b8b9] part of check-in [b09d33f9bc] CACKey 0.5.13

Updated debugging messages (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-06-07
19:20
Added [7d1ac77f37] part of check-in [2c67b3f70f] Corrected compiler warning (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
17:35
Added [b61b0b2a2f] part of check-in [85feb752e1] Updated to correctly handle condition where pSignature is NULL in C_Sign() (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-06-05
20:17
Added [c16f533241] part of check-in [965b9a28c7] Updated to correctly deep copy pTemplate in C_FindObjectsInit

Added support for CKA_TRUSTED (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-06-03
22:58
Added [67b5263486] part of check-in [55457b92ff] Updated to work around issues with loss of connectivity to PC/SC

Updated to re-power card if needed (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

19:16
Added [1e8e0d368b] part of check-in [bd8ec23325] Corrected issues with compiling without zlib support (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-26
15:58
Added [595ac3f06f] part of check-in [68ed2268aa] Corrected issue with sending wrong APDU for selecting applet, failing on older cards (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-23
07:07
Added [c8c7e5c610] part of check-in [170e3dfda4] Added more debugging for failed realloc()s

Added ifdefs to support more versions of PCSC in debug mode (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

05:36
Added [5e1ae9e427] part of check-in [5ba02cbd65] Updated to strip library more on Linux, and work on Solaris

Updated to try to support more protocols (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

04:17
Added [60d21a7b2f] part of check-in [f337c480d8] Updated return code documentation (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
04:00
Added [a75c87a979] part of check-in [ab991c0450] Removed retry on NOT_TRANSACTED (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
03:42
Added [c59120c23a] part of check-in [7cc9fb64cc] Updated to retry if got NOT_TRANSACTED

Fixed issue with retry in APDU transmit (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

02:59
Added [6811fa6136] part of check-in [9b8b8e3b4a] Updated to retry APDU in some cases

Updated to recognize when a card is logged out without being switched (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-22
21:31
Added [26bb9837f1] part of check-in [a08de24384] Updated to set LOGIN_REQUIRED flag when C_Logout is called

Updated to check all references to a session's slot (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-21
22:09
Added [ca30d967da] part of check-in [dd81bbaf7e] Updated comments regarding bug in GDM (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
21:09
Added [087ebbfb5f] part of check-in [a5be7fbdf0] Added support for more PC/SC errors (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
17:25
Added [2531c8311d] part of check-in [56e8c0ae09] Fixed issue with C_Sign updating buffer twice when buffer is too small. (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:43
Added [a529afaf0b] part of check-in [78b2c8546f] Worked around bug in GDM (619297) that rejects a slotid of 0 (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-20
23:45
Added [1aac84790e] part of check-in [ef50f6c143] Corrected unpadding

Changed label to be generated, rather than derived from card

Added support for reading the modulus and exponent from an X.509 certificate

Added additional attributes (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

20:08
Added [4ec2269ed9] part of check-in [d37223bd9d] Fixed missing card reset (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
17:58
Added [93de8e257c] part of check-in [d76d28b9e9] Fixed issue with signing wrong data (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-19
22:14
Added [24493cef2c] part of check-in [af6a31403e] Updated to set SIGN_RECOVER attribute in all objects (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-18
15:35
Added [47f51881b0] part of check-in [468216a439] Moved PC/SC calls within big global lock (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:31
Added [f66c56f731] part of check-in [491b6e0b00] Updated to check for token presence using PC/SC rather than probing the CCC

Updated to cache token label (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

14:28
Added [a15198f18c] part of check-in [b8b081a8e4] Updated to always flush stderr (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
14:22
Added [53e2f62fc8] part of check-in [0fda67f954] Updated to support CKF_USER_PIN_FINAL_TRY (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
14:11
Added [86c9a91f33] part of check-in [93bbed97eb] Updated to keep track of required token flags (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
2010-05-17
23:11
Added [806bbf2a79] part of check-in [824ac1bc2e] Updated debugging output (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
22:22
Added [b1f39a9840] part of check-in [ebeffd66b4] Updated to support unpadding (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
21:50
Added [6f8796b70d] part of check-in [9aa715ce7f] Corrected issue with sign/decrypt buffer sizes (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
21:39
Added [ace314276a] part of check-in [a42647e45a] Updated to deal with reads of unknown size (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
20:20
Added [c23e82a84b] part of check-in [f276873873] Updated to not set "Le" when asking to sign/decrypt (discovered from ActivClient APDU dump)

Reverted last commit where reads of 0 bytes were converted to no-ops (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

19:53
Added [84da4e7494] part of check-in [45212cc4ca] Updated to treat a request of read of 0 bytes as a no-op. (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
19:43
Added [64d4505a46] part of check-in [66507306f5] Fixed issues with padding (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
19:37
Added [e6d26b97df] part of check-in [a2ac84031e] Updated to support determining key size from X.509 object (untested)

Updated to set HW TOKEN flag

Updated to pad sign/decrypt message to key size (untested) (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

14:55
Added [6b8855e22d] part of check-in [b4a6b9d685] Added removable device flag to slot info (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
07:19
Added [9bef8e6303] part of check-in [26acceb6f2] Updated PC/SC identity member of cackey identity name to be more descriptive

Added more sanity checks

Updated to populate pcsc_identity structure of cackey identity from certificate information (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

05:09
Added [ddbf6476ef] part of check-in [c70fbcca60] Fixed issue with double-free when PC/SC connection manager is unavailable

Fixed issues found from splint(1) output (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

00:20
Added [4cc11579bd] part of check-in [eaa9f36a2b] Fixed issues with signdecrypt buffer sizes

Centralized reading of identities

Added debugging to determine why wrong applet ID is being stored in identity (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-15
00:39
Added [e8f3ee7748] part of check-in [0233c7b5fe] Updated to censor PIN in debugging output (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
00:34
Added [e77001954d] part of check-in [709b50760d] Added line numbers to debugging output

Added overloaded debugging strdup to check for leaks (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

00:25
Added [36bd79ba26] part of check-in [9fc3b9fa03] Updated to select correct applet and file for given identity for sign/decrypt

Added more debugging for selecting a key for sign/decrypt (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-14
23:33
Added [4487b6bfe2] part of check-in [fc063dd0df] Added untested support for Sign/Decrypt (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
23:11
Added [ab26d90d17] part of check-in [f006b206b1] Fixed memory leaks

Updated to only rescan for identities if a slot reset has been detected (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

22:10
Added [97ac9efbb9] part of check-in [1b3d82054b] Wrote function for freeing identities

Wrote function for determining label from identity

Consolidated freeing of identities to use new function

Consolidated label lookups to use new function

Fixed bug with releasing identities, but not reducing the number of identities (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

20:50
Added [be5fbbbf72] part of check-in [2f0a97a3f1] Added support for reading label from CAC as string (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
06:08
Added [941bf5cf9b] part of check-in [b9e3c7741b] Updated to decompress certificates

Updated to correctly process TLV elements -- fixes bug where iterated past them when processing

Updated to correclty process TLV element total length (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

03:32
Added [884439a73b] part of check-in [c2e40da095] Updated transaction support (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
03:28
Added [0fee951b43] part of check-in [43170e1dd9] Updated transactional support to recursive transactions (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
02:34
Added [38178200a5] part of check-in [da2b17a36c] Put all calls to functions that talk to the smartcard inside the big global mutex (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
02:16
Added [4f1f703fd4] part of check-in [fab9cf1772] Added transaction support

Updated reading certs to be transactional

Added function to connect to card (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

00:56
Added [b9a7131d32] part of check-in [11bf77ef42] Added comments

Updated buffer name in PRINTBUF to avoid aliases (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-13
19:23
Added [95e7747218] part of check-in [a52326f02b] Removed incorrect comment (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:57
Added [4922b8062e] part of check-in [95a0d07484] Updated to pad CAC PIN, as from CoolKey (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:22
Added [65f29eb7d2] part of check-in [123c71d946] Updated to use unified return codes (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
16:19
Added [cf1bec3529] part of check-in [5534d640e4] Updated to determine subject from certificate (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:58
Added [2223838f44] part of check-in [9b6cdd281c] Updated to use certificate from identity in attribute finding

Updated to correctly pass certificate number (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-12
23:58
Added [cd6ed6e22a] part of check-in [0c536f15c1] Moved certificate examination to occur during search initialization

Added support for logging in via PC/SC in C_Login() (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

21:52
Added [80414011fe] part of check-in [06e07b8f0d] Added routines for reading certificates

Updated OpenSession to use PC/SC certificates

Comment and debugging update

Updated to read in larger chunks to improve speed (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

19:35
Added [e9e3a11241] part of check-in [330efa4f3b] Updated ignores

Updated read_tlv to return a list

Added a free_tlv function

Updated value->str conversion functions to be more flexible/direct

Added sample code to select all PKI applets/files

Simplified TLV entity (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

17:25
Added [d5b94d106d] part of check-in [2d8b4030f7] Updated PC/SC error messages to include text return value as well as numeric value

Minor reorganization (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

14:52
Added [c365c15fc9] part of check-in [a3d727289c] Added test driver (from libssh-agent-pkcs11-provider)

Added basic ASN.1 X.509 BER decoder (from libssh-agent-pkcs11-provider)

Work towards updating CACKey to talk to CAC using PC/SC (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-11
16:49
Added [efb7accc6b] part of check-in [40726d3b6c] Removed unused variables

Began work towards talking to the smartcard through PC/SC

Began work on a GSC-IS v2.1 SPM implementation (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

2010-05-04
19:04
Added [f34f4e9e63] part of check-in [074f157a6a] Copied SSH Agent PKCS11 Provider to CACKey for use as a base (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]
18:30
Added [02188b8075] part of check-in [8a2230f927] Added checks for PCSC Header

Updated ignores (user: rkeene branch: trunk) [annotate] [blame] [check-ins using] [diff]

18:05
Added [5d2cb9e273] part of check-in [5f05cafcb7] Added CACKey project (user: rkeene branch: trunk) [annotate] [blame] [check-ins using]