Commit Graph

1384 Commits

Author SHA1 Message Date
Klas Lindfors 563e2efe9f make NEWS for 1.4.0 clearer 2016-05-16 09:29:36 +02:00
Klas Lindfors 08b1ed3f2b Merge pull request #75 from mscherer/add_sw_const
Replace magic number for status word by constants
2016-05-09 09:46:29 +02:00
Michael Scherer 24534bcfcf Replace magic number for status word by constants
Most come from NIST special publication 800-73-4, section 5.6,
except one which I assume to be a custom one for yubikey.
2016-05-09 09:38:37 +02:00
Klas Lindfors bbde9f91f9 Merge branch 'fix_typo' of ssh://github.com/mscherer/yubico-piv-tool into mscherer-fix_typo 2016-05-09 09:01:28 +02:00
Klas Lindfors 215fc8d0cf Merge pull request #73 from mscherer/more_small_cleanup
Use more constant for filling apdu struct.
2016-05-09 08:59:08 +02:00
Klas Lindfors fc5e1536ef Merge pull request #74 from mscherer/fix_constant_name
Fix error in the define name YKPIV_INS_GENERATE_ASYMMERTRIC
2016-05-09 08:58:39 +02:00
Klas Lindfors b712600727 Merge pull request #71 from mscherer/small_cleanup
Do not repeat the size of certdata
2016-05-09 08:57:22 +02:00
Klas Lindfors f90c8596ee Merge pull request #70 from mscherer/add_constant
Add YKPIV_ALGO_TAG
2016-05-09 08:56:45 +02:00
Michael Scherer ff67119447 Do not repeat the size of certdata 2016-05-05 01:11:46 +02:00
Michael Scherer 6a4608ff05 Use more constant for filling apdu struct. 2016-05-05 01:11:42 +02:00
Michael Scherer 099c55e90a Fix various errors messages 2016-05-05 01:11:37 +02:00
Michael Scherer fd9a0a324d Fix error in the define name YKPIV_INS_GENERATE_ASYMMERTRIC 2016-05-05 01:11:33 +02:00
Michael Scherer 6e4266c886 Add YKPIV_ALGO_TAG
Replace the magic constant 0x80 when sending a packet to the key
2016-05-05 01:11:18 +02:00
Klas Lindfors 1a525f7ed7 bump version 2016-05-03 09:50:41 +02:00
Klas Lindfors 3f0fc88b29 release 1.4.0 2016-05-03 09:42:56 +02:00
Klas Lindfors 35cf57b321 add attest doc to dist 2016-05-03 09:42:56 +02:00
Klas Lindfors fcfed3fa43 bump openssl to 1.0.2g 2016-05-03 09:33:44 +02:00
Klas Lindfors ebf31d73f8 Merge branch 'attestation2' 2016-05-03 09:24:14 +02:00
Klas Lindfors b1139a516b don't continue processing after list-readers action
it fell through into write-object
2016-04-22 09:41:41 +02:00
Klas Lindfors 0af264c237 change examples to be with 6 digit pins 2016-04-19 14:23:28 +02:00
Klas Lindfors b512077c21 enforce minimum 6 digits of pin when changing in the tool 2016-04-19 14:19:33 +02:00
Klas Lindfors d1c454ca02 error isn't an iso error, run ykpiv_strerror() on it 2016-04-19 14:16:01 +02:00
Klas Lindfors 624e810766 ignore more 2016-04-19 07:49:18 +02:00
Klas Lindfors 513ce0b70f bump version 2016-04-19 07:48:45 +02:00
Klas Lindfors 43968c5895 NEWS for 1.3.1 2016-04-19 07:39:10 +02:00
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