Commit Graph

809 Commits

Author SHA1 Message Date
Klas Lindfors 60dbac235d unblock pin should unblock pin, not change puk 2016-04-18 21:43:34 +02:00
Klas Lindfors c28d88a1d9 add some documentation for attestation 2016-03-31 13:34:54 +02:00
Klas Lindfors abbd695ee1 change wording in help text
authentication key -> management key
2016-03-31 10:36:48 +02:00
Klas Lindfors f1affdbb89 clearer text on --help and --verbose add example of touch-policy 2016-03-23 09:45:58 +01:00
Klas Lindfors 9fcf2196b2 clarify --new-key 2016-03-18 08:35:48 +01:00
Klas Lindfors 19b87dc6a7 newer openssl for windows and mac 2016-03-18 08:35:48 +01:00
Klas Lindfors f5fab7e962 add ykpiv touchpolicy to ykpiv 2016-03-17 12:29:25 +01:00
Klas Lindfors 189fe723f1 add YKPIV_KEY_ATTESTATION to ykpiv_import_key() 2016-03-17 12:29:13 +01:00
Klas Lindfors 7aa6ac93e6 add touch-policy cached 2016-03-17 10:52:03 +01:00
Klas Lindfors 4c74ebdc56 actually open output_file in attest() 2016-03-17 10:21:18 +01:00
Klas Lindfors bfc3185e9b Merge branch 'master' into attestation2 2016-03-10 15:34:25 +01:00
Klas Lindfors d52b8bd3ef bump openssl to 1.0.1r 2016-02-19 12:40:23 +01:00
Klas Lindfors f51c42f2d8 bump version to 1.3.1 2016-02-19 12:40:18 +01:00
Klas Lindfors d6014ce575 NEWS for 1.3.0 2016-02-19 12:30:13 +01:00
Klas Lindfors 90f23029e1 make step unsigned in dump_data()
since it's muliplied with another unsigned int
2016-02-15 09:29:05 +01:00
Klas Lindfors 53667a22b0 Move asking for PKCS12 password outside of import_key()
also restructure a bit when deciding to do authentication

relates #66
2016-02-15 09:24:36 +01:00
Klas Lindfors d3a75cc6ee Merge pull request #65 from mattmoyer/add-self-signed-cert-options
Add options for configuring self-signed certs.
2016-02-15 08:48:19 +01:00
Klas Lindfors a233ff53ae if the password supplied for PKCS12 doesn't verify ask for a new one
or if it's NULL and the mac doesn't verify with that either..

fixes #66
2016-02-15 08:43:45 +01:00
Matt Moyer d39b697d49 Drop const from these these int parameters. 2016-02-12 09:01:12 -06:00
Matt Moyer f91cf3379a Add a --serial parameter to yubico-piv-tool.
Allows the serial number of self signed certificates to be configured.
2016-02-10 17:40:12 -06:00
Matt Moyer 98f843e7e7 Add a --valid-days parameter to yubico-piv-tool.
Allows the expiration date (notAfter) value of self signed certificates to be configured.
2016-02-10 17:35:21 -06:00
Alessio Di Mauro 69b686d9b9 Merge pull request #62 from denisenkom/win-fixes
Fix Win64 building problems for ykcs11.
2016-01-18 09:55:21 +01:00
Mikhail Denisenko 47cb761a7e Fix bugs windows 2016-01-14 11:03:22 -05:00
Alessio Di Mauro 39f5dbd119 Typo. 2016-01-11 12:49:58 +01:00
Alessio Di Mauro 58766ac403 Whitespace fix. 2016-01-11 12:49:15 +01:00
Alessio Di Mauro 018821e99d Addresses #59, ykcs11 still has issues on Win64. 2016-01-11 12:45:09 +01:00
Alessio Di Mauro 8d29845b51 Remove unnecessary fields from ykpiv_state. 2016-01-11 12:44:43 +01:00
Alessio Di Mauro b08de95597 Remove some clutter. 2015-12-24 10:50:36 +01:00
Alessio Di Mauro ecfc71fab0 Print CCC with status action. Relates to #57. 2015-12-24 10:50:05 +01:00
Klas Lindfors abcce21353 Merge remote-tracking branch 'origin/generic_objects' 2015-12-21 10:42:38 +01:00
Klas Lindfors ab68b53b5c rework dump_data() to keep an internal buffer
and only fprintf() once
2015-12-17 14:11:02 +01:00
Klas Lindfors d8bda22cdd rework inout test to use pipes for emulating files 2015-12-17 10:18:01 +01:00
Klas Lindfors 73585f2416 use unsigned long for len 2015-12-17 09:55:20 +01:00
Klas Lindfors 3f874dd147 don't use tmpfile(), it's broken on windows 2015-12-17 09:54:52 +01:00
Klas Lindfors e2f8ad21aa add a simple test case for the dump/read data functions 2015-12-17 09:27:20 +01:00
Klas Lindfors c89387e8fc add libykpiv as a dependency for libpiv_util 2015-12-15 10:43:29 +01:00
Klas Lindfors a143c6d67d remove the util function dump_hex() in favor of dump_data() 2015-12-15 10:27:54 +01:00
Klas Lindfors 30cc13aaff add format for read/write object as hex/base64/binary
relates #31
2015-12-15 10:22:11 +01:00
Klas Lindfors e71c3b5337 util depends on stdbool 2015-12-15 09:28:42 +01:00
Klas Lindfors 24d9569f65 more work on automake dependencies to rebuild things correctly
relates #53
2015-12-15 09:23:04 +01:00
Klas Lindfors 1c2d98b16d use top_builddir for relations between dirs 2015-12-14 12:54:25 +01:00
Klas Lindfors fc4443aca7 add configure.ac as a dependency of the yubico-piv-tool binary
since if version number changes it should be rebuilt
relates #53
2015-12-14 12:53:18 +01:00
Klas Lindfors 35c449e374 change multiplication of minor to 10 so we don't overflow
possibly temporary fix..
2015-12-14 12:48:28 +01:00
Klas Lindfors d3b271cd9e next version will be 1.3.0 since new interfaces where added
also fixup map file to show 1.2.0 correctly
2015-12-14 12:22:13 +01:00
Klas Lindfors a4ee5725b8 add generic write and read object actions for the tool
this take in/out hex dump of the data
2015-12-14 10:55:32 +01:00
Alessio Di Mauro 63b8b43bef Bump LT version. 2015-12-11 12:18:23 -08:00
Alessio Di Mauro f3520c44c5 Fixup ykpiv exports and untabify. 2015-12-11 12:17:57 -08:00
Alessio Di Mauro 48ac9bb156 Merge pull request #51 from denisenkom/misc-bugfixes
Implement explicit pin management in libykpiv and expose it through C_SetPIN in ykcs11.
2015-12-11 12:11:47 -08:00
Mikhail Denisenko 6042a2140e Implemented C_SetPIN 2015-12-11 13:23:38 -05:00
Alessio Di Mauro fb28d56a07 Merge pull request #50 from denisenkom/misc-bugfixes
Fixed extraction of RSA modulus and exponent
2015-12-10 10:34:49 -08:00