Commit Graph

107 Commits

Author SHA1 Message Date
Alessio Di Mauro d2cefc66b7 Initial stab at private key import. 2015-08-28 17:15:11 +02:00
Alessio Di Mauro 5ca058bdfa Added certificate import 2015-08-28 13:47:57 +02:00
Alessio Di Mauro d7f5dd35f4 Squalch more warnings. 2015-08-26 16:59:03 +02:00
Alessio Di Mauro 5a2c00deb7 Add of DigestInit. 2015-08-26 16:58:45 +02:00
Alessio Di Mauro f776ac58a3 Strip DER encoding from EC signatures. 2015-08-24 17:39:00 +02:00
Alessio Di Mauro e2c4e9fc2e Use longer buffer to store the signature. 2015-08-24 14:20:01 +02:00
Alessio Di Mauro 3150a36988 More debug messages. 2015-08-21 15:57:28 +02:00
Alessio Di Mauro 5a069f1077 Temporary fix for multiple logins. 2015-08-21 15:41:32 +02:00
Alessio Di Mauro 0184424f3f Add debug messages for failed login. 2015-08-21 14:10:38 +02:00
Alessio Di Mauro 0c3c9c5a00 Close the operation after sign is done. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro 2420874125 More debug messages and precondition checks. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro 8fa6ff8edb Use buffer length while storing cert. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro 6cbdbc3c14 More debug messages and precondition checks. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro 255815d78f Skip PIN initialization. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro 4542a4506b Skip token initialization. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro f27ca3837c Add more precondition checks and debug messages. 2015-08-21 10:42:43 +02:00
Alessio Di Mauro a792e16333 Fixed unhashed sign mechanisms. 2015-08-19 15:20:27 +02:00
Alessio Di Mauro de083bb27a Fixed wrong free. 2015-08-12 17:05:47 +02:00
Alessio Di Mauro 9c082be082 Added simple logout function. 2015-08-12 16:05:03 +02:00
Alessio Di Mauro df2ff3cd51 Fixed pkcs1.5 padding 2015-08-12 15:41:58 +02:00
Alessio Di Mauro 4010ebbb91 Update object in the session (when the object wasn't there to begin with). 2015-08-11 16:54:25 +02:00
Alessio Di Mauro 2a6acc5259 Update object in the session after key creation (if object already exists). 2015-08-11 16:28:59 +02:00
Alessio Di Mauro 097bfaf7a1 Added EC key generation. 2015-08-11 11:46:40 +02:00
Alessio Di Mauro 5bef13acec First stab at key generation. 2015-08-07 17:09:09 +02:00
Alessio Di Mauro 6f0a9e7a09 Moved debug capabilities to its own file.
Fixed EC point replresentation.
2015-08-06 17:16:43 +02:00
Alessio Di Mauro fa2cdaa2ed Added more attribute extraction for objects. 2015-08-06 16:22:48 +02:00
Alessio Di Mauro e3acd1f027 Fixed object attribute matching.
Added ECDSA.
2015-08-06 11:25:01 +02:00
Alessio Di Mauro e89de35efc Added PSS (first stab). 2015-08-05 15:40:24 +02:00
Alessio Di Mauro d312d7a1e1 Added more signature infrestructure. 2015-08-04 19:19:04 +02:00
Alessio Di Mauro 7ce5ea4dc2 Added sign_data2 to libykpiv to disable padding. 2015-08-03 16:22:58 +02:00
Alessio Di Mauro 67ed63bc28 Hiding private objects if user is not logged in. 2015-08-03 15:16:50 +02:00
Alessio Di Mauro 706ff894f2 Added object matching. 2015-08-03 13:31:11 +02:00
Alessio Di Mauro b4152b8f03 Improvement on sign and object handling. 2015-07-31 17:14:16 +02:00
Alessio Di Mauro 175f0ff42b First crude signature implementation plus additional refactor. 2015-07-30 17:04:24 +02:00
Alessio Di Mauro bd144cc621 Yet another refactor of objects. 2015-07-28 17:57:56 +02:00
Alessio Di Mauro 07379a5c60 Separated slot vendors and token vendors. 2015-07-28 10:35:34 +02:00
Alessio Di Mauro b9596b33f5 Started major overhaul of slot vendors and token vendors. 2015-07-27 17:03:29 +02:00
Alessio Di Mauro 437094b2d7 Some improvements on sign. 2015-07-24 16:58:40 +02:00
Alessio Di Mauro b9268982a5 Refactor more. 2015-07-24 15:39:37 +02:00
Alessio Di Mauro 91d7e52b21 Refined get attribute value. 2015-07-22 14:39:19 +02:00
Alessio Di Mauro 7da7e8ab97 More object handling. 2015-07-21 17:47:49 +02:00
Alessio Di Mauro fa909fca30 Initial work to add object handling. 2015-07-20 17:04:39 +02:00
Alessio Di Mauro b71cb628ea Added mechanisms handling. 2015-07-16 17:52:54 +02:00
Alessio Di Mauro 5a39b5f582 More refactoring. 2015-07-16 16:07:06 +02:00
Alessio Di Mauro 9e6c5ca1fd More work on login. 2015-07-15 16:06:32 +02:00
Alessio Di Mauro 7cd835614e Added basic session handling. 2015-07-15 15:45:03 +02:00
Alessio Di Mauro 9bd5bc5718 Changed tokenless to with_token. 2015-07-15 14:19:10 +02:00
Alessio Di Mauro de7e1ed000 Added basic version of login. 2015-07-14 16:51:08 +02:00
Alessio Di Mauro 0e4569af2c Handle token presence in slots. 2015-07-14 15:45:03 +02:00
Alessio Di Mauro dae7297050 Major refactor and vendor abstraction. 2015-07-14 14:13:02 +02:00