Timeline

156 check-ins using file cackey_spm.h version 8f907a66a1

2011-08-24
03:36
Corrected typo check-in: 8cb81a67c7 user: rkeene tags: trunk
03:35
Updated to deal with comparing the MODULUS attribute with non-exact matches check-in: d689039e52 user: rkeene tags: trunk
01:46
Updated Mac OS X build scripts check-in: e8be04d9cf user: rkeene tags: trunk
2011-07-21
21:12
Fixed bug in rpm2deb for x86_64 check-in: def14c0dc3 user: rkeene tags: trunk
2011-06-17
06:26
Corrected small issues check-in: 80df9c1ff5 user: rkeene tags: trunk
2011-01-12
15:29
Updated to remove duplicate file (causes problems on case-insensitive filesystems) check-in: e0a76b9d35 user: rkeene tags: trunk
2010-10-27
23:30
Fixed Snow Leopard OSX CACKey Package Build Issue check-in: 17538042d7 user: kvanals tags: trunk
22:39
Corrected directory permissions on CACKey OSX Package check-in: df48b96fd1 user: kvanals tags: trunk
22:22
Added Snow Leopard Host Build Support for CACKey OSX Build Scripts check-in: c44a109dc7 user: kvanals tags: trunk
2010-10-21
03:43
CACKey 0.5.21 check-in: 89933f697d user: rkeene tags: 0.5.21, trunk
03:32
Updated to leave Win32 build scripts in place for release check-in: 35b6d2498d user: rkeene tags: trunk
2010-10-20
22:22
Added missing libz.a check-in: 81d58547cf user: rkeene tags: trunk
2010-10-15
17:56
Updated Win32 build script to use relative paths check-in: f238396b29 user: rkeene tags: trunk
10:27
Fixed issue with win32 build script

Updated ignores check-in: 81e42b32af user: rkeene tags: trunk

10:20
Added local definitions of T=1 and T=0 protocols on Win32 build (seems to be missing from library) check-in: c3a8fe4086 user: rkeene tags: trunk
09:53
Added mostly-compiling Win32 support

Added local copy of RSA PKCS#11 check-in: ec1f93c869 user: rkeene tags: trunk

2010-10-10
09:10
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 check-in: 8aec474c2b user: rkeene tags: 0.5.20, trunk

2010-08-02
16:05
CACKey 0.5.19 check-in: 25c710f288 user: rkeene tags: 0.5.19, trunk
16:04
Updated CACKey Mac OS X Template XML Files to change file mode check-in: 5d16c0176e user: kvanals tags: trunk
05:04
Updated CACKey Mac OS X Build to support postinstall scripts check-in: 3e27b1140f user: kvanals tags: trunk
03:58
Added postinstall scripts for Mac OS X build of CACKey check-in: a792c7de90 user: kvanals tags: trunk
03:50
Updated Mac OS X tested platforms for CACKey check-in: 1fbe3ffac3 user: kvanals tags: trunk
2010-07-27
00:05
Updated platforms check-in: 84b477088d user: rkeene tags: trunk
2010-07-26
05:13
Fixed formatting typo in CACKey OSX build script check-in: e3c1df1376 user: kvanals tags: trunk
05:08
Adding tested CACKey OSX Package Build template files check-in: d8c192e92a user: kvanals tags: trunk
05:07
Removing pmdoc files in favor of Template for CACKey OSX build. Updated OSX build script to handle this. check-in: 01d1fb838f user: kvanals tags: trunk
2010-07-24
18:56
Modified OSX cackey build script to support automatically generating UUIDs check-in: 578368c8b1 user: kvanals tags: trunk
18:47
Started preliminary work to support PackageMaker templates for CACKey builds check-in: 34f573e3f8 user: kvanals tags: trunk
2010-07-23
23:08
Added platform build notes check-in: 031f9f08b9 user: rkeene tags: trunk
22:25
CACKey 0.5.18

Fixed issue with reset clean-up marking slot as reset (infinite loop) check-in: aff9dd7ca3 user: rkeene tags: 0.5.18, trunk

22:03
CACKey 0.5.17 check-in: 45a6d087db user: rkeene tags: 0.5.17, trunk
21:58
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 check-in: 84aaf35a0e user: rkeene tags: trunk
21:46
Consolidated slot resetting into a single function.

Updated slot resetting to invalidate slot PC/SC handle. check-in: 1edf82bc16 user: rkeene tags: trunk

21:23
Added timing information to debug output

Fixed issue where readers that were removed and readded weren't connected to properly check-in: e4fd58cbb9 user: rkeene tags: trunk

17:24
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 check-in: 93bc06dab6 user: rkeene tags: trunk

09:08
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 check-in: 9b04a062cc user: rkeene tags: trunk

07:08
Added forgotten Mac OS X PackageMaker contents files check-in: 5dc7094235 user: kvanals tags: trunk
05:56
Updated snapshot to give build an updated version number check-in: a0551b52f7 user: rkeene tags: trunk
2010-07-22
18:57
CACKey 0.5.16 check-in: a066a8770f user: rkeene tags: 0.5.16, trunk
07:48
Removed OSX PackageMaker Contents files from SVN. They are dynamically generated at build-time. check-in: e7fff05894 user: kvanals tags: trunk
07:46
Added XML files for PackageMaker Project OSX CACKey to support installing CACKey in /usr/lib/pkcs11 as wel as /Library/CACKey. check-in: 32918df39a user: kvanals tags: trunk
07:45
Updated OSX CACKey build script to support more descriptive package names.

Updated PackageMaker Document XML files for OSX CACKey build to be better formatted. check-in: 284fc537fc user: kvanals tags: trunk

2010-07-21
21:33
Updated to leave build directory intact on snapshot check-in: 1fed88b8b1 user: rkeene tags: trunk
21:21
Updated to allow use of protocol T=0 or protocol T=1

Fixed minor warning in debug mode check-in: d85f1a762d user: rkeene tags: trunk

2010-07-14
03:59
Corrected typo in version dependency output message. Will be fixed in released packages in next minor release of CACKey. check-in: 63b337f367 user: kvanals tags: trunk
2010-07-13
01:41
Added support for copying libtool from build box and running autogen.sh check-in: 39be32107d user: kvanals tags: trunk
01:13
Updated PackageMaker Build Documents to set permissions correctly check-in: 22e587bc6b user: kvanals tags: trunk
2010-07-12
22:50
Updated usage in OSX build script check-in: 473fc401e3 user: kvanals tags: trunk
22:44
Fixed typos in PackageMaker build templates. check-in: 16ca59a5a2 user: kvanals tags: trunk
22:40
Updated build_osx to build correctly under "build" directory.

Updated pmbuild files to have correct permissions and build correctly under "build" directory. check-in: ee77b32476 user: kvanals tags: trunk

15:54
Removed extraneous Mac OS X files check-in: e32e750733 user: rkeene tags: trunk
15:46
Added tools for building CACKey on Mac OS X check-in: 4b8c40e52b user: kvanals tags: trunk
2010-07-11
07:40
CACKey 0.5.15

Fixed issue with manually specifying header file path check-in: cae3768452 user: rkeene tags: 0.5.15, trunk

07:27
CACKey 0.5.14 check-in: b0c547f735 user: rkeene tags: 0.5.14, trunk
07:27
Added support for allowing users to specify path to headers and libraries check-in: 99d0ae7d47 user: rkeene tags: trunk
07:04
Fixed typo check-in: 340fea6bf9 user: kvanals tags: trunk
06:53
Added support for Mac OS X headers and libraries check-in: 48bd3742a7 user: rkeene tags: trunk
06:32
Updated to include PCSC header "winstype.h"

Updated PCSC header inclusion to be more robust check-in: fea904e63c user: rkeene tags: trunk

2010-06-23
22:13
CACKey 0.5.13

Updated debugging messages check-in: b09d33f9bc user: rkeene tags: 0.5.13, trunk

2010-06-07
19:20
Corrected compiler warning check-in: 2c67b3f70f user: rkeene tags: trunk
17:37
CACKey 0.5.12 check-in: 82a12f1ab0 user: rkeene tags: 0.5.12, trunk
17:35
Updated to correctly handle condition where pSignature is NULL in C_Sign() check-in: 85feb752e1 user: rkeene tags: trunk
08:40
Added a test program to configure script check-in: 8c2970ff5d user: rkeene tags: trunk
04:41
Added LICENSE and README

Renamed aclocal PCSC script

Added warnings for PC/SC libraries and headers not being found check-in: 6e6d64508e user: rkeene tags: trunk

2010-06-05
23:46
Updated to create Debian package from RPM version check-in: 8757ba0280 user: rkeene tags: trunk
20:18
CACKey 0.5.11 check-in: 1a514f86a4 user: rkeene tags: 0.5.11, trunk
20:17
Updated to correctly deep copy pTemplate in C_FindObjectsInit

Added support for CKA_TRUSTED check-in: 965b9a28c7 user: rkeene tags: trunk

2010-06-04
00:21
Added script to build release packages check-in: 6b55b9da2d user: rkeene tags: trunk
2010-06-03
23:34
CACKey 0.5.10 check-in: d1b2e5ea57 user: rkeene tags: 0.5.10, trunk
22:58
Updated to work around issues with loss of connectivity to PC/SC

Updated to re-power card if needed check-in: 55457b92ff user: rkeene tags: trunk

19:16
Corrected issues with compiling without zlib support check-in: bd8ec23325 user: rkeene tags: trunk
2010-05-26
16:01
CACKey 0.5.9 check-in: db42db5d95 user: rkeene tags: 0.5.9, trunk
15:58
Corrected issue with sending wrong APDU for selecting applet, failing on older cards check-in: 68ed2268aa user: rkeene tags: trunk
2010-05-23
07:07
Added more debugging for failed realloc()s

Added ifdefs to support more versions of PCSC in debug mode check-in: 170e3dfda4 user: rkeene tags: trunk

05:36
Updated to strip library more on Linux, and work on Solaris

Updated to try to support more protocols check-in: 5ba02cbd65 user: rkeene tags: trunk

04:17
Updated return code documentation check-in: f337c480d8 user: rkeene tags: trunk
04:00
Removed retry on NOT_TRANSACTED check-in: ab991c0450 user: rkeene tags: trunk
03:42
Updated to retry if got NOT_TRANSACTED

Fixed issue with retry in APDU transmit check-in: 7cc9fb64cc user: rkeene tags: trunk

02:59
Updated to retry APDU in some cases

Updated to recognize when a card is logged out without being switched check-in: 9b8b8e3b4a user: rkeene tags: trunk

2010-05-22
21:31
Updated to set LOGIN_REQUIRED flag when C_Logout is called

Updated to check all references to a session's slot check-in: a08de24384 user: rkeene tags: trunk

18:55
CACKey 0.5.8

Updated specfile with data from coolkey check-in: 46cd43db95 user: rkeene tags: 0.5.8, trunk

18:46
CACKey 0.5.7

Corrected typo in specfile check-in: 356be62ad7 user: rkeene tags: 0.5.7, trunk

18:33
CACKey 0.5.6

Added RPM Spec file check-in: b5db4e9add user: rkeene tags: 0.5.6, trunk

2010-05-21
22:09
Updated comments regarding bug in GDM check-in: dd81bbaf7e user: rkeene tags: trunk
21:09
Added support for more PC/SC errors check-in: a5be7fbdf0 user: rkeene tags: trunk
17:25
Fixed issue with C_Sign updating buffer twice when buffer is too small. check-in: 56e8c0ae09 user: rkeene tags: trunk
15:44
CACKey 0.5.5 check-in: c97d596fa2 user: rkeene tags: 0.5.5, trunk
15:43
Worked around bug in GDM (619297) that rejects a slotid of 0 check-in: 78b2c8546f user: rkeene tags: trunk
15:43
Updated to make target directory tree check-in: 627054cdf0 user: rkeene tags: trunk
00:32
CACKey 0.5.4 check-in: de006af60b user: rkeene tags: 0.5.4, trunk
00:19
Updated to install libraries more gracefully check-in: 215097a90f user: rkeene tags: trunk
00:13
CACKey 0.5.3 check-in: 5de646644f user: rkeene tags: 0.5.3, trunk
2010-05-20
23:45
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 check-in: ef50f6c143 user: rkeene tags: trunk

20:36
CACKey 0.5.2

Updated to install scripts required by autoconf on release check-in: ce8b478d9d user: rkeene tags: 0.5.2, trunk

20:09
CACKey 0.5.1 check-in: a06c5d0dda user: rkeene tags: 0.5.1, trunk
20:08
Fixed missing card reset check-in: d37223bd9d user: rkeene tags: trunk
19:56
CACKey 0.5.0

Updated cackey to support independent releases check-in: 55c89f91a4 user: rkeene tags: 0.5.0, trunk

18:30
Updated to use MAKE environment variable as make command, if present

Updated to autogen cackey check-in: 4688f0e933 user: rkeene tags: trunk

17:58
Fixed issue with signing wrong data check-in: d76d28b9e9 user: rkeene tags: trunk
2010-05-19
22:14
Updated to set SIGN_RECOVER attribute in all objects check-in: af6a31403e user: rkeene tags: trunk
2010-05-18
15:35
Moved PC/SC calls within big global lock check-in: 468216a439 user: rkeene tags: trunk
15:31
Updated to check for token presence using PC/SC rather than probing the CCC

Updated to cache token label check-in: 491b6e0b00 user: rkeene tags: trunk

14:28
Updated to always flush stderr check-in: b8b081a8e4 user: rkeene tags: trunk
14:22
Updated to support CKF_USER_PIN_FINAL_TRY check-in: 0fda67f954 user: rkeene tags: trunk
14:11
Updated to keep track of required token flags check-in: 93bbed97eb user: rkeene tags: trunk
2010-05-17
23:11
Updated debugging output check-in: 824ac1bc2e user: rkeene tags: trunk
22:22
Updated to support unpadding check-in: ebeffd66b4 user: rkeene tags: trunk
21:50
Corrected issue with sign/decrypt buffer sizes check-in: 9aa715ce7f user: rkeene tags: trunk
21:39
Updated to deal with reads of unknown size check-in: a42647e45a user: rkeene tags: trunk
20:20
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 check-in: f276873873 user: rkeene tags: trunk

19:53
Updated to treat a request of read of 0 bytes as a no-op. check-in: 45212cc4ca user: rkeene tags: trunk
19:43
Fixed issues with padding check-in: 66507306f5 user: rkeene tags: trunk
19:37
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) check-in: a2ac84031e user: rkeene tags: trunk

14:55
Added removable device flag to slot info check-in: b4a6b9d685 user: rkeene tags: trunk
14:44
Updated version-script detection macro check-in: 3dee1a5953 user: rkeene tags: trunk
07:19
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 check-in: 26acceb6f2 user: rkeene tags: trunk

06:00
Added missing file from last commit check-in: 70222fd9bf user: rkeene tags: trunk
05:58
Added support for only exporting PKCS#11 symbols globally check-in: a184a05fd1 user: rkeene tags: trunk
05:18
Fixed issue with double-free not being reported if it is the last action recorded check-in: 8a6ff15b3c user: rkeene tags: trunk
05:09
Fixed issue with double-free when PC/SC connection manager is unavailable

Fixed issues found from splint(1) output check-in: c70fbcca60 user: rkeene tags: trunk

05:04
Updated to strip release library

Updated list of headers to check for check-in: b491412695 user: rkeene tags: trunk

04:50
Updated to build both debug library and release library check-in: 0fae105f13 user: rkeene tags: trunk
03:24
Added splint target to makefile check-in: b59eaf52c0 user: rkeene tags: trunk
00:20
Fixed issues with signdecrypt buffer sizes

Centralized reading of identities

Added debugging to determine why wrong applet ID is being stored in identity check-in: eaa9f36a2b user: rkeene tags: trunk

2010-05-15
00:56
Updated leakcheck to require a filename as parameter check-in: 9cf62b20d5 user: rkeene tags: trunk
00:50
Further documentation for the leakcheck tool check-in: a87e5cb815 user: rkeene tags: trunk
00:48
Renamed leakcheck tool

Added documentation for leakcheck tool check-in: 168d86b82b user: rkeene tags: trunk

00:39
Updated to censor PIN in debugging output check-in: 0233c7b5fe user: rkeene tags: trunk
00:34
Added line numbers to debugging output

Added overloaded debugging strdup to check for leaks check-in: 709b50760d user: rkeene tags: trunk

00:25
Updated to select correct applet and file for given identity for sign/decrypt

Added more debugging for selecting a key for sign/decrypt check-in: 9fc3b9fa03 user: rkeene tags: trunk

2010-05-14
23:33
Added untested support for Sign/Decrypt check-in: fc063dd0df user: rkeene tags: trunk
23:11
Fixed memory leaks

Updated to only rescan for identities if a slot reset has been detected check-in: f006b206b1 user: rkeene tags: trunk

22:10
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 check-in: 1b3d82054b user: rkeene tags: trunk

20:50
Added support for reading label from CAC as string check-in: 2f0a97a3f1 user: rkeene tags: trunk
20:49
Added function to convert X.509 DN to string representation check-in: f89918d4df user: rkeene tags: trunk
06:08
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 check-in: b9e3c7741b user: rkeene tags: trunk

03:32
Updated transaction support check-in: c2e40da095 user: rkeene tags: trunk
03:28
Updated transactional support to recursive transactions check-in: 43170e1dd9 user: rkeene tags: trunk
02:34
Put all calls to functions that talk to the smartcard inside the big global mutex check-in: da2b17a36c user: rkeene tags: trunk
02:16
Added transaction support

Updated reading certs to be transactional

Added function to connect to card check-in: fab9cf1772 user: rkeene tags: trunk

00:56
Added comments

Updated buffer name in PRINTBUF to avoid aliases check-in: 11bf77ef42 user: rkeene tags: trunk

2010-05-13
19:23
Removed incorrect comment check-in: a52326f02b user: rkeene tags: trunk
18:57
Updated to pad CAC PIN, as from CoolKey check-in: 95a0d07484 user: rkeene tags: trunk
18:26
Corrected warning check-in: ebb5a279f5 user: rkeene tags: trunk
18:24
Fixed issues with PIN handling check-in: 780bd59a25 user: rkeene tags: trunk
18:22
Updated to use unified return codes check-in: 123c71d946 user: rkeene tags: trunk
16:19
Updated to determine subject from certificate check-in: 5534d640e4 user: rkeene tags: trunk
15:58
Updated to use certificate from identity in attribute finding

Updated to correctly pass certificate number check-in: 9b6cdd281c user: rkeene tags: trunk

00:36
Made DEBUG default build check-in: 9f3d0cb931 user: rkeene tags: trunk
00:03
Added missing cleanup target check-in: 374bb50b7f user: rkeene tags: trunk
2010-05-12
23:58
Moved certificate examination to occur during search initialization

Added support for logging in via PC/SC in C_Login() check-in: 0c536f15c1 user: rkeene tags: trunk

21:52
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 check-in: 06e07b8f0d user: rkeene tags: trunk

19:35
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 check-in: 330efa4f3b user: rkeene tags: trunk

17:25
Updated PC/SC error messages to include text return value as well as numeric value

Minor reorganization check-in: 2d8b4030f7 user: rkeene tags: trunk

14:52
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 check-in: a3d727289c user: rkeene tags: trunk

2010-05-11
16:49
Removed unused variables

Began work towards talking to the smartcard through PC/SC

Began work on a GSC-IS v2.1 SPM implementation check-in: 40726d3b6c user: rkeene tags: trunk