- new version 0.20.3
* Fix problems reinitializing managed modules after fork * Fix bad bookeeping when fail initializing one of the modules * Fix case where module would be unloaded while in use [#74919] * Remove assertions when module used before initialized [#74919] * Fix handling of mmap failure and mapping empty files [#74773] * Stable p11_kit_be_quiet() and p11_kit_be_loud() functions * Require automake 1.12 or later * Build fixes for Windows [#76594 #74149] OBS-URL: https://build.opensuse.org/package/show/Base:System/p11-kit?expand=0&rev=15
This commit is contained in:
parent
50451b628b
commit
8af1cf2f17
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:04ed51d92fc46c2b632e13d73e0293090e9f8aa29c8aa8c6bc95c12475e5ef7c
|
||||
size 979999
|
Binary file not shown.
3
p11-kit-0.20.3.tar.gz
Normal file
3
p11-kit-0.20.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b77032bc68c24e6c3cfd8cb340a4a3bb8b7d62a7c659dae08e9b6bb7287193c3
|
||||
size 1171155
|
BIN
p11-kit-0.20.3.tar.gz.sig
Normal file
BIN
p11-kit-0.20.3.tar.gz.sig
Normal file
Binary file not shown.
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 29 06:47:50 UTC 2014 - lnussel@suse.de
|
||||
|
||||
- new version 0.20.3
|
||||
* Fix problems reinitializing managed modules after fork
|
||||
* Fix bad bookeeping when fail initializing one of the modules
|
||||
* Fix case where module would be unloaded while in use [#74919]
|
||||
* Remove assertions when module used before initialized [#74919]
|
||||
* Fix handling of mmap failure and mapping empty files [#74773]
|
||||
* Stable p11_kit_be_quiet() and p11_kit_be_loud() functions
|
||||
* Require automake 1.12 or later
|
||||
* Build fixes for Windows [#76594 #74149]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 07:04:38 UTC 2014 - lnussel@suse.de
|
||||
|
||||
|
113
p11-kit.keyring
Normal file
113
p11-kit.keyring
Normal file
@ -0,0 +1,113 @@
|
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gD/aKfFV6i+Yr2C5EJ79t369SgQ0U0HuA2dQgI21SQ4
|
||||
8JP8DwCcDoxxRe2on/Td4h4eU5nc35L8xasAoIEt+9teqjBi5HtuxK3sk32+sCbD
|
||||
=sjbp
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
10
p11-kit.spec
10
p11-kit.spec
@ -22,7 +22,7 @@
|
||||
%define trustdir_static %{pkidir_static}/trust
|
||||
|
||||
Name: p11-kit
|
||||
Version: 0.20.2
|
||||
Version: 0.20.3
|
||||
Release: 0
|
||||
Summary: Library to work with PKCS#11 modules
|
||||
License: BSD-3-Clause
|
||||
@ -34,6 +34,12 @@ Source99: baselibs.conf
|
||||
# patch proposed upstream. If it gets rejected, need to implement
|
||||
# this in ca-certificates.
|
||||
Patch0: 0001-trust-allow-to-also-add-openssl-style-hashes-to-pem-d.diff
|
||||
# PATCH-FIX-OPENSUSE
|
||||
# trust-Print-label-of-certificate-when-complaining-.patch bnc#890908 lnussel@suse.de
|
||||
Patch1: trust-Print-label-of-certificate-when-complaining-.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
# trust-Dont-use-invalid-public-keys-for-looking-up-.patch bnc#890908 lnussel@suse.de
|
||||
Patch2: trust-Dont-use-invalid-public-keys-for-looking-up-.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
@ -93,6 +99,8 @@ to be installed intead of mozilla-nss-certs.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# just because of patch0
|
||||
|
26
trust-Dont-use-invalid-public-keys-for-looking-up-.patch
Normal file
26
trust-Dont-use-invalid-public-keys-for-looking-up-.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 244e885d3e9aae7f7b286f1115a220eb16fa0530 Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@redhat.com>
|
||||
Date: Fri, 8 Aug 2014 08:47:54 +0200
|
||||
Subject: [PATCH] trust: Don't use invalid public keys for looking up stapled
|
||||
extensions
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=82328
|
||||
---
|
||||
trust/builder.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/trust/builder.c b/trust/builder.c
|
||||
index f7ea86a..fd7a662 100644
|
||||
--- a/trust/builder.c
|
||||
+++ b/trust/builder.c
|
||||
@@ -125,7 +125,7 @@ lookup_extension (p11_builder *builder,
|
||||
{ CKA_INVALID },
|
||||
};
|
||||
|
||||
- if (public_key == NULL)
|
||||
+ if (public_key == NULL || public_key->type == CKA_INVALID)
|
||||
public_key = p11_attrs_find_valid (cert, CKA_X_PUBLIC_KEY_INFO);
|
||||
|
||||
/* Look for a stapled certificate extension */
|
||||
--
|
||||
1.9.3
|
37
trust-Print-label-of-certificate-when-complaining-.patch
Normal file
37
trust-Print-label-of-certificate-when-complaining-.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 70228770eb96e7121e12632a85e603727ed42431 Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@redhat.com>
|
||||
Date: Fri, 8 Aug 2014 08:47:23 +0200
|
||||
Subject: [PATCH] trust: Print label of certificate when complaining about
|
||||
basic constraints
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=82328
|
||||
---
|
||||
trust/builder.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/trust/builder.c b/trust/builder.c
|
||||
index 18c09ad..f7ea86a 100644
|
||||
--- a/trust/builder.c
|
||||
+++ b/trust/builder.c
|
||||
@@ -551,6 +551,7 @@ calc_certificate_category (p11_builder *builder,
|
||||
CK_ATTRIBUTE *public_key,
|
||||
CK_ULONG *category)
|
||||
{
|
||||
+ CK_ATTRIBUTE *label;
|
||||
unsigned char *ext;
|
||||
size_t ext_len;
|
||||
bool is_ca = 0;
|
||||
@@ -570,7 +571,10 @@ calc_certificate_category (p11_builder *builder,
|
||||
ret = p11_x509_parse_basic_constraints (builder->asn1_defs, ext, ext_len, &is_ca);
|
||||
free (ext);
|
||||
if (!ret) {
|
||||
- p11_message ("invalid basic constraints certificate extension");
|
||||
+ label = p11_attrs_find_valid (cert, CKA_LABEL);
|
||||
+ p11_message ("%.*s: invalid basic constraints certificate extension",
|
||||
+ label ? (int)label->ulValueLen : 7,
|
||||
+ label ? (char *)label->pValue : "unknown");
|
||||
return false;
|
||||
}
|
||||
|
||||
--
|
||||
1.9.3
|
Loading…
Reference in New Issue
Block a user