From db552ff418828d1cb26e9c83381efde8bb56fb7776fda813b87c13c63f0e2a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:13:44 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libksba revision a8045736cbe1b76801ac9b2676f9ef67 --- .gitattributes | 23 +++ libksba-1.6.4.tar.bz2 | 3 + libksba-1.6.4.tar.bz2.sig | Bin 0 -> 119 bytes libksba-nobetasuffix.patch | 24 +++ libksba.changes | 374 +++++++++++++++++++++++++++++++++++++ libksba.keyring | 65 +++++++ libksba.spec | 104 +++++++++++ 7 files changed, 593 insertions(+) create mode 100644 .gitattributes create mode 100644 libksba-1.6.4.tar.bz2 create mode 100644 libksba-1.6.4.tar.bz2.sig create mode 100644 libksba-nobetasuffix.patch create mode 100644 libksba.changes create mode 100644 libksba.keyring create mode 100644 libksba.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libksba-1.6.4.tar.bz2 b/libksba-1.6.4.tar.bz2 new file mode 100644 index 0000000..903e864 --- /dev/null +++ b/libksba-1.6.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbb43f032b9164d86c781ffe42213a83bf4f2fee91455edfa4654521b8b03b6b +size 668445 diff --git a/libksba-1.6.4.tar.bz2.sig b/libksba-1.6.4.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..97399328521b5d6d55462fb29e0e98081527d34ca64e3745d1cc471b1ec746c3 GIT binary patch literal 119 zcmeAuWnmEGV2~A4WXWBXm$E!p!y#PSlPRcU`VKV*t6Qv0DHD`^7`QkEU?K%G8UES) zO;K_S*yeKLC}Y*PzsH|{y|z}&`jMvTW2LLf-%oAX&d9K*h-Xr)yE0F%@xo(yiJz_t VNS?a4GUvvr=d-RKKFYC`5dcjBGeH0V literal 0 HcmV?d00001 diff --git a/libksba-nobetasuffix.patch b/libksba-nobetasuffix.patch new file mode 100644 index 0000000..54bd59c --- /dev/null +++ b/libksba-nobetasuffix.patch @@ -0,0 +1,24 @@ +Index: libksba-1.6.4/autogen.sh +=================================================================== +--- libksba-1.6.4.orig/autogen.sh ++++ libksba-1.6.4/autogen.sh +@@ -222,7 +222,7 @@ if [ "$myhost" = "find-version" ]; then + esac + + beta=no +- if [ -d .git ]; then ++ if false; then + ingit=yes + tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null) + if [ -n "$tmp" ]; then +@@ -236,8 +236,8 @@ if [ "$myhost" = "find-version" ]; then + rvd=$((0x$(echo ${rev} | head -c 4))) + else + ingit=no +- beta=yes +- tmp="-unknown" ++ beta=no ++ tmp="" + rev="0000000" + rvd="0" + fi diff --git a/libksba.changes b/libksba.changes new file mode 100644 index 0000000..78d7f7e --- /dev/null +++ b/libksba.changes @@ -0,0 +1,374 @@ +------------------------------------------------------------------- +Tue Oct 17 10:27:15 UTC 2023 - Pedro Monreal + +- Do not pull revision info from GIT when autoconf is run. This + removes the -unknown suffix after the version number. + * Run autoreconf for the added patch and add the build + dependecies on autoconf, automake and libtool. + * Add libksba-nobetasuffix.patch [bsc#1216334] + +------------------------------------------------------------------- +Tue Jun 20 07:10:20 UTC 2023 - Pedro Monreal + +- Update to 1.6.4: + * Correctly detect CMS write errors. [rK9ced7706f2] + * Release-info: https://dev.gnupg.org/T6543 + +------------------------------------------------------------------- +Fri Dec 23 08:15:38 UTC 2022 - Dirk Müller + +- update to 1.6.3 (bsc#1206579, CVE-2022-47629): + * Fix another integer overflow in the CRL parser. + Release-info: https://dev.gnupg.org/T6304 + +------------------------------------------------------------------- +Mon Oct 17 12:45:32 UTC 2022 - Pedro Monreal + +- libksba 1.6.2: [bsc#1204357, CVE-2022-3515] + * Fix integer overflow in the CRL parser. + +------------------------------------------------------------------- +Sun Sep 18 09:55:37 UTC 2022 - Andreas Stieger + +- libksba 1.6.1: + * Allow an OCSP server not to return the sent nonce +- fix rpmlint warnings + +------------------------------------------------------------------- +Fri Jun 11 13:28:18 UTC 2021 - Pedro Monreal + +- libksba 1.6.0: + * Limited support for the Authenticated-Enveloped-Data + content type. + * Support password based decryption. + * Silence warnings from static analyzers. + * Interface changes relative to the 1.5.0 release: + - KSBA_CT_AUTHENVELOPED_DATA NEW. + +------------------------------------------------------------------- +Wed Apr 7 18:58:34 UTC 2021 - Andreas Stieger + +- libksba 1.5.1: + * Support Brainpool curves specified by ECDomainParameters + +------------------------------------------------------------------- +Fri Nov 20 18:49:02 UTC 2020 - Andreas Stieger + +- libksba 1.5.0: + * ksba_cms_identify now identifies OpenPGP keyblock content + * Supports TR-03111 plain format ECDSA signature verification + * Fixes a CMS signed data parser bug exhibited by a somewhat + strange CMS message +- remove deprecated texinfo macros and update signing keyring + +------------------------------------------------------------------- +Wed May 20 07:47:55 UTC 2020 - Pedro Monreal Gonzalez + +- libksba 1.4.0: + * Supports ECDSA and EdDSA certificate creation and parsing. + * Supports ECDH enveloped data. + * Supports ECDSA and EdDSA signed data. + * Supports rsaPSS signature verification. + * Supports standard file descriptors in ksba_reader_read. + * Allows for optional elements in keyinfo objects. + * Fixes error detection in the CMS parser. + * Fixes memory leak in ksba_cms_identify. + * New constants KSBA_VERSION and KSBA_VERSION_NUMBER. + * New API to make creation of DER objects easy. + * Interface changes relative to the 1.3.5 release: + KSBA_VERSION NEW. + KSBA_VERSION_NUMBER NEW. + KSBA_CT_SPC_IND_DATA_CTX NEW. + KSBA_CLASS_* NEW. + KSBA_TYPE_* NEW. + ksba_der_t NEW. + ksba_der_release NEW. + ksba_der_builder_new NEW. + ksba_der_builder_reset NEW. + ksba_der_add_ptr NEW. + ksba_der_add_val NEW. + ksba_der_add_int NEW. + ksba_der_add_oid NEW. + ksba_der_add_bts NEW. + ksba_der_add_der NEW. + ksba_der_add_tag NEW. + ksba_der_add_end NEW. + ksba_der_builder_get NEW. + +------------------------------------------------------------------- +Thu Feb 22 15:10:36 UTC 2018 - fvogt@suse.com + +- Use %license (boo#1082318) + +------------------------------------------------------------------- +Mon Aug 22 19:58:46 UTC 2016 - astieger@suse.com + +- libksba 1.3.5: + * Limit the allowed size of complex ASN.1 objects (e.g. + certificates) to 16MiB. + * Avoid read access to unitialized memory. + * Improve detection of invalid RDNs. + * Encode the OCSP nonce value as an octet string as described by + RFC-6960. + +------------------------------------------------------------------- +Tue May 10 11:25:34 UTC 2016 - astieger@suse.com + +- libksba 1.3.4: + * Fixed two OOB read access bugs which could be used to force a DoS. + boo#979261 CVE-2016-4574, CVE-2016-4579 + * Fixed a crash due to faulty curve OID lookup code. + * Synced the list of supported curves with those of Libgcrypt. + * New configure option --enable-build-timestamp; a build timestamp is + not anymore used by default. + +------------------------------------------------------------------- +Fri Apr 10 20:28:31 UTC 2015 - astieger@suse.com + +- libksba 1.3.3: + * Fixed an integer overflow in the DN decoder. + * Now returns an error instead of terminating the process for + certain bad BER encodings. + * Improved the parsing of utf-8 strings in DNs. + * Allow building with newer versions of Bison. + +------------------------------------------------------------------- +Thu Mar 19 16:38:50 UTC 2015 - astieger@suse.com + +- remove libtool requirement + +------------------------------------------------------------------- +Wed Nov 26 08:20:23 UTC 2014 - andreas.stieger@gmx.de + +- libksba 1.3.2 [boo#907074] [CVE-2014-9087] + This version contains a security update which fixes a buffer + overflow in OID to string conversion code that can be triggered + by a specially crafted S/MIME message or ECC based OpenPGP data. + Users of GnuPG 2.x should install this version and restart the + dirmgr process. + * Fixed a buffer overflow in ksba_oid_to_str. +- verify source signature + +------------------------------------------------------------------- +Sun Sep 21 21:07:02 UTC 2014 - andreas.stieger@gmx.de + +- libksba 1.3.1: + * Fixed memory leak in CRL parsing + * Build fixes for ppc64el + +------------------------------------------------------------------- +Tue Nov 27 14:57:15 UTC 2012 - meissner@suse.com + +- Use URL for source + +------------------------------------------------------------------- +Mon Oct 1 18:59:20 UTC 2012 - andreas.stieger@gmx.de + +- update to libksba 1.3.0 + - change license from GPLv2 to LGPLv3/GPLv2 + - minor bug fixes +- implement shared library packaging policy +- remove nld-build.diff which was added 2004 before package was in + the openSUSE OBS, was never used or applied cleanly since r1 + +------------------------------------------------------------------- +Sat Nov 19 20:38:30 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Fri Jul 29 15:58:31 UTC 2011 - puzel@novell.com + +- update to libksba-1.2.0 + - New functions to allow the creation of X.509 certificates. + - Interface changes relative to the 1.1.0 release: + ksba_certreq_set_serial NEW + ksba_certreq_set_issuer NEW + ksba_certreq_set_validity NEW + ksba_certreq_set_siginfo NEW + +------------------------------------------------------------------- +Fri Dec 3 12:00:34 UTC 2010 - puzel@novell.com + +- update to libksba-1.1.0 + * New functions to fix a leak in dirmngr. + * Interface changes relative to the 1.0.0 release: + ksba_reader_set_release_notify NEW + ksba_writer_set_release_notify NEW +- clean up specfile + +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + +------------------------------------------------------------------- +Tue Aug 17 11:44:51 UTC 2010 - puzel@novell.com + +- update to libksba-1.0.8 + * Fixed a CMS parsing bug exhibited by Lotus Notes. + +------------------------------------------------------------------- +Thu Jul 9 17:02:39 CEST 2009 - puzel@novell.com + +- update to libksba-1.0.7 + * Detect overflow while parsing OIDs. Map BER encoded OIDs to well + known names. + * Allow mixed case names in DNs. + +------------------------------------------------------------------- +Wed Jun 24 18:07:00 CEST 2009 - puzel@suse.cz + +- update to libksba-1.0.6 + * Support SHA-{384,512} based signature generation. + * The RSA algorithmIdentifier ASN.1 sequence is now emitted with an + explicit NULL parameter. Despite the interop testing we did in the + past, some software still requires this and thus we better follow + the best current practise. + +------------------------------------------------------------------- +Tue Apr 7 14:32:06 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files +- fix buildrequires and -devel package dependencies + +------------------------------------------------------------------- +Mon Jan 12 12:21:34 CET 2009 - puzel@suse.cz + +- update to 1.0.5 (bugfix release) + - minor bugfixes + +------------------------------------------------------------------- +Thu Sep 25 11:13:15 CEST 2008 - puzel@suse.cz + +- update to 1.0.4 + * autoconf fixes +- correctly install/uninstall info files +- use %makeinstall and %configure macros + +------------------------------------------------------------------- +Thu Jun 26 15:55:01 CEST 2008 - puzel@suse.cz + +- update to 1.0.3 + * bugfix release (autoconf fixes) + * removed libksba-texi.patch + +------------------------------------------------------------------- +Thu Jan 10 18:21:20 CET 2008 - bk@suse.de + +- Add missing initialsation, fixes gpgsm crash in GPG's make check + +------------------------------------------------------------------- +Mon Jul 30 15:19:09 CEST 2007 - ltinkl@suse.cz + +- update to 1.0.2 + * Support for SHA-2. + * Fixed a couple of memory leaks. + * Experimental support for ECDSA. + * Minor portability fixes. + * Switched to GPLv3. + +------------------------------------------------------------------- +Tue Sep 12 13:54:08 CEST 2006 - pnemec@suse.cz + +- updated to 1.0.0 by diff from author + - change in api + +------------------------------------------------------------------- +Mon Sep 11 15:30:15 CEST 2006 - pnemec@suse.cz + +- updated to 0.9.16 + Fixed a character set conversion bug in BMPStrings + Added new api functions, see readme. + +------------------------------------------------------------------- +Fri Jun 23 17:48:21 CEST 2006 - pnemec@suse.cz + +- updated to 0.9.15 from CVS! + fixed security bug #177462 + +------------------------------------------------------------------- +Thu May 25 11:41:24 CEST 2006 - pnemec@suse.cz + +- updated to version 0.9.14 + * Fixed broken OCSP requests. + * Ignore invalid bytes appended to a certificate. + * New functions to associate user data with a certificate object. + +------------------------------------------------------------------- +Wed Jan 25 21:37:31 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Sep 26 22:38:05 CEST 2005 - mls@suse.de + +- make devel package require base package + +------------------------------------------------------------------- +Fri Aug 5 12:52:01 CEST 2005 - postadal@suse.cz + +- updated to version 0.9.12 + +------------------------------------------------------------------- +Mon Jul 11 18:45:05 CEST 2005 - postadal@suse.cz + +- updated to version 0.9.11 +- removed obsoleted patch autoconf-fix.diff + +------------------------------------------------------------------- +Wed Jan 12 14:39:35 CET 2005 - postadal@suse.cz + +- update to version 0.9.10 + +------------------------------------------------------------------- +Thu Sep 30 16:45:59 CEST 2004 - postadal@suse.cz + +- restored autoconf-fix.diff patch removed by last update [#36193, #46036] + (fixed autoconf issue - quoted definition of AM_PATH_KSBA) + +------------------------------------------------------------------- +Wed Jul 28 12:12:29 CEST 2004 - adrian@suse.de + +- update to version 0.9.8 + +------------------------------------------------------------------- +Wed Jul 14 11:52:34 CEST 2004 - adrian@suse.de + +- create -devel sub package +- prepare for nld + +------------------------------------------------------------------- +Mon Jul 12 16:30:05 CEST 2004 - adrian@suse.de + +- update to version 0.9.7 + +------------------------------------------------------------------- +Wed Mar 17 18:03:59 CET 2004 - postadal@suse.cz + +- fixed autoconf issue (quoted definition of AM_PATH_KSBA) [#36193] + +------------------------------------------------------------------- +Tue Feb 10 11:53:19 CET 2004 - postadal@suse.cz + +- fixed code that broke strict aliasing +- bziped tarball + +------------------------------------------------------------------- +Sun Jan 11 11:25:05 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Mon Jun 2 16:38:16 CEST 2003 - mc@suse.de + +- switch to version 0.4.7 + This fixes a problem mainly relevant to certificate request + creation (if you must use the ugly way of putting the email + address into the subject DN) + +------------------------------------------------------------------- +Thu Feb 20 18:49:13 CET 2003 - mc@suse.de + +- initial version + diff --git a/libksba.keyring b/libksba.keyring new file mode 100644 index 0000000..96f1bf5 --- /dev/null +++ b/libksba.keyring @@ -0,0 +1,65 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQENBE0ti4EBCACqGtKlX9jI/enhlBdy2cyQP6Q7JoyxtaG6/ckAKWHYrqFTQk3I +Ue8TuDrGT742XFncG9PoMBfJDUNltIPgKFn8E9tYQqAOlpSA25bOb30cA2ADkrjg +jvDAH8cZ+fkIayWtObTxwqLfPivjFxEM//IdShFFVQj+QHmXYBJggWyEIil8Bje7 +KRw6B5ucs4qSzp5VH4CqDr9PDnLD8lBGHk0x8jpwh4V/yEODJKATY0Vj00793L8u +qA35ZiyczUvvJSLYvf7STO943GswkxdAfqxXbYifiK2gjE/7SAmB+2jFxsonUDOB +1BAY5s3FKqrkaxZr3BBjeuGGoCuiSX/cXRIhABEBAAG0Fldlcm5lciBLb2NoIChk +aXN0IHNpZymJAVUEEwEIAD8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAFiEE +2GkhI8QGXepeDzq1JJs50k8l47YFAl4MxBkFCRShVzYACgkQJJs50k8l47YImQf9 +HaqHWor+aSmaEwQnaAN0zRa4kPbAWya182aJtsFzLZJf6BbS0aoiMhwtREN/DMvB +jzxARKep/cELaM+mc7oDK4mEwqSX/u6BE8D7FaNA9sut8P+4xjpoLPU+UzILMg29 +t1remjyT9rs6sbu8BqufIxueArkjoi4WCOSRiVTdw+YDd88volPkXlPfS8hg9Rct +wZ8kEEDywa+NrxiLx+kDgDNTNdk3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 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libksba.spec b/libksba.spec new file mode 100644 index 0000000..d73756c --- /dev/null +++ b/libksba.spec @@ -0,0 +1,104 @@ +# +# spec file for package libksba +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define soname 8 +Name: libksba +Version: 1.6.4 +Release: 0 +Summary: A X.509 Library +License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later AND MIT +Group: Development/Libraries/C and C++ +URL: https://www.gnupg.org +Source: https://gnupg.org/ftp/gcrypt/libksba/%{name}-%{version}.tar.bz2 +Source2: https://gnupg.org/ftp/gcrypt/libksba/%{name}-%{version}.tar.bz2.sig +# https://www.gnupg.org/signature_key.html +Source3: %{name}.keyring +Source4: libksba.changes +#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run +Patch0: libksba-nobetasuffix.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gpg-error) >= 1.8 + +%description +KSBA is a library to simplify the task of working with X.509 +certificates, CMS data, and related data. + +%package -n %{name}%{soname} +Summary: A X.509 Library +Group: Development/Libraries/C and C++ +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description -n %{name}%{soname} +KSBA is a library to simplify the task of working with X.509 +certificates, CMS data, and related data. + +%package devel +Summary: A X.509 Library +Group: Development/Libraries/C and C++ +Requires: libksba%{soname} = %{version} +Provides: libksba:%{_includedir}/ksba.h + +%description devel +KSBA is a library to simplify the task of working with X.509 +certificates, CMS data, and related data. + +This package contains the needed files to compile and link against the +libksba. + +%prep +%autosetup -p1 + +%build +autoreconf -vfi +build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE4}) +%configure \ + --disable-static \ + --with-pic \ + --enable-build-timestamp="${build_timestamp}" + +%make_build + +%check +%make_build check + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{name}%{soname} -p /sbin/ldconfig +%postun -n %{name}%{soname} -p /sbin/ldconfig + +%files -n %{name}%{soname} +%license COPYING* +%doc README AUTHORS ChangeLog NEWS THANKS TODO +%{_libdir}/libksba*.so.* + +%files devel +%license COPYING* +%{_bindir}/ksba-config +%{_libdir}/libksba*.so +%{_libdir}/pkgconfig/ksba.pc +%{_includedir}/ksba.h +%{_datadir}/aclocal/ksba.m4 +%{_infodir}/ksba.info%{?ext_info} + +%changelog