Commit Graph

870 Commits

Author SHA1 Message Date
Klas Lindfors f468146311 add ykpiv_disconnect() 2014-06-17 10:55:46 +02:00
Klas Lindfors 9d0d163f62 some tests for the library 2014-06-17 10:34:51 +02:00
Klas Lindfors 931cc5f35a include ykpiv-version.h in ykpiv.h 2014-06-17 10:34:05 +02:00
Klas Lindfors d1b2062721 add ykpiv_parse_key() 2014-06-17 10:07:49 +02:00
Klas Lindfors 01c844905a add ykpiv_set_mgmkey() 2014-06-17 09:58:55 +02:00
Klas Lindfors 8eb955bd13 make constants for algorithms, keys and instructions 2014-06-17 09:58:37 +02:00
Klas Lindfors d62430c2d5 more constness 2014-06-17 09:37:37 +02:00
Klas Lindfors 1f8cff5711 move apdu structure to internal.h 2014-06-17 09:35:58 +02:00
Klas Lindfors cb60c782f5 move authenticate to library as ykpiv_authenticate() 2014-06-17 09:34:52 +02:00
Klas Lindfors 6dcb6798e6 let the ykpiv_connect() function select as well 2014-06-17 09:34:52 +02:00
Klas Lindfors 9eb5c7fda1 drop direct PCSC dependency for the tool 2014-06-17 09:24:56 +02:00
Klas Lindfors 56bee46ed3 call ykpiv_done() before exiting 2014-06-17 09:24:56 +02:00
Klas Lindfors 7f80de659a drop verbose parameter to alot of functions
since it's stored in state now
2014-06-17 09:24:56 +02:00
Klas Lindfors fc0fac1730 drop the connect_reader() function 2014-06-17 09:24:56 +02:00
Klas Lindfors 03c028a4ef get rid of the YKPIV_APDU_* macros
transport the starting 4 bytes as an array instead
2014-06-17 09:24:56 +02:00
Klas Lindfors 2d2f14b9f1 fix the test with new directory structure 2014-06-17 08:31:58 +02:00
Klas Lindfors f1c5302407 break out connect and send data to the library
exporting
ykpiv_connect()
ykpiv_send_data()
ykpiv_transfer_data()
2014-06-16 15:00:52 +02:00
Klas Lindfors 0d4dd2fea1 start moving code to the library, and add error codes 2014-06-16 13:19:48 +02:00
Klas Lindfors fe5632e603 start library structure 2014-06-16 12:35:28 +02:00
Klas Lindfors 980c8656e9 bump version properly with librarisation 2014-06-16 10:46:57 +02:00
Klas Lindfors f10e83c76c let configure.ac try to find gengetopt 2014-06-16 10:45:43 +02:00
Klas Lindfors 39d9a81a34 let the tool link with the library 2014-06-16 10:45:43 +02:00
Klas Lindfors 610a1400b9 ignore more 2014-06-16 10:45:43 +02:00
Klas Lindfors 1a42870615 start of the ykpiv library 2014-06-16 10:22:05 +02:00
Klas Lindfors f19405fdb1 move the cli stuff to subdir tool 2014-06-16 09:40:22 +02:00
Klas Lindfors 27f4047852 add an example of using delete-certificate 2014-05-28 09:18:56 +02:00
Klas Lindfors 0af79b01b5 bump version after release
to 0.0.4
2014-05-26 10:46:05 +02:00
Klas Lindfors 0f5aa03ef5 bump openssl to 1.0.1g 2014-05-26 10:07:50 +02:00
Klas Lindfors 6b6c6fcb71 fix typo 2014-05-26 10:04:09 +02:00
Klas Lindfors e091a4cf84 news for 0.0.3 2014-05-26 10:02:05 +02:00
Klas Lindfors 6dbb6c26b7 add note about just import-certificate to help texts 2014-05-16 10:39:05 +02:00
Klas Lindfors d3548a75b3 add a delete-certificate action
resolves #2
2014-05-16 10:37:09 +02:00
Klas Lindfors 14f473f4df drop unused, commented code 2014-04-07 09:02:34 +02:00
Klas Lindfors 5dfc68fe85 break line in right place 2014-04-02 10:05:08 +02:00
Klas Lindfors 8ec24853e6 short documentation on how to request a cert from a Windows CA 2014-04-02 08:44:22 +02:00
Klas Lindfors bd378c9afd don't continue processing if we failed an action 2014-04-01 15:20:39 +02:00
Klas Lindfors 08e20d2008 change functions around to have failure as default mode 2014-03-11 11:04:05 +01:00
Klas Lindfors 543af9de00 fix null dereferences
reported by coverity's free scanner
2014-03-11 10:53:49 +01:00
Klas Lindfors 970712334d fixup release target 2014-02-19 14:40:56 +01:00
Klas Lindfors b06452a5cb bump versions 2014-02-19 14:40:45 +01:00
Klas Lindfors 1f1211e9b0 add Travis link to BLURB 2014-02-14 10:48:47 +01:00
Klas Lindfors 63a9c1b322 actually do the full mutual auth with a challenge from the host 2014-02-14 10:36:58 +01:00
Klas Lindfors 745ba35ae3 add examples to the manpage
and will remove from the README when we figure out how to publish
manpages like these properly.
2014-02-13 20:19:40 +01:00
Klas Lindfors 56303d903a spelling: publick -> public 2014-02-13 20:09:15 +01:00
Klas Lindfors 29d2fb85bf correct GUID offset
GUID was set one byte off resulting in invalid message
2014-02-13 08:42:50 +01:00
Klas Lindfors 90cfda0ba6 return at the end of main() and call EVP_cleanup() before 2014-02-12 08:15:43 +01:00
Klas Lindfors 77d6f3e5c1 make sure to initialize num_readers before using. 2014-02-11 13:42:46 +01:00
Klas Lindfors 8b0142088b simplify selfsign and request, some stuff is already allocated. 2014-02-11 13:23:44 +01:00
Klas Lindfors 0bd046d88c gnulib shouldn't be needed explicitly 2014-02-11 13:23:11 +01:00
Klas Lindfors 52b733a6fa try to specify CC for windows build 2014-02-11 13:14:05 +01:00