Commit Graph

1408 Commits

Author SHA1 Message Date
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 4849e494be Add retired key definitions to libykpiv.
Include retired keys in import_key's check.
2015-11-20 15:44:19 +01:00
Alessio Di Mauro 3b81112aeb Change behavior of yubico-piv-tool -a status.
Status only prints information from populated slots. Additionally,
it is possible to explicitly choose a single slot and only print
information reagarding it.
2015-11-20 15:44:19 +01:00
Alessio Di Mauro fe56e288d9 Bump libtool version. 2015-11-20 15:44:19 +01:00
Klas Lindfors ed38b96fe4 raise buffer sizes and remove a miss-leading error 2015-11-20 13:14:55 +01:00
Alessio Di Mauro 113c3e0b98 Whitespace cleanup. 2015-11-20 12:03:02 +01:00
Alessio Di Mauro abc94bc62a Refactor yubico-piv-tool to use import_private_key from libykpiv. 2015-11-20 11:49:30 +01:00
Alessio Di Mauro e39b203d66 Remove leftover print. 2015-11-20 11:45:35 +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 6269280578 Add import private key to libykpiv. 2015-11-19 18:30:58 +01:00
Alessio Di Mauro 9b16e20807 Export ykpiv_import_private_key globally. 2015-11-19 18:30:58 +01:00
Alessio Di Mauro b6d4238856 Initial work on doing padding internally 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
Klas Lindfors 55351c0dc1 Merge pull request #36 from akgood/master
Use @loader_path rather than @executable_path for OS X dylib paths
2015-11-19 08:52:15 +01:00
Adam Goodman 87b461be99 except, continue using @executable_path for yubico-piv-tool itself 2015-11-18 10:24:18 -05:00
Klas Lindfors 32e66f4fc6 add attest action 2015-11-18 13:42:11 +01:00
Klas Lindfors 0dc8d13922 add f9 slot for attestation 2015-11-18 13:20:41 +01:00
Adam Goodman 9bf58fe335 YKCS11: On OS X, use @loader_path rather than @executable_path for dylib paths 2015-11-16 17:07:46 -05:00
Klas Lindfors e07ddaf08b bump LT_REVISION for version bump 2015-11-16 09:24:22 +01:00
Alessio Di Mauro 2b7cbf2e0a Bump version.
Signed-off-by: Alessio Di Mauro <alessio@yubico.com>
2015-11-14 10:23:38 +01:00
Alessio Di Mauro 5fbaae0d46 Version 1.1.2.
Signed-off-by: Alessio Di Mauro <alessio@yubico.com>
2015-11-13 15:29:52 +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 b103262b83 Ignore more. 2015-11-12 00:57:06 +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 39aebf963d Bump version. 2015-11-11 17:12:48 +01:00
Klas Lindfors 41b3b50613 always reset the context to SCARD_INVALID_CONTEXT after release 2015-11-11 15:02:55 +01:00
Alessio Di Mauro f2a3a3acc1 YKPIV: Make sure that context is established only if it is invalid. 2015-11-10 15:36:35 +01:00
Alessio Di Mauro c49f1f0c51 Added reference to PKCS#11 specs in the docs. 2015-11-09 11:42:42 +01:00
Alessio Di Mauro 7b7cb032b1 Reword NEWS file. 2015-11-06 21:26:34 +01:00
Alessio Di Mauro 0929eb63a8 Bump version. 2015-11-06 16:54:20 +01:00
Alessio Di Mauro 812ee1cef3 Fix docs. 2015-11-06 16:53:30 +01:00
Alessio Di Mauro fd09f97ce1 Apparently order matters. 2015-11-06 16:46:12 +01:00
Alessio Di Mauro 663ee980e6 Add ykcs11 release notes to automake. 2015-11-06 16:41:06 +01:00
Alessio Di Mauro 786faf8c4a Merge branch 'development' into githubmaster 2015-11-06 16:25:10 +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