quentin
c8372f27d7
Improve compatibility with OpenSSL 1.1.0
...
* add missing headers
* stop using deprecated APIs
2018-02-26 02:43:41 +01:00
Aloz1
866b6b1d9d
Added checks to allow building against LibreSSL
...
It seems that when OpenSSL 1.1.0 support was added, LibreSSL was broken
due to the way version checking was done. This adds extra checks for
LIBRESSL_VERSION_NUMBER where applicable.
2017-12-29 14:38:37 +11:00
Trevor Bentley
4785e23bd1
Merge branch 'master' of https://github.com/Jakuje/yubico-piv-tool into Jakuje-master
2017-11-20 14:03:48 +01:00
Jakub Jelen
a2715f0a4a
Use OpenSSL 1.1.0 API
2017-11-13 17:43:06 +01:00
Jakub Jelen
4a847677cc
WIP:Use RSA/EC_KEY METHOD to provide X509 signatures using high-level OpenSSL API
2017-11-13 17:39:34 +01:00
Jakub Jelen
ad4e93a462
Few more OpenSSL 1.1.0 incompatibilities
2017-11-13 17:39:34 +01:00
Trevor Bentley
9a7ccf48fa
Fix all clang scan-build warnings
2017-10-23 16:25:56 +02:00
Hannes Mehnert
03849d9722
alias RSA type, call openssl functions only in openssl_utils.c
2017-03-29 23:01:17 +01:00
Hannes Mehnert
847b0b4267
fix PSS signing support
2017-03-26 19:13:07 +02:00
Simon Josefsson
89bec1260a
Improve license headers.
2016-08-12 15:30:06 +02:00
Klas Lindfors
fead011e71
add copyright and license header
2016-08-12 13:37:56 +02:00
Mikhail Denisenko
5a60faf779
Fixed extraction of RSA modulus and exponent
2015-12-09 13:13:24 -05:00
Alessio Di Mauro
fc9ebe996f
YKCS11: remove some warnings.
2015-11-06 11:02:11 +01:00
Alessio Di Mauro
602208bf20
YKCS11: Change DBG to print to stderr.
2015-11-05 16:35:15 +01:00
Alessio Di Mauro
dcc2545a4c
YKCS11: added certificate deletion.
2015-11-04 14:02:29 +01:00
Alessio Di Mauro
4f12dc41e9
YKCS11: Added raw certificate extraction.
2015-10-23 19:43:36 +02:00
Alessio Di Mauro
4b668502ee
Minor fixes.
2015-09-17 17:05:29 +02:00
Alessio Di Mauro
2ea35bbd18
Export more public key parameters.
2015-09-17 16:46:58 +02:00
Alessio Di Mauro
22d8f4f9fe
Minor cleanups.
2015-09-09 13:59:36 +02:00
Alessio Di Mauro
99ebfdf37c
Added support for CKU_CONTEXT_SPECIFIC.
2015-09-08 18:00:48 +02:00
Alessio Di Mauro
f646ec9dde
Added key import.
2015-09-01 16:16:47 +02:00
Alessio Di Mauro
5ca058bdfa
Added certificate import
2015-08-28 13:47:57 +02:00
Alessio Di Mauro
5f306a8d1c
Fixed x509 certificate created during generation to comply with OpenSSL
...
1.0.1i more strict rules.
2015-08-26 10:55:29 -04:00
Alessio Di Mauro
8618469619
Fixed PSS (still untested).
2015-08-21 10:42:43 +02:00
Alessio Di Mauro
cd1e67021d
Removed unnecessary line.
2015-08-19 16:21:40 +02:00
Alessio Di Mauro
6a60c779da
More free.
2015-08-19 13:23:01 +02:00
Alessio Di Mauro
de083bb27a
Fixed wrong free.
2015-08-12 17:05:47 +02:00
Alessio Di Mauro
df2ff3cd51
Fixed pkcs1.5 padding
2015-08-12 15:41:58 +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
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
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
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