Alessio Di Mauro
|
523ab1d365
|
More YKCS11 tests.
|
2015-11-24 18:56:43 +01:00 |
|
Alessio Di Mauro
|
262f5f4771
|
Make ykcs11 functions pointer global to all tests.
|
2015-11-24 17:02:02 +01:00 |
|
Alessio Di Mauro
|
0f1b05494a
|
Add/fix some prints for tests.
|
2015-11-24 16:52:31 +01:00 |
|
Alessio Di Mauro
|
56415dbc2d
|
Whitespace fix.
|
2015-11-24 16:50:27 +01:00 |
|
Alessio Di Mauro
|
cc8cb59f8c
|
Added infrastructure for hardware tests.
|
2015-11-24 15:30:35 +01:00 |
|
Alessio Di Mauro
|
c0dfbb7377
|
Whitelist retired key IDs.
|
2015-11-24 14:29:38 +01:00 |
|
Alessio Di Mauro
|
8bf407e330
|
YKCS11: report correct version.
|
2015-11-24 14:06:37 +01:00 |
|
Alessio Di Mauro
|
e236803bb1
|
Whitespace fix.
|
2015-11-24 13:13:14 +01:00 |
|
Alessio Di Mauro
|
71dde91fe2
|
Fix some comments.
|
2015-11-24 13:03:18 +01:00 |
|
Alessio Di Mauro
|
d00150ac05
|
Add retired keys to Find operations.
|
2015-11-24 13:01:32 +01:00 |
|
Alessio Di Mauro
|
2d7b8fadc9
|
Capitalize.
|
2015-11-24 11:12:56 +01:00 |
|
Alessio Di Mauro
|
c16aaaa7d0
|
Add retired keys in more places.
|
2015-11-24 11:05:21 +01:00 |
|
Alessio Di Mauro
|
7de6ab1450
|
Add OIDs for retired keys and rearrange.
|
2015-11-23 16:29:17 +01:00 |
|
Alessio Di Mauro
|
11a7d11e48
|
Start adding retired keys to ykcs11.
|
2015-11-20 17:39:33 +01:00 |
|
Alessio Di Mauro
|
8e3314ab42
|
Switch ykcs11 to use private key import from libykpiv.
|
2015-11-19 18:30:58 +01:00 |
|
Alessio Di Mauro
|
b11dcfd14b
|
YKCS11: accept EC keys that are 1 byte shorter.
|
2015-11-19 18:30:58 +01:00 |
|
Alessio Di Mauro
|
4b88b8e8fd
|
Remove debug print.
|
2015-11-12 03:21:58 +01:00 |
|
Alessio Di Mauro
|
a853902bcb
|
YKCS11: more elaborate solution for stripping DER encoding from ECDSA signatures.
It is possible to receive different padding length for r and s, where their length
is [-1, 1] wrt the component lenght. Take this into account.
|
2015-11-12 03:07:35 +01:00 |
|
Alessio Di Mauro
|
89e02dc669
|
YKCS11: Do not call initialize for the YKCS11 tests.
If initialize is called, the test requires a YubiKey with a working
PIV application in order to function.
|
2015-11-12 01:12:36 +01:00 |
|
Alessio Di Mauro
|
51edf57568
|
Ignore more.
|
2015-11-12 01:12:17 +01:00 |
|
Alessio Di Mauro
|
5407eb4c69
|
YKCS11: add basic tests.
Signed-off-by: Alessio Di Mauro <alessio@yubico.com>
|
2015-11-12 00:52:19 +01:00 |
|
Alessio Di Mauro
|
94f8d57af9
|
YKCS11: minor fix.
|
2015-11-06 16:10:35 +01:00 |
|
Alessio Di Mauro
|
46455168a2
|
YKCS11: print out signature related data only if debug is enabled.
|
2015-11-06 16:09:02 +01:00 |
|
Alessio Di Mauro
|
1cdeded831
|
YKCS11: turn off debug by default and make it a configure option (--enable-ykcs11-debug).
|
2015-11-06 15:56:13 +01:00 |
|
Alessio Di Mauro
|
71bd376a39
|
YKCS11: expose module version.
|
2015-11-06 11:02:11 +01:00 |
|
Alessio Di Mauro
|
fc9ebe996f
|
YKCS11: remove some warnings.
|
2015-11-06 11:02:11 +01:00 |
|
Alessio Di Mauro
|
8fa80be0b1
|
Constify.
Whitespace.
|
2015-11-05 17:31:27 +01:00 |
|
Alessio Di Mauro
|
b7be3be4b4
|
YKCS11: add check on buffer length.
|
2015-11-05 17:14:04 +01:00 |
|
Alessio Di Mauro
|
79e651fe58
|
YKCS11: initialize more.
|
2015-11-05 17:05:09 +01:00 |
|
Alessio Di Mauro
|
90acdad481
|
YKCS11: makde DBG variadic in every case.
|
2015-11-05 16:48:19 +01:00 |
|
Alessio Di Mauro
|
69184eeb86
|
YKCS11: remove more messsages
|
2015-11-05 16:46:54 +01:00 |
|
Alessio Di Mauro
|
602208bf20
|
YKCS11: Change DBG to print to stderr.
|
2015-11-05 16:35:15 +01:00 |
|
Alessio Di Mauro
|
98f3462e5e
|
YKCS11: Remove some useless comments.
|
2015-11-05 14:26:29 +01:00 |
|
Alessio Di Mauro
|
f3bd827100
|
YKCS11: add more precondition checks during SingInit.
|
2015-11-05 14:09:22 +01:00 |
|
Alessio Di Mauro
|
83099997c0
|
YKCS11: fix type typo.
|
2015-11-04 17:19:56 +01:00 |
|
Alessio Di Mauro
|
dcc2545a4c
|
YKCS11: added certificate deletion.
|
2015-11-04 14:02:29 +01:00 |
|
Alessio Di Mauro
|
e6bca9b332
|
YKCS11: Suppress some warnings.
|
2015-10-28 11:43:41 +01:00 |
|
Alessio Di Mauro
|
12e0594406
|
Indent.
|
2015-10-28 11:36:55 +01:00 |
|
Alessio Di Mauro
|
b7c0e8ea6b
|
YKCS11: added support for touch and PIN policy during generate.
|
2015-10-28 11:34:42 +01:00 |
|
Alessio Di Mauro
|
a9ddf3e3b2
|
Added support for touch and change policy during key import.
|
2015-10-27 17:33:30 +01:00 |
|
Alessio Di Mauro
|
4f12dc41e9
|
YKCS11: Added raw certificate extraction.
|
2015-10-23 19:43:36 +02:00 |
|
Klas Lindfors
|
aff57db279
|
export functions for mac correctly
C_ matches what we should export for pkcs11
|
2015-10-23 00:08:24 +02:00 |
|
Alessio Di Mauro
|
a24727fd44
|
Move login into common functions.
|
2015-09-24 11:40:17 +02:00 |
|
Alessio Di Mauro
|
29bddc33b4
|
Fix return value check on parse_readers.
|
2015-09-24 11:39:47 +02:00 |
|
Alessio Di Mauro
|
4b668502ee
|
Minor fixes.
|
2015-09-17 17:05:29 +02:00 |
|
Alessio Di Mauro
|
bae1005fb4
|
Export more info for EC keys too.
|
2015-09-17 16:46:58 +02:00 |
|
Alessio Di Mauro
|
2ea35bbd18
|
Export more public key parameters.
|
2015-09-17 16:46:58 +02:00 |
|
Alessio Di Mauro
|
a6a6c0900c
|
Fix some warnings.
|
2015-09-09 16:33:04 +02:00 |
|
Alessio Di Mauro
|
bd6e6db138
|
Add parsing of model number.
|
2015-09-09 16:31:25 +02:00 |
|
Alessio Di Mauro
|
8f3e9230f3
|
Remove get slot description and use the reader string from pcsclite.
|
2015-09-09 15:54:16 +02:00 |
|