Commit Graph

  • d820c314c4 Free more. Alessio Di Mauro 2015-09-09 13:16:45 +02:00
  • d793f200bb Merge branch 'development' of gitlab.yubico.com:/Yubico/yubico-piv-tool into development Alessio Di Mauro 2015-09-08 18:04:45 +02:00
  • 99ebfdf37c Added support for CKU_CONTEXT_SPECIFIC. Alessio Di Mauro 2015-09-08 18:00:48 +02:00
  • 30ed311244 remove ykpiv_sign_data2() from map Klas Lindfors 2015-09-08 15:33:15 +02:00
  • 49eab7dbfa drop ykpiv_sign_data2() and change ykpiv_sign_data() to not pad Klas Lindfors 2015-09-08 15:29:10 +02:00
  • 4bbd888f97 let ykpiv_connect() call ykpiv_list_readers() Klas Lindfors 2015-09-08 12:29:07 +02:00
  • 8eb7595d42 add list-readers action to tool Klas Lindfors 2015-09-08 12:26:42 +02:00
  • 1a9e62cec8 drop ykpiv_connect2() and add ykpiv_list_readers() Klas Lindfors 2015-09-07 15:54:57 +02:00
  • 984a124508 Merge branch 'master' into ykcs11 Klas Lindfors 2015-09-07 14:34:34 +02:00
  • 8c411f4473 ignore Klas Lindfors 2015-09-07 14:33:26 +02:00
  • b770155cbb Merge branch 'devel/p384' into ykcs11 Klas Lindfors 2015-09-07 14:32:37 +02:00
  • 1b8d819cc2 bump versions Klas Lindfors 2015-09-04 09:22:32 +02:00
  • f511a3730d NEWS for 1.0.2 Klas Lindfors 2015-09-04 09:13:34 +02:00
  • ee2a364c15 More cleanup. Alessio Di Mauro 2015-09-02 16:06:37 +02:00
  • c13426a2e8 Fixed typo. Alessio Di Mauro 2015-09-02 11:49:17 +02:00
  • f646ec9dde Added key import. Alessio Di Mauro 2015-09-01 14:08:19 +02:00
  • d2cefc66b7 Initial stab at private key import. Alessio Di Mauro 2015-08-28 17:15:11 +02:00
  • 5ca058bdfa Added certificate import Alessio Di Mauro 2015-08-28 13:47:57 +02:00
  • d7f5dd35f4 Squalch more warnings. Alessio Di Mauro 2015-08-26 16:59:03 +02:00
  • 25110ec122 Remove some warnings. Alessio Di Mauro 2015-08-25 15:59:59 +02:00
  • 5a2c00deb7 Add of DigestInit. Alessio Di Mauro 2015-08-25 15:55:52 +02:00
  • 5f306a8d1c Fixed x509 certificate created during generation to comply with OpenSSL 1.0.1i more strict rules. Alessio Di Mauro 2015-08-26 10:54:27 -04:00
  • f776ac58a3 Strip DER encoding from EC signatures. Alessio Di Mauro 2015-08-24 17:39:00 +02:00
  • e2c4e9fc2e Use longer buffer to store the signature. Alessio Di Mauro 2015-08-24 14:20:01 +02:00
  • 4fec806335 Add support for ECDSA_SHA256. Alessio Di Mauro 2015-08-24 11:17:07 +02:00
  • da29e6947c authentication failed is supposed to be 0x63cX not 0x630X Klas Lindfors 2015-08-24 08:28:49 +02:00
  • 3150a36988 More debug messages. Alessio Di Mauro 2015-08-21 15:57:28 +02:00
  • 5a069f1077 Temporary fix for multiple logins. Alessio Di Mauro 2015-08-21 15:41:32 +02:00
  • 0184424f3f Add debug messages for failed login. Alessio Di Mauro 2015-08-21 14:10:38 +02:00
  • 5d7f0b3d93 Removed nspr stuff. Alessio Di Mauro 2015-08-21 13:20:01 +02:00
  • 0c3c9c5a00 Close the operation after sign is done. Alessio Di Mauro 2015-08-20 17:42:14 +02:00
  • 2420874125 More debug messages and precondition checks. Alessio Di Mauro 2015-08-20 16:59:05 +02:00
  • 8fa6ff8edb Use buffer length while storing cert. Alessio Di Mauro 2015-08-20 16:47:23 +02:00
  • 6cbdbc3c14 More debug messages and precondition checks. Alessio Di Mauro 2015-08-20 16:39:44 +02:00
  • 255815d78f Skip PIN initialization. Alessio Di Mauro 2015-08-20 16:27:46 +02:00
  • 4542a4506b Skip token initialization. Alessio Di Mauro 2015-08-20 16:26:37 +02:00
  • f27ca3837c Add more precondition checks and debug messages. Alessio Di Mauro 2015-08-20 16:25:22 +02:00
  • 8618469619 Fixed PSS (still untested). Alessio Di Mauro 2015-08-20 14:58:14 +02:00
  • 2764846bb6 add mac install_name_tool fixes for ykcs11 build Klas Lindfors 2015-08-21 10:32:40 +02:00
  • 7573c05c82 fixup filenames and add missing headers Klas Lindfors 2015-08-21 10:06:20 +02:00
  • cef514eb28 drop generated files Klas Lindfors 2015-08-21 10:05:14 +02:00
  • aabe4fb20e Merge branch 'master' into ykcs11 Klas Lindfors 2015-08-20 09:30:49 +02:00
  • 81f3b608fd continue looping over the readers if one fails during setup Klas Lindfors 2015-08-20 09:25:18 +02:00
  • cd1e67021d Removed unnecessary line. Alessio Di Mauro 2015-08-19 16:21:40 +02:00
  • bb4ed22315 Fixed RSA_X_509 padding. Alessio Di Mauro 2015-08-19 15:41:41 +02:00
  • a792e16333 Fixed unhashed sign mechanisms. Alessio Di Mauro 2015-08-19 15:20:27 +02:00
  • 6a60c779da More free. Alessio Di Mauro 2015-08-19 13:23:01 +02:00
  • 89a212c831 Merge pull request #26 from syzzer/query-for-pin Klas Lindfors 2015-08-13 14:35:08 +02:00
  • 723fe2f405 Query for PIN/PUK/mgmt-key if not supplied on command line Steffan Karger 2015-07-30 23:52:11 +02:00
  • de083bb27a Fixed wrong free. Alessio Di Mauro 2015-08-12 17:05:47 +02:00
  • 9c082be082 Added simple logout function. Alessio Di Mauro 2015-08-12 16:05:03 +02:00
  • df2ff3cd51 Fixed pkcs1.5 padding Alessio Di Mauro 2015-08-12 15:41:58 +02:00
  • 4010ebbb91 Update object in the session (when the object wasn't there to begin with). Alessio Di Mauro 2015-08-11 16:54:25 +02:00
  • 2a6acc5259 Update object in the session after key creation (if object already exists). Alessio Di Mauro 2015-08-11 16:28:59 +02:00
  • bf56cd8f30 Added certificate import on key generation. Alessio Di Mauro 2015-08-11 14:12:34 +02:00
  • 097bfaf7a1 Added EC key generation. Alessio Di Mauro 2015-08-11 11:46:40 +02:00
  • bc6a0d8465 drop BLURB (not used) Klas Lindfors 2015-08-10 10:42:28 +02:00
  • 5bef13acec First stab at key generation. Alessio Di Mauro 2015-08-07 17:09:09 +02:00
  • 6f0a9e7a09 Moved debug capabilities to its own file. Fixed EC point replresentation. Alessio Di Mauro 2015-08-06 17:14:47 +02:00
  • fa2cdaa2ed Added more attribute extraction for objects. Alessio Di Mauro 2015-08-06 16:22:48 +02:00
  • e3acd1f027 Fixed object attribute matching. Added ECDSA. Alessio Di Mauro 2015-08-06 10:00:29 +02:00
  • e89de35efc Added PSS (first stab). Alessio Di Mauro 2015-08-05 15:40:24 +02:00
  • d312d7a1e1 Added more signature infrestructure. Alessio Di Mauro 2015-08-04 19:19:04 +02:00
  • 7ce5ea4dc2 Added sign_data2 to libykpiv to disable padding. Alessio Di Mauro 2015-08-03 16:21:09 +02:00
  • 67ed63bc28 Hiding private objects if user is not logged in. Alessio Di Mauro 2015-08-03 15:13:49 +02:00
  • 706ff894f2 Added object matching. Alessio Di Mauro 2015-08-03 13:31:11 +02:00
  • b4152b8f03 Improvement on sign and object handling. Alessio Di Mauro 2015-07-31 17:14:16 +02:00
  • 175f0ff42b First crude signature implementation plus additional refactor. Alessio Di Mauro 2015-07-30 17:04:24 +02:00
  • 246cf626b2 Start to do some crypto. Alessio Di Mauro 2015-07-28 18:56:47 +02:00
  • bd144cc621 Yet another refactor of objects. Alessio Di Mauro 2015-07-28 17:57:38 +02:00
  • 07379a5c60 Separated slot vendors and token vendors. Alessio Di Mauro 2015-07-28 10:33:47 +02:00
  • b9596b33f5 Started major overhaul of slot vendors and token vendors. Alessio Di Mauro 2015-07-27 17:03:29 +02:00
  • 437094b2d7 Some improvements on sign. Alessio Di Mauro 2015-07-24 16:58:40 +02:00
  • b9268982a5 Refactor more. Alessio Di Mauro 2015-07-24 15:39:37 +02:00
  • 91d7e52b21 Refined get attribute value. Alessio Di Mauro 2015-07-22 14:39:19 +02:00
  • 7da7e8ab97 More object handling. Alessio Di Mauro 2015-07-21 17:47:49 +02:00
  • fa909fca30 Initial work to add object handling. Alessio Di Mauro 2015-07-20 17:04:39 +02:00
  • b71cb628ea Added mechanisms handling. Alessio Di Mauro 2015-07-16 17:52:54 +02:00
  • 5a39b5f582 More refactoring. Alessio Di Mauro 2015-07-16 16:07:06 +02:00
  • 9e6c5ca1fd More work on login. Alessio Di Mauro 2015-07-15 16:05:23 +02:00
  • 7cd835614e Added basic session handling. Alessio Di Mauro 2015-07-15 15:45:03 +02:00
  • 94b812d081 Added utils files. Alessio Di Mauro 2015-07-15 14:19:40 +02:00
  • 9bd5bc5718 Changed tokenless to with_token. Alessio Di Mauro 2015-07-15 14:19:10 +02:00
  • de7e1ed000 Added basic version of login. Alessio Di Mauro 2015-07-14 16:51:08 +02:00
  • 0e4569af2c Handle token presence in slots. Alessio Di Mauro 2015-07-14 15:45:03 +02:00
  • dae7297050 Major refactor and vendor abstraction. Alessio Di Mauro 2015-07-14 14:13:02 +02:00
  • 23a3fcf684 bump versions Klas Lindfors 2015-07-10 13:58:27 +02:00
  • a33241ce75 NEWS for 1.0.1 Klas Lindfors 2015-07-10 13:14:05 +02:00
  • 8ece5ed26e drop unused variable Klas Lindfors 2015-07-09 11:03:11 +02:00
  • fb0c437533 check result from get_length() Klas Lindfors 2015-07-09 11:00:22 +02:00
  • 3fd716791b avoid copying data to NULL pointer Klas Lindfors 2015-07-09 10:34:39 +02:00
  • 43ffb65462 don't do memcpy with NULL argument Klas Lindfors 2015-07-09 10:28:21 +02:00
  • 76e0dd5349 strip away unneeded stuff from the windows openssl build Klas Lindfors 2015-07-09 10:19:25 +02:00
  • 8a2401b1c7 add openssl to mac build Klas Lindfors 2015-07-09 10:18:57 +02:00
  • 2e91cd0f5b Merge branch 'master' into devel/p384 Klas Lindfors 2015-07-08 15:09:11 +02:00
  • fe0fd7b774 let the pkg-config check for openssl check for libcrypto instead Klas Lindfors 2015-07-08 14:51:45 +02:00
  • 103930daf9 add Requires.private on libcrypto Klas Lindfors 2015-07-08 14:50:43 +02:00
  • 9489748380 Fix debug message. Alessio Di Mauro 2015-07-07 10:22:49 +02:00
  • 5295b2068f Add a bunch of TODOs. Alessio Di Mauro 2015-07-07 10:18:25 +02:00
  • 7777ac3dad GetInfo. Alessio Di Mauro 2015-07-06 17:08:26 +02:00