Commit Graph

126 Commits

Author SHA1 Message Date
Klas Lindfors cdcbec8140 test for parse_name() 2014-06-24 10:28:45 +02:00
Klas Lindfors 81ddeb047f let parse_name() take a const char* instead 2014-06-24 10:28:45 +02:00
Klas Lindfors 92db159c4f change internal.h to util.h 2014-06-24 10:28:45 +02:00
Klas Lindfors 72f271ae73 move basic.sh test to subdir of tool 2014-06-24 09:50:11 +02:00
Klas Lindfors ab3083dc1b split out util functions from yubico-piv-tool.c 2014-06-24 09:43:27 +02:00
Klas Lindfors 31d9d0d680 add ykpiv_verify to the library 2014-06-23 09:57:10 +02:00
Klas Lindfors 052b80830a make constants for more instructions 2014-06-18 13:28:28 +02:00
Klas Lindfors 3c557ebbea use constants for algorithm ids 2014-06-18 13:21:05 +02:00
Klas Lindfors a97010d5e3 add ykpiv_get_version() function 2014-06-17 15:26:48 +02:00
Klas Lindfors 880c8a0061 move sign_data() function to library 2014-06-17 15:11:02 +02:00
Klas Lindfors 7b2fecb8fd include windows.h on windows 2014-06-17 14:28:16 +02:00
Klas Lindfors e399534651 make a small temp library to avoid warnings on ggo file 2014-06-17 13:48:36 +02:00
Klas Lindfors d36eb37cf9 no EXTRA_DIST in tool 2014-06-17 11:01:01 +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 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 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 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 f19405fdb1 move the cli stuff to subdir tool 2014-06-16 09:40:22 +02:00