Commit Graph

791 Commits

Author SHA1 Message Date
Klas Lindfors 3b080dca45 relicense to 2-clause BSD license 2015-07-01 16:34:20 +02:00
Klas Lindfors 671b88c10e add help2adoc processing on release 2015-07-01 13:25:46 +02:00
Klas Lindfors 561bf00c55 add include file for help2adoc 2015-07-01 13:23:22 +02:00
Alessio Di Mauro 2b2fe1f9fa Added basic version of slot info functions. 2015-06-30 11:14:36 +02:00
Klas Lindfors a775ac6e69 move around texts for help 2015-06-30 07:46:21 +02:00
Klas Lindfors 80e6fe525a change IS_XXKEY macros to be YKPIV_IS_XX 2015-06-30 07:33:39 +02:00
Alessio Di Mauro 5e50401a0a Initial commit for ykcs11. 2015-06-26 17:12:14 +02:00
Klas Lindfors f43c5781b9 fix indentation 2015-06-26 13:00:21 +02:00
Klas Lindfors 642891e2b3 move padding for signing to ykpiv_sign_data()
and only pad if in_len != key_len
2015-06-26 12:56:46 +02:00
Klas Lindfors 6f5870d884 better errors for fail on pin-policy and touch-policy 2015-06-25 12:37:06 +02:00
Klas Lindfors 600b302c1d add touch for set-mgm-key 2015-06-25 12:32:01 +02:00
Klas Lindfors ca6a355b5d add touch tlv for generate and import-key 2015-06-25 12:04:05 +02:00
Klas Lindfors be8f37924d pin policy code for generate and import-key 2015-06-24 15:25:59 +02:00
Klas Lindfors bc27d98bf7 better errors for generate on non-supported algorithm or slot 2015-06-24 13:22:02 +02:00
Klas Lindfors a73d708c25 add support for retired key objects
slots 82-95
2015-06-24 13:06:01 +02:00
Klas Lindfors c2621960a9 use IS_RSAKEY and IS_ECKEY macros, fix minor stuff for ECCP384 2015-06-24 13:06:00 +02:00
Klas Lindfors 1541362866 add macros for IS_ECKEY and IS_RSAKEY, also fix tag on ECCP384 2015-06-24 13:06:00 +02:00
Klas Lindfors d06852959c add sha384 hash and refactor some common patterns 2015-06-24 13:06:00 +02:00
Klas Lindfors f17d09f19c start adding secp384r1 2015-06-24 13:06:00 +02:00
Klas Lindfors 67543021cb bump openssl version for windows build 2015-06-23 14:40:46 +02:00
Klas Lindfors 3b434817c6 bump versions 2015-06-23 14:39:58 +02:00
Klas Lindfors 3669e62bfb NEWS for 1.0.0 2015-06-23 14:38:09 +02:00
Klas Lindfors 7146451463 mark upcoming version as 1.0.0
fixes #22
2015-06-23 14:36:11 +02:00
Klas Lindfors 6b4b3001c4 verify that e is 0x10001 on import
fixes #13
2015-06-23 14:28:44 +02:00
Klas Lindfors 9bd32ff72c drop --repo-token for coveralls 2015-05-25 20:23:33 +02:00
Henrik Stråth 7f0d778e0c Added yubikey-piv-manager to software list 2015-05-25 09:49:38 +02:00
Klas Lindfors 18e057e58c let RSA_public_encrypt() do the PKCS1 padding
noteworthy is that it will do pkcs1 type 2 padding
2015-05-19 15:11:30 +02:00
Klas Lindfors 3d0ff7b969 add a test-decipher command
test-decipher will for rsa do public encrypt on a random string and let
the key decrypt
for ec it will generate a new ec key and do ecdh and confirm it gets the
same answer back
2015-05-19 14:22:26 +02:00
Klas Lindfors 63345d1b3e drop verbose prints from library
for ykpiv_verify() they're in tool as well.
2015-05-18 13:36:14 +02:00
Klas Lindfors 8ce4ab4997 add newline at end of output 2015-05-08 13:49:32 +02:00
Klas Lindfors bf3fcc77fe use a transation while sending and receiving data 2015-05-08 09:57:51 +02:00
Klas Lindfors df018b24b4 add more extensions for certificates in doc 2015-04-09 10:13:30 +02:00
Klas Lindfors 4bd13b7254 mgm-key not needed for change-pin and change-puk 2015-04-07 07:58:17 +02:00
Klas Lindfors c6e0f71133 bump version 2015-03-23 10:28:21 +01:00
Klas Lindfors f44a155714 release 0.1.6 2015-03-23 10:20:11 +01:00
Klas Lindfors a9c8cb9fd3 drop openssl/err.h again 2015-03-20 14:17:51 +01:00
Klas Lindfors 9db6d3d45a replace EVP_MD_CTX_verify() stuff with RSA_verify()/ECDSA_verify()
since the EVP_MD_CTX stuff doesn't seem to exist on osx at all.
2015-03-20 14:04:26 +01:00
Klas Lindfors 8ada864df9 NEWS for 0.1.6 2015-03-20 10:51:40 +01:00
Klas Lindfors f204987941 add a test-signature action
that takes a certificate in and does a signature with the given slot,
then verifying that signature with the given certificate.
2015-03-20 10:04:58 +01:00
Klas Lindfors ef1ee5a6f6 bump openssl version 2015-03-20 09:56:13 +01:00
Klas Lindfors b1cda2ffce add missing }
that's why you should always build before push..
2015-03-19 15:52:20 +01:00
Klas Lindfors da1f61f23a move up validation of pin-retries parameters 2015-03-19 14:54:23 +01:00
Klas Lindfors c85fd4eaa8 move more validation of parameters together 2015-03-19 14:52:38 +01:00
Klas Lindfors 9124e82ea6 write version to output file 2015-03-19 14:43:13 +01:00
Klas Lindfors 635729f339 call get_algorithm() to get the algorithm
as it was already implemented..
2015-03-19 14:37:59 +01:00
Klas Lindfors 91ddd394e4 give a better link for PIV standards 2015-03-19 09:14:39 +01:00
Klas Lindfors 24130c7154 mention version of gengetopt required 2015-03-19 09:00:55 +01:00
Klas Lindfors 0f26a7c1e3 refactor dump_hex to drop some redundant code 2015-03-18 15:09:32 +01:00
Klas Lindfors cd1410a950 make parts of argument validation cleaner 2015-03-18 15:09:32 +01:00
Klas Lindfors 9b6bf1b737 write action name instead of number 2015-03-18 15:09:32 +01:00