- Update to 1.6.7:

* Allow for an empty Subject in certs.  [T7171]
  * Release-info: https://dev.gnupg.org/T7173 
  * Rebase libksba-nobetasuffix.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/libksba?expand=0&rev=62
This commit is contained in:
Pedro Monreal Gonzalez 2024-07-05 09:37:34 +00:00 committed by Git OBS Bridge
commit 5821b853cf
10 changed files with 643 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libksba-1.6.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5dec033d211559338838c0c4957c73dfdc3ee86f73977d6279640c9cd08ce6a4
size 708510

BIN
libksba-1.6.6.tar.bz2.sig Normal file

Binary file not shown.

3
libksba-1.6.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf72510b8ebb4eb6693eef765749d83677a03c79291a311040a5bfd79baab763
size 706437

BIN
libksba-1.6.7.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
Index: libksba-1.6.7/autogen.sh
===================================================================
--- libksba-1.6.7.orig/autogen.sh
+++ libksba-1.6.7/autogen.sh
@@ -244,7 +244,7 @@ if [ "$myhost" = "find-version" ]; then
fi
beta=no
- if [ -e .git ]; then
+ if false; then
ingit=yes
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
if [ -n "$tmp" ]; then
@@ -269,8 +269,8 @@ if [ "$myhost" = "find-version" ]; then
rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
else
ingit=no
- beta=yes
- tmp="-unknown"
+ beta=no
+ tmp=""
rev="0000000"
rvd="0"
fi

399
libksba.changes Normal file
View File

@ -0,0 +1,399 @@
-------------------------------------------------------------------
Fri Jul 5 09:14:56 UTC 2024 - Angel Yankov <angel.yankov@suse.com>
- Update to 1.6.7:
* Allow for an empty Subject in certs. [T7171]
* Release-info: https://dev.gnupg.org/T7173
* Rebase libksba-nobetasuffix.patch
-------------------------------------------------------------------
Mon Feb 26 10:49:23 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.6.6:
* Fix a possible wrong error return from the DER builder. [T6992]
* Release-info: https://dev.gnupg.org/T7009
* Update upstream libksba.keyring
-------------------------------------------------------------------
Fri Nov 17 09:41:33 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.6.5:
* Add Brainpool curve detection using parameters with compressed
base point. [rKeb23f853f178]
* New configure option --with-libtool-modification. [T6619]
* Release-info: https://dev.gnupg.org/T6822
-------------------------------------------------------------------
Tue Oct 17 10:27:15 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- 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 <pmonreal@suse.com>
- 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 <dmueller@suse.com>
- 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 <pmonreal@suse.com>
- 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 <andreas.stieger@gmx.de>
- 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 <pmonreal@suse.com>
- 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 <andreas.stieger@gmx.de>
- libksba 1.5.1:
* Support Brainpool curves specified by ECDomainParameters
-------------------------------------------------------------------
Fri Nov 20 18:49:02 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- 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 <pmonrealgonzalez@suse.com>
- 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

86
libksba.keyring Normal file
View File

@ -0,0 +1,86 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjcQg531
3cRgiiiNA7OSOypMqVs73Jez6ZUctn2GVsHBrS/io9NcuC9pVwf8a61WlcEa+EtB
a3G7HlBmEWnwaUdAtWKNuAi9Xn+Ir7H2xEdksmmd5a0/QnL+sX705boVPF/tpYtb
LGpPxa78tNrtxDkSwy8Wmi0IADYLI5yI7/yUGeJd8RSCU/fLRKC9fG7YOZRq0tsO
MhVNWmtUjbG6e73Lu8LKnCZgs1/fC8hvPyARieSV5mdN8s1oWd7oYctfgL4uBleD
ItAA8GhjKejutzHN8Ei/APw6AiiSyEjnPg+cTX8OgvLGJWjks0H6mPZeB1v/kGyZ
hBS9vm540h2/MmlVN2ntiCK5TZGeSWpqddiqusfVXotMRpN4HeLKoZh4RAncaCbZ
F/S+YLeN+kMXY4k3Fqt1fjTX6veFCbthI9pDdHzU9LfUVNp9D/5ktC/tYMORMegV
+wSMxi9G2YWKJkMAEQEAAYkBzgQfAQgAOBYhBFuAxXVCmPDLVdjtarzvfilLCS4o
BQJYy8DdFwyAAZSlyaA8L+XKOwldjh/fcjz0YraxAgcAAAoJELzvfilLCS4oNgoL
/0+K1xIx8JW7Lk5M6bYCvNA4fdlEcwQIT4UidJFM9m+suxYFWIGfebvHpRlEuJTg
dBjkEit8uLAoJXU0BRkKTLrzTF+qDUE79Wfx/R+0nOgJ7aMykQOi0AvuwzMYz4dg
xIVS2Daou4DF7bh/KF8+fqrmq8P8W1ZrkuFDanMWpHeAPx1uj2skYbo7uPqFdvlJ
hlNHrcxlcCkjf1InAt0Xt5lMvEsCRUPf9xAH4mNEhs0lh9c+200YPRmtnLWAzc1K
ckLIC8Q+mUR3DjZDqBlDBEPegX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Ll8RSvQUVjVA+aCTrMQR3hRwqw8liF2wEA3O3ECxz6e1+DoItYoJBBLKLw
eiInsGZ/+h5XYrpXTgA=
=4+Sn
-----END PGP PUBLIC KEY BLOCK-----

104
libksba.spec Normal file
View File

@ -0,0 +1,104 @@
#
# spec file for package libksba
#
# Copyright (c) 2024 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.7
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: https://gnupg.org/signature_key.asc#/%{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