Alessio Di Mauro
6a60c779da
More free.
2015-08-19 13:23:01 +02:00
Klas Lindfors
89a212c831
Merge pull request #26 from syzzer/query-for-pin
...
Query for PIN/PUK/mgmt-key if not supplied on command line
2015-08-13 14:35:08 +02:00
Steffan Karger
723fe2f405
Query for PIN/PUK/mgmt-key if not supplied on command line
...
Do not force a user to specify the PIN/PUK/mgmt-key on the command line.
Instead, query the user to supply them through stdin when required for
the requested operation. This is both more user friendly and more
secure, since the secrets do not end up in the shell history and/or
visible to shoulder-surfers on the terminal.
Signed-off-by: Steffan Karger <steffan@karger.me >
2015-08-12 23:05:44 +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
bf56cd8f30
Added certificate import on key generation.
2015-08-11 14:12:34 +02:00
Alessio Di Mauro
097bfaf7a1
Added EC key generation.
2015-08-11 11:46:40 +02:00
Klas Lindfors
bc6a0d8465
drop BLURB (not used)
2015-08-10 10:42:28 +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
246cf626b2
Start to do some crypto.
2015-07-28 18:56:47 +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
94b812d081
Added utils files.
2015-07-15 14:19:40 +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
Klas Lindfors
23a3fcf684
bump versions
2015-07-10 13:58:27 +02:00
Klas Lindfors
a33241ce75
NEWS for 1.0.1
2015-07-10 13:14:05 +02:00
Klas Lindfors
8ece5ed26e
drop unused variable
...
found with clang scan-build
2015-07-09 11:03:11 +02:00
Klas Lindfors
fb0c437533
check result from get_length()
...
found with clang scan-build
2015-07-09 11:01:49 +02:00
Klas Lindfors
3fd716791b
avoid copying data to NULL pointer
...
found by clang scan-build
2015-07-09 10:34:39 +02:00
Klas Lindfors
43ffb65462
don't do memcpy with NULL argument
...
found with clang scan-build
2015-07-09 10:28:21 +02:00
Klas Lindfors
76e0dd5349
strip away unneeded stuff from the windows openssl build
2015-07-09 10:19:25 +02:00
Klas Lindfors
8a2401b1c7
add openssl to mac build
...
since the openssl bundled with mac is old and deprecated we build our
own instead
2015-07-09 10:18:57 +02:00
Klas Lindfors
2e91cd0f5b
Merge branch 'master' into devel/p384
2015-07-08 15:09:11 +02:00
Klas Lindfors
fe0fd7b774
let the pkg-config check for openssl check for libcrypto instead
...
since we only use libcrypto
2015-07-08 14:51:45 +02:00