Commit Graph

588 Commits

Author SHA1 Message Date
Klas Lindfors 5346cf4652 add SHA512 for signing 2014-09-29 14:03:57 +02:00
Klas Lindfors ffbf0f2607 add cmdline-signer to sources properly 2014-09-29 13:29:40 +02:00
Klas Lindfors 6721fb777b for rsa let it sign a correct DigestInfo structure
which has to have the digest OID, with a NULL parameter
and then the hash.
2014-09-29 12:50:25 +02:00
Klas Lindfors 3b15949969 let the signer sign 2014-09-26 16:23:03 +02:00
Klas Lindfors a7d5eb9d1c start implementing signer 2014-09-26 16:00:18 +02:00
Klas Lindfors 293120f56a ignore 2014-09-26 15:23:04 +02:00
Klas Lindfors 86d4adfeeb start on yubico-piv-signer 2014-09-26 15:22:40 +02:00
Klas Lindfors 8d8257583e make util.h header more self-contained 2014-09-26 15:18:40 +02:00
Klas Lindfors feccc45917 fix mac build 2014-09-11 10:43:10 +02:00
Klas Lindfors 052194c0ff use PACKAGE_VERSION to obtain version instead
seems to work more reliably?
2014-08-26 13:18:07 +02:00
Klas Lindfors 9a1b46d5a5 set the signature algorithm again in the cert 2014-08-25 15:31:01 +02:00
Klas Lindfors 6192010da6 bump versions after release 2014-08-25 09:26:29 +02:00
Klas Lindfors aeee9c5835 NEWS for 0.1.0 release 2014-08-25 09:23:46 +02:00
Klas Lindfors a6c778f17e bump openssl version and add -static-libgcc for openssl compile 2014-08-25 09:22:49 +02:00
Klas Lindfors b66f81b324 replace ykpiv_parse_key() with ykpiv_hex_decode() 2014-06-27 15:06:44 +02:00
Klas Lindfors 2de68134ad temp fix for ykpiv_parse_key()
it should be removed and replaced by a real
hex encoder.
2014-06-27 12:19:44 +02:00
Klas Lindfors 51962da971 fix EXTRA_DIST 2014-06-26 15:39:25 +02:00
Klas Lindfors 23ed02fab0 Merge branch 'devel/library' 2014-06-26 14:51:28 +02:00
Klas Lindfors c5c06c3c03 add asciidoc link for readme 2014-06-26 14:51:16 +02:00
Klas Lindfors b34db10086 let set_object set tag as well, not only lv 2014-06-26 08:28:38 +02:00
Klas Lindfors ac79b0809d refactor delete action to use ykpiv_save_object() 2014-06-26 08:24:34 +02:00
Klas Lindfors 75a5cf74d2 refactor set_chuid() to use ykpiv_save_object() 2014-06-26 08:08:59 +02:00
Klas Lindfors a1c2e4e8d1 refactor writing object to it's own library function
ykpiv_save_object(), use that for writing certs
2014-06-26 08:02:44 +02:00
Klas Lindfors b0eec2a6ea refactor to let send_data take an APDU* for data 2014-06-26 07:34:25 +02:00
Klas Lindfors 0d754893f4 let set_length take a size_t 2014-06-25 15:52:01 +02:00
Klas Lindfors ea88f94fd4 add openssl/rsa.h for ykpiv.c 2014-06-25 15:49:07 +02:00
Klas Lindfors 82e054d244 rename ykpiv_send_data() to send_data() since it's local 2014-06-25 15:47:56 +02:00
Klas Lindfors 07d831c50c drop apdu structure from tool 2014-06-25 15:44:21 +02:00
Klas Lindfors 1f567f62eb drop unused code from delete_cert 2014-06-25 15:44:00 +02:00
Klas Lindfors b8ecc6cda2 refactor so ykpiv_sign_data() takes size_t input 2014-06-25 15:41:20 +02:00
Klas Lindfors ba9ee75b3f stop exporting ykpiv_send_data() 2014-06-25 15:38:53 +02:00
Klas Lindfors b0ff83ac9c refactor change_pin() to use ykpiv_transfer_data() 2014-06-25 15:36:33 +02:00
Klas Lindfors b508f8bfea refactor to ykpiv_transfer_data() for chuid setting 2014-06-25 15:28:44 +02:00
Klas Lindfors a60096addf refactor pin-retries to use ykpiv_transfer_data() 2014-06-25 15:24:40 +02:00
Klas Lindfors 28ab285d92 refactor reset to use ykpiv_transfer_data() instead 2014-06-25 15:22:04 +02:00
Klas Lindfors 00343b9b6c refactor transfer data so it can send 0 bytes 2014-06-25 15:17:27 +02:00
Klas Lindfors c4d8492682 make get_length() take a const buffer 2014-06-25 15:10:56 +02:00
Klas Lindfors 1ded0f6496 set version on the selfsigned cert 2014-06-25 14:14:23 +02:00
Klas Lindfors 58e078af2f add error messages 2014-06-25 10:47:32 +02:00
Klas Lindfors 9b5ede8530 change around and let ykpiv_sign_data() pad 2014-06-25 10:47:32 +02:00
Klas Lindfors d17c0650a9 3f ff for object 2014-06-24 16:18:01 +02:00
Klas Lindfors 7338dcae8a some negative tests of parse_name() 2014-06-24 15:22:33 +02:00
Klas Lindfors 2e8170aa31 only return the actual data in ykpiv_fetch_data() 2014-06-24 15:02:36 +02:00
Klas Lindfors c5696d4b45 rework some stuff to size_t 2014-06-24 15:02:26 +02:00
Klas Lindfors 05a30e1da5 add ykpiv_fetch_object() to library 2014-06-24 14:35:59 +02:00
Simon Josefsson 0378c291e0 Fix. 2014-06-24 14:28:31 +02:00
Simon Josefsson e86260341b Add. 2014-06-24 14:22:52 +02:00
Klas Lindfors d5222c10b7 add macros for piv objects 2014-06-24 14:07:15 +02:00
Klas Lindfors a46cbc55b6 fix indentation 2014-06-24 13:58:47 +02:00
Klas Lindfors 33c71344de let util.h include cmdline.h
since it's using declarations from it..
2014-06-24 10:42:50 +02:00