Commit Graph

859 Commits

Author SHA1 Message Date
Klas Lindfors 8ece5ed26e drop unused variable
found with clang scan-build
2015-07-09 11:03:11 +02:00
Klas Lindfors fb0c437533 check result from get_length()
found with clang scan-build
2015-07-09 11:01:49 +02:00
Klas Lindfors 3fd716791b avoid copying data to NULL pointer
found by clang scan-build
2015-07-09 10:34:39 +02:00
Klas Lindfors 43ffb65462 don't do memcpy with NULL argument
found with clang scan-build
2015-07-09 10:28:21 +02:00
Klas Lindfors 76e0dd5349 strip away unneeded stuff from the windows openssl build 2015-07-09 10:19:25 +02:00
Klas Lindfors 8a2401b1c7 add openssl to mac build
since the openssl bundled with mac is old and deprecated we build our
own instead
2015-07-09 10:18:57 +02:00
Klas Lindfors 2e91cd0f5b Merge branch 'master' into devel/p384 2015-07-08 15:09:11 +02:00
Klas Lindfors fe0fd7b774 let the pkg-config check for openssl check for libcrypto instead
since we only use libcrypto
2015-07-08 14:51:45 +02:00
Klas Lindfors 103930daf9 add Requires.private on libcrypto 2015-07-08 14:50:43 +02:00
Alessio Di Mauro 9489748380 Fix debug message. 2015-07-07 10:22:49 +02:00
Alessio Di Mauro 5295b2068f Add a bunch of TODOs. 2015-07-07 10:18:25 +02:00
Alessio Di Mauro 7777ac3dad GetInfo. 2015-07-06 17:08:26 +02:00
Alessio Di Mauro 9f6dfed7cd More GetTokenInfo. 2015-07-06 16:42:36 +02:00
Alessio Di Mauro f95c6f2f2d Added basic multivendor support for token information. 2015-07-03 17:23:16 +02:00
Klas Lindfors 306651a308 remove extra \ 2015-07-03 13:28:12 +02:00
Klas Lindfors 0d88b0b38b name include file .adoc instead 2015-07-03 09:52:41 +02:00
Klas Lindfors 5f8605dc7e use asciidoc comments for comments in asciidoc file 2015-07-03 09:42:17 +02:00
Klas Lindfors f9ef0d6bbd NEWS for yk4beta 2015-07-03 09:41:42 +02:00
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