Accepting request 719737 from home:jsikes:branches:security:chipcard
A few fixes for opensc. Enjoy! OBS-URL: https://build.opensuse.org/request/show/719737 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/opensc?expand=0&rev=59
This commit is contained in:
parent
93272ea1af
commit
e53426025b
12
opensc-0.19.0-redundant_logging.patch
Normal file
12
opensc-0.19.0-redundant_logging.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: opensc-0.19.0/src/pkcs15init/pkcs15-oberthur.c
|
||||
===================================================================
|
||||
--- opensc-0.19.0.orig/src/pkcs15init/pkcs15-oberthur.c
|
||||
+++ opensc-0.19.0/src/pkcs15init/pkcs15-oberthur.c
|
||||
@@ -70,7 +70,6 @@ cosm_write_tokeninfo (struct sc_pkcs15_c
|
||||
ctx = p15card->card->ctx;
|
||||
|
||||
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_VERBOSE);
|
||||
- sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "cosm_write_tokeninfo() label '%s'; flags 0x%X", label, flags);
|
||||
if (sc_profile_get_file(profile, COSM_TITLE"-token-info", &file)) {
|
||||
rv = SC_ERROR_INCONSISTENT_PROFILE;
|
||||
SC_TEST_GOTO_ERR(ctx, SC_LOG_DEBUG_NORMAL, rv, "Cannot find "COSM_TITLE"-token-info");
|
2257
opensc-0.19.0-rsa-pss.patch
Normal file
2257
opensc-0.19.0-rsa-pss.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 30 03:15:14 UTC 2019 - Jason Sikes <jsikes@suse.de>
|
||||
|
||||
- added opensc-0.19.0-rsa-pss.patch
|
||||
* Fixes the pkcs11-tool example
|
||||
* Added missing CKM_SHA224_RSA_PKCS_PSS
|
||||
* Add support for PSS padding to RSA signatures
|
||||
* Support for signature verification in pkcs11-tool
|
||||
* Switch cleanup steps to avoid segfaults on errors and more sanity checking
|
||||
- added opensc-0.19.0-redundant_logging.patch
|
||||
* Remove redundant debug output
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 21:51:42 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -30,6 +30,8 @@ Source2: %{name}-rpmlintrc
|
||||
# Register with p11-kit
|
||||
# https://web.archive.org/web/20111225073733/http://www.opensc-project.org/opensc/ticket/390
|
||||
Source3: opensc.module
|
||||
Patch1: opensc-0.19.0-rsa-pss.patch
|
||||
Patch2: opensc-0.19.0-redundant_logging.patch
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxslt
|
||||
@ -60,6 +62,8 @@ may require third party proprietary software.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
|
Loading…
Reference in New Issue
Block a user