Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

libgnutls30-3.8.0-4.1 RPM for riscv64

From OpenSuSE Ports Tumbleweed for riscv64

Name: libgnutls30 Distribution: openSUSE Tumbleweed
Version: 3.8.0 Vendor: openSUSE
Release: 4.1 Build date: Wed May 31 05:21:13 2023
Group: System/Libraries Build host: cloud105
Size: 1817921 Source RPM: gnutls-3.8.0-4.1.src.rpm
Summary: The GNU Transport Layer Security Library
The GnuTLS library provides a secure layer over a reliable transport
layer. Currently the GnuTLS library implements the proposed standards
of the IETF's TLS working group.






* Mon May 29 2023 Pedro Monreal <>
  - FIPS: Fix baselibs.conf to mention libgnutls30-hmac [bsc#1211476]
    Extend also the checks in gnutls-FIPS-HMAC-nettle-hogweed-gmp.patch
* Wed May 24 2023 Pedro Monreal <>
  - FIPS: Skip the fixed HMAC verification for nettle, hogweed and
    gmp libraries. These calculated HMACs change for every build of
    each of these packages, we only have to verify that for gnutls.
    * Add gnutls-FIPS-HMAC-nettle-hogweed-gmp.patch [bsc#1211476]
* Mon May 22 2023 Pedro Monreal <>
  - FIPS: Merge libgnutls30-hmac package into the library [bsc#1185116]
* Mon May 15 2023 Guillaume GARDET <>
  - Disable GNULIB's year2038 also for 32-bit arm - boo#1211394
* Mon Apr 10 2023 Pedro Monreal <>
  - Temporarily disable GNULIB's year2038 support for 64bit time_t
    by using the --disable-year2038 flag. This omits support for
    timestamps past the year 2038:
    * Fixes the public API on 32-bit architectures avoiding to
      change the size of time_t as it cannot be changed without
      breaking the ABI compatibility.
    * Upstream issue:
* Tue Feb 21 2023 Pedro Monreal <>
  - Update to 3.8.0: [bsc#1205763, bsc#1209627]
    * libgnutls: Fix a Bleichenbacher oracle in the TLS RSA key
      exchange. Reported by Hubert Kario (#1050). Fix developed by
      Alexander Sosedkin. [GNUTLS-SA-2020-07-14, CVSS: medium]
    * libgnutls: C++ library is now header only. All definitions
      from gnutlsxx.c have been moved into gnutlsxx.h. Users of the
      C++ interface have two options:
      1. include gnutlsxx.h in their application and link against
      the C library. (default)
      2. include gnutlsxx.h in their application, compile with
      GNUTLS_GNUTLSXX_NO_HEADERONLY macro defined and link
      against the C++ library.
      priority modifier have been added to allow disabling of the
      status_request TLS extension in the client side.
    * libgnutls: TLS heartbeat is disabled by default.
      The heartbeat extension in TLS (RFC 6520) is not widely used
      given other implementations dropped support for it. To enable
      back support for it, supply --enable-heartbeat-support to
      configure script.
    * libgnutls: SRP authentication is now disabled by default.
      It is disabled because the SRP authentication in TLS is not
      up to date with the latest TLS standards and its ciphersuites
      are based on the CBC mode and SHA-1. To enable it back, supply
    - -enable-srp-authentication option to configure script.
    * libgnutls: All code has been indented using "indent -ppi1 -linux".
      CI/CD has been adjusted to catch regressions. This is implemented
      through devel/indent-gnutls, devel/indent-maybe and .gitlab-ci.yml’s
      commit-check. You may run devel/indent-gnutls to fix any
      indentation issues if you make code modifications.
    * guile: Guile-bindings removed. They have been extracted into a
      separate project to reduce complexity and to simplify maintenance,
      see <>.
    * minitasn1: Upgraded to libtasn1 version 4.19.
    * API and ABI modifications:
      GNUTLS_SRTP_AEAD_AES_128_GCM: New gnutls_srtp_profile_t enum member
      GNUTLS_SRTP_AEAD_AES_256_GCM: New gnutls_srtp_profile_t enum member
    * Merge gnutls-FIPS-Set-error-state-when-jent-init-failed.patch
      and gnutls-FIPS-jitterentropy-threadsafe.patch into the main
      patch gnutls-FIPS-jitterentropy.patch
    * Rebase gnutls-FIPS-140-3-references.patch
    * Rebase patches with upstream version:
    - gnutls-FIPS-PCT-DH.patch gnutls-FIPS-PCT-ECDH.patch
    * Remove patches merged/fixed upstream:
    - gnutls-FIPS-disable-failing-tests.patch
    - gnutls-verify-library-HMAC.patch
    - gnutls_ECDSA_signing.patch
    - gnutls-Make-XTS-key-check-failure-not-fatal.patch
    - gnutls-FIPS-SLI-pbkdf2-verify-keylengths-only-SHA.patch
    * Update keyring with
* Thu Feb 16 2023 Pedro Monreal <>
  - FIPS: Make the jitterentropy calls thread-safe [bsc#1208146]
    * Add gnutls-FIPS-jitterentropy-threadsafe.patch
* Thu Feb 16 2023 Pedro Monreal <>
  - FIPS: GnuTLS DH/ECDH PCT public key regeneration [bsc#1207183]
    * Rebase patches with the version submitted upstream.
    * Avoid copying the key material: gnutls-FIPS-PCT-DH.patch
    * Improve logic around memory release: gnutls-FIPS-PCT-ECDH.patch
* Fri Feb 10 2023 Pedro Monreal <>
  - Update to 3.7.9: [bsc#1208143, CVE-2023-0361]
    * libgnutls: Fix a Bleichenbacher oracle in the TLS RSA key
      exchange. [GNUTLS-SA-2020-07-14, CVSS: medium][CVE-2023-0361]
    * Rebase gnutls-FIPS-140-3-references.patch
* Fri Jan 20 2023 Pedro Monreal <>
  - FIPS: Change all the 140-2 references to FIPS 140-3 in order to
    account for the new FIPS certification [bsc#1207346]
    * Add gnutls-FIPS-140-3-references.patch
* Mon Jan 16 2023 Pedro Monreal <>
  - FIPS: GnuTLS DH/ECDH PCT public key regeneration [bsc#1207183]
    * Add gnutls-FIPS-PCT-DH.patch gnutls-FIPS-PCT-ECDH.patch
* Mon Dec 12 2022 Dirk Müller <>
  - switch to pkgconfig(zlib) so that alternative providers can be
* Tue Nov 08 2022 Pedro Monreal <>
  - Verify only the libgnutls library HMAC [bsc#1199881]
    * Do not use the brp-50-generate-fips-hmac script as this
      is now calculated with the internal fipshmac tool.
    * Add gnutls-verify-library-HMAC.patch
* Wed Nov 02 2022 Pedro Monreal <>
  - Temporarily revert the jitterentropy patches in s390 and s390x
    architectures until a fix is provided [bsc#1204937]
  - Disable flaky test that fails in s390x architecture:
    * Add gnutls-disable-flaky-test-dtls-resume.patch
* Fri Oct 14 2022 Pedro Monreal <>
  - Consolidate the FIPS hmac files [bsc#1203245]
    * Use the gnutls fipshmac tool instead of the brp-check-suse
      and rename it to reflect on the library version.
    * Remove not needed gnutls-FIPS-Run-CFB8-without-offset.patch
  - Add a gnutls.rpmlintrc file to remove a hidden-file-or-dir false
    positive for the FIPS hmac calculation.
* Sun Oct 09 2022 Pedro Monreal <>
  - Update to 3.7.8:
    * libgnutls: In FIPS140 mode, RSA signature verification is an
      approved operation if the key has modulus with known sizes
      (1024, 1280, 1536, and 1792 bits), in addition to any modulus
      sizes larger than 2048 bits, according to SP800-131A rev2.
    * libgnutls: gnutls_session_channel_binding performs additional
      checks when GNUTLS_CB_TLS_EXPORTER is requested. According to
      RFC9622 4.2, the "tls-exporter" channel binding is only usable
      when the handshake is bound to a unique master secret (i.e.,
      either TLS 1.3 or extended master secret extension is
      negotiated). Otherwise the function now returns error.
    * libgnutls: usage of the following functions, which are designed
      to loosen restrictions imposed by allowlisting mode of
      configuration, has been additionally restricted. Invoking
      them is now only allowed if system-wide TLS priority string
      has not been initialized yet:
    - gnutls_digest_set_secure
    - gnutls_sign_set_secure
    - gnutls_sign_set_secure_for_certs
    - gnutls_protocol_set_enabled
    * Delete gnutls-3.6.6-set_guile_site_dir.patch and use the
    - -with-guile-extension-dir configure option to properly
      handle the guile extension directory.
    * Rebase gnutls-Make-XTS-key-check-failure-not-fatal.patch
    * Update gnutls.keyring
    * Add a build depencency on gtk-doc required by autoreconf
* Fri Oct 07 2022 Otto Hollmann <>
  - FIPS: Set error state when jent init failed in FIPS mode [bsc#1202146]
    * Add patch gnutls-FIPS-Set-error-state-when-jent-init-failed.patch
* Tue Oct 04 2022 Otto Hollmann <>
  - FIPS: Make XTS key check failure not fatal [bsc#1203779]
    * Add gnutls-Make-XTS-key-check-failure-not-fatal.patch
* Wed Sep 14 2022 Pedro Monreal <>
  - FIPS: Run the CFB8 cipher selftest without offset [bsc#1203245]
    * CFB8 list of ciphers: GNUTLS_CIPHER_AES_{128,192,256}_CFB8
    * Add gnutls-FIPS-Run-CFB8-without-offset.patch
* Tue Sep 13 2022 Andreas Stieger <>
  - provide a libgnutls30-hmac-32bit to avoid uninstallable wine
    when pattern-base-fips is installed [boo#1203353]
* Tue Sep 06 2022 Pedro Monreal <>
  - FIPS: Additional modifications to the SLI. [bsc#1190698]
    * Mark CMAC and GMAC and non-approved in gnutls_pbkfd2().
    * Mark HMAC keylength less than 112 bits as non-approved in
    * Adapt the pbkdf2 selftest and the regression tests accordingly.
    * Add gnutls-FIPS-SLI-pbkdf2-verify-keylengths-only-SHA.patch
* Mon Aug 08 2022 Pedro Monreal <>
  - FIPS: Port GnuTLS to use jitterentropy [bsc#1202146, jsc#SLE-24941]
    * Add new dependency on jitterentropy
    * Add gnutls-FIPS-jitterentropy.patch
* Fri Jul 29 2022 Pedro Monreal <>
  - Update to 3.7.7: [bsc#1202020, CVE-2022-2509]
    * libgnutls: Fixed double free during verification of pkcs7
      signatures. CVE-2022-2509
    * libgnutls: gnutls_hkdf_expand now only accepts LENGTH argument
      less than or equal to 255 times hash digest size, to comply with
      RFC 5869 2.3.
    * libgnutls: Length limit for TLS PSK usernames has been increased
      from 128 to 65535 characters
    * libgnutls: AES-GCM encryption function now limits plaintext
      length to 2^39-256 bits, according to SP800-38D
    * libgnutls: New block cipher functions have been added to
      transparently handle padding. gnutls_cipher_encrypt3 and
      gnutls_cipher_decrypt3 can be used in combination of
      GNUTLS_CIPHER_PADDING_PKCS7 flag to automatically add/remove
      padding if the length of the original plaintext is not a multiple
      of the block size.
    * libgnutls: New function for manual FIPS self-testing.
    * API and ABI modifications:
    - gnutls_fips140_run_self_tests: New function
    - gnutls_cipher_encrypt3: New function
    - gnutls_cipher_decrypt3: New function
    - gnutls_cipher_padding_flags_t: New enum
    * guile: Guile 1.8 is no longer supported
    * guile: Session record port treats premature termination as EOF Previously,
      a 'gnutls-error' exception with the 'error/premature-termination' value
      would be thrown while reading from a session record port when the
      underlying session was terminated prematurely. This was inconvenient
      since users of the port may not be prepared to handle such an exception.
      Reading from the session record port now returns the end-of-file object
      instead of throwing an exception, just like it would for a proper
      session termination.
    * guile: Session record ports can have a 'close' procedure. The
      'session-record-port' procedure now takes an optional second parameter,
      and a new 'set-session-record-port-close!' procedure is provided to
      specify a 'close' procedure for a session record port. This 'close'
      procedure lets users specify cleanup operations for when the port is
      closed, such as closing the file descriptor or port that backs the
      underlying session.
    * Rebase patches:
    - gnutls-3.6.6-set_guile_site_dir.patch
    - gnutls-FIPS-TLS_KDF_selftest.patch
    - gnutls-FIPS-disable-failing-tests.patch
    * Remove patch merged upstream:
    - gnutls-FIPS-PBKDF2-KAT-requirements.patch
* Wed Jun 29 2022 Richard Costa <>
  - FIPS:
    * Add gnutls_ECDSA_signing.patch [bsc#1190698]
    - Check minimum keylength for symmetric key generation
    - Only allows ECDSA signature with valid set of hashes
      (SHA2 and SHA3)
* Fri May 27 2022 Antoine Belvire <>
  - Update to version 3.7.6:
    * libgnutls: Fixed invalid write when gnutls_realloc_zero() is
      called with new_size < old_size. This bug caused heap
      corruption when gnutls_realloc_zero() has been set as gmp
    * Remove gnutls-3.7.5-fix-gnutls_realloc_zero.patch: Fixed
* Wed May 25 2022 Antoine Belvire <>
  - Add gnutls-3.7.5-fix-gnutls_realloc_zero.patch: Fix memory
    corruption in gnutls_realloc_zero (gl#gnutls/gnutls#1367,
* Sat May 21 2022 Andreas Stieger <>
  - update to 3.7.5:
    * add options disable session ticket usage in TLS 1.2 because
      it does not provide forward secrecy
    * For TLS 1.3 where session tickets do provide forward secrecy,
      the PFS priority string now only disables session tickets in
      TLS 1.2.
    * Future backward incompatibility: in the next major release of
      GnuTLS those flag and modifier are planned to be removed
    * gnutls-cli, gnutls-serv: Channel binding for printing
      information has been changed from tls-unique to tls-exporter
      as tls-unique is not supported in TLS 1.3.
    * Certificate sanity checks has been enhanced to make gnutls
      more RFC 5280 compliant:
    * Removed 3DES from FIPS approved algorithms
    * Optimized support for AES-SIV-CMAC algorithms
    * libgnutls: HKDF and AES-GCM algorithms are now approved in
      FIPS-140 mode when used in TLS
* Wed May 11 2022 Marcus Meissner <>
  - disable kcapi usage for now, as kernel-obs-build not adjusted
    to contain the algorithms. bsc#1189283
* Fri Mar 18 2022 Pedro Monreal <>
  - FIPS: Additional PBKDF2 requirements for KAT [bsc#1184669]
    * The IG 10.3.A and SP800-132 require some minimum parameters for
      the salt length, password length and iteration count. These
      parameters should be also used in the KAT.
    * Add gnutls-FIPS-PBKDF2-KAT-requirements.patch
  - Enable to run the regression tests also in FIPS mode.
* Fri Mar 18 2022 Pedro Monreal <>
  - Update to 3.7.4:
    * libgnutls: Added support for certificate compression as defined
      in RFC8879.
    * certtool: Added option --compress-cert that allows user to
      specify compression  methods for certificate compression.
    * libgnutls: GnuTLS can now be compiled with --enable-strict-x509
      configure option to enforce stricter certificate sanity checks
      that are compliant with RFC5280.
    * libgnutls: Removed IA5String type from DirectoryString within
      issuer and subject name to make DirectoryString RFC5280 compliant.
    * libgnutls: Added function to retrieve the name of current
      ciphersuite from session.
    * Bump libgnutlsxx soname due to ABI break
    * API and ABI modifications:
    - GNUTLS_COMP_BROTLI: New gnutls_compression_method_t enum member
    - GNUTLS_COMP_ZSTD: New gnutls_compression_method_t enum member
    - gnutls_compress_certificate_get_selected_method: Added
    - gnutls_compress_certificate_set_methods: Added
    * Update gnutls.keyring
* Sun Feb 27 2022 Dirk Müller <>
  - build with lto
  - build with -Wl,-z,now -Wl,-z,relro
  - build without -fanalyzer, which cuts build time in ~ half
* Tue Jan 18 2022 Pedro Monreal <>
  - Update to 3.7.3: [bsc#1190698, bsc#1190796]
    * libgnutls: The allowlisting configuration mode has been added
      to the system-wide settings. In this mode, all the algorithms
      are initially marked as insecure or disabled, while the
      applications can re-enable them either through the [overrides]
      section of the configuration file or the new API (#1172).
    * The build infrastructure no longer depends on GNU AutoGen for
      generating command-line option handling, template file parsing
      in certtool, and documentation generation (#773, #774). This
      change also removes run-time or bundled dependency on the
      libopts library, and requires Python 3.6 or later to regenerate
      the distribution tarball. Note that this brings in known backward
      incompatibility in command-line tools, such as long options are
      now case sensitive, while previously they were treated in a case
      insensitive manner: for example --RSA is no longer a valid option
      of certtool. The existing scripts using GnuTLS tools may need
      adjustment for this change.
    * libgnutls: The tpm2-tss-engine compatible private blobs can be loaded
      and used as a gnutls_privkey_t (#594). The code was originally written
      for the OpenConnect VPN project by David Woodhouse. To generate such
      blobs, use the tpm2tss-genkey tool from tpm2-tss-engine:
      or the tpm2_encodeobject tool from unreleased tpm2-tools.
    * libgnutls: The library now transparently enables Linux KTLS (kernel
      TLS) when the feature is compiled in with --enable-ktls configuration
      option (#1113). If the KTLS initialization fails it automatically falls
      back to the user space implementation.
    * certtool: The certtool command can now read the Certificate Transparency
      (RFC 6962) SCT extension (#232).  New API functions are also provided to
      access and manipulate the extension values.
    * certtool: The certtool command can now generate, manipulate, and evaluate
      x25519 and x448 public keys, private keys, and certificates.
    * libgnutls: Disabling a hashing algorithm through "insecure-hash"
      configuration directive now also disables TLS ciphersuites that use it
      as a PRF algorithm.
    * libgnutls: PKCS#12 files are now created with modern algorithms by default
      (!1499). Previously certtool used PKCS12-3DES-SHA1 for key derivation and
      HMAC-SHA1 as an integity measure in PKCS#12.  Now it uses AES-128-CBC with
      PBKDF2 and SHA-256 for both key derivation and MAC algorithms, and the
      default PBKDF2 iteration count has been increased to 600000.
    * libgnutls: PKCS#12 keys derived using GOST algorithm now uses
      HMAC_GOSTR3411_2012_512 instead of HMAC_GOSTR3411_2012_256 for integrity,
      to conform with the latest TC-26 requirements (#1225).
    * libgnutls: The library now provides a means to report the status
      of approved cryptographic operations (!1465). To adhere to the
      FIPS140-3 IG 2.4.C., this complements the existing mechanism to
      prohibit the use of unapproved algorithms by making the library
      unusable state.
    * gnutls-cli: The gnutls-cli command now provides a --list-config
      option to print the library configuration (!1508).
    * libgnutls: Fixed possible race condition in
      gnutls_x509_trust_list_verify_crt2 when a single trust list object
      is shared among multiple threads (#1277). [GNUTLS-SA-2022-01-17,
      CVSS: low]
    * API and ABI modifications:
      gnutls_ecc_curve_set_enabled: Added.
      gnutls_sign_set_secure: Added.
      gnutls_sign_set_secure_for_certs: Added.
      gnutls_digest_set_secure: Added.
      gnutls_protocol_set_enabled: Added.
      gnutls_fips140_context_init: New function
      gnutls_fips140_context_deinit: New function
      gnutls_fips140_push_context: New function
      gnutls_fips140_pop_context: New function
      gnutls_fips140_get_operation_state: New function
      gnutls_fips140_operation_state_t: New enum
      gnutls_transport_is_ktls_enabled: New function
      gnutls_get_library_configuration: New function
    * Remove patches fixed in the update:
    - gnutls-FIPS-module-version.patch
    - gnutls-FIPS-service-indicator.patch
    - gnutls-FIPS-service-indicator-public-key.patch
    - gnutls-FIPS-service-indicator-symmetric-key.patch
    - gnutls-FIPS-RSA-PSS-flags.patch
    - gnutls-FIPS-RSA-mod-sizes.patch
* Tue Jan 18 2022 Pedro Monreal <>
  - FIPS: Fix regression tests in fips and non-fips mode [bsc#1194468]
    * Add gnutls-FIPS-disable-failing-tests.patch
    * Remove patches:
    - gnutls-temporarily_disable_broken_guile_reauth_test.patch
    - disable-psk-file-test.patch
* Mon Jan 17 2022 Pedro Monreal <>
  - FIPS: Provide module identifier and version [bsc#1190796]
    * Add configurable options to output the module name/identifier
      (--with-fips140-module-name) and the module version
    * Add the CLI option list-config that reports the configuration
      of the library.
    * Add gnutls-FIPS-module-version.patch
* Wed Dec 22 2021 Pedro Monreal <>
  - FIPS: Provide a service-level indicator [bsc#1190698]
    * Add support for a "service indicator" as required in
      the FIPS140-3 Implementation Guidance in section 2.4.C
    * Add patches:
    - gnutls-FIPS-service-indicator.patch
    - gnutls-FIPS-service-indicator-public-key.patch
    - gnutls-FIPS-service-indicator-symmetric-key.patch
    - gnutls-FIPS-RSA-PSS-flags.patch
* Thu Dec 16 2021 Pedro Monreal <>
  - FIPS: RSA KeyGen/SigGen fail with 4096 bit key sizes [bsc#1192008]
    * fips: allow more RSA modulus sizes
    * Add gnutls-FIPS-RSA-mod-sizes.patch
    * Delete gnutls-3.6.7-fips-rsa-4096.patch
* Fri Nov 26 2021 Dominique Leuenberger <>
  - Drop bogus condition "> 1550": that would mean 'more recent than
    Tumbleweed' which is technically impossible, as Tumbleweed is the
    leading project (and the condition causes issues as Tumbleweed
    needs to move away from 1550 due to CODE 15 SP5 plans).
* Fri Oct 15 2021 Pedro Monreal <>
  - Add crypto-policies support for Leap and SLE 15.4 [jsc#SLE-20287]
  - Add DANE guards
* Wed Jul 21 2021 Pedro Monreal <>
  - Remove gnutls-temporarily_disable_broken_guile_reauth_test.patch
    since its already working.
* Tue Jun 01 2021 Ferdinand Thiessen <>
  - Update to version 3.7.2
    * Added Linux kernel AF_ALG based acceleration
    * Fixed timing of early data exchange
    * The priority string option DISABLE_TLS13_COMPAT_MODE was added
      to disable TLS 1.3 middlebox compatibility mode
    * The GNUTLS_NO_EXPLICIT_INIT envvar has been renamed to
      GNUTLS_NO_IMPLICIT_INIT to reflect the purpose
    * certtool:
    * When signing a CSR, CRL distribution point (CDP) is no
      longer copied from the signing CA by default
    * When producing certificates and certificate requests, subject
      DN components that are provided individually will now be
      ordered by assumed scale
* Wed May 26 2021 Pedro Monreal <>
  - Rework the crypto-policies dependencies in libraries [bsc#1186385]
* Thu May 13 2021 Pedro Monreal <>
  - Compute the FIPS hmac file without re-defining the
    __os_install_post macro, use the brp-50-generate-fips-hmac
    script instead. [bsc#1184555]
* Thu Mar 18 2021 Pedro Monreal <>
  - Require the main package in devel and lib packages as the default
    priorities are now set via crypto-policies. [bsc#1183082]
* Fri Mar 12 2021 Pedro Monreal <>
  - Update to 3.7.1:
      [bsc#1183456, CVE-2021-20232] [bsc#1183457, CVE-2021-20231]
    * Fixed potential use-after-free in sending "key_share" and
      "pre_shared_key" extensions.
    * Fixed a regression in handling duplicated certs in a chain.
    * Fixed sending of session ID in TLS 1.3 middlebox compatibility
      mode. In that mode the client shall always send a non-zero
      session ID to make the handshake resemble the TLS 1.2
      resumption; this was not true in the previous versions.
    * Removed dependency on the external 'fipscheck' package,
      when compiled with --enable-fips140-mode.
    * Added padlock acceleration for AES-192-CBC.
  - Remove patches upstream:
    * gnutls-gnutls-cli-debug.patch
    * gnutls-ignore-duplicate-certificates.patch
    * gnutls-test-fixes.patch
* Wed Feb 10 2021 Pedro Monreal <>
  - Fix the test suite for tests/ [bsc#1171565]
    * Don't unset system priority settings in
    * Upstream:
  - Add gnutls-gnutls-cli-debug.patch
* Wed Feb 10 2021 Pedro Monreal <>
  - Fix: Test certificates in tests/testpkcs11-certs have expired
    * Upstream bug:
  - Add gnutls-test-fixes.patch
* Mon Feb 08 2021 Pedro Monreal <>
  - gnutls_x509_trust_list_verify_crt2: ignore duplicate certificates
    * Upstream bug:
  - Add gnutls-ignore-duplicate-certificates.patch
* Wed Jan 27 2021 Pedro Monreal <>
  - Update to 3.7.0
    * Depend on nettle 3.6
    * Added a new API that provides a callback function to retrieve
      missing certificates from incomplete certificate chains
    * Added a new API that provides a callback function to output the
      complete path to the trusted root during certificate chain
    * OIDs exposed as gnutls_datum_t no longer account for the
      terminating null bytes, while the data field is null terminated.
      The affected API functions are: gnutls_ocsp_req_get_extension,
      gnutls_ocsp_resp_get_response, and gnutls_ocsp_resp_get_extension
    * Added a new set of API to enable QUIC implementation
    * The crypto implementation override APIs deprecated in 3.6.9 are
      now no-op
    * Support for padlock has been fixed to make it work with Zhaoxin CPU
    * The maximum PIN length for PKCS #11 has been increased from 31
      bytes to 255 bytes
  - Remove patch fixed upstream:
    * gnutls-FIPS-use_2048_bit_prime_in_DH_selftest.patch
  - Add version guards for the crypto-policies package
  - Fix threading bug in libgnutls [bsc#1173434]
    * Upstream bug:
* Thu Dec 17 2020 Pedro Monreal <>
  - Require the crypto-policies package [bsc#1180051]
* Tue Nov 24 2020 Vítězslav Čížek <>
  - Use the centralized crypto policy profile (jsc#SLE-15832)
* Tue Nov 10 2020 Vítězslav Čížek <>
  - FIPS: Use 2048 bit prime in DH selftest (bsc#1176086)
    * add gnutls-FIPS-use_2048_bit_prime_in_DH_selftest.patch
  - FIPS: Add TLS KDF selftest (bsc#1176671)
    * add gnutls-FIPS-TLS_KDF_selftest.patch
* Mon Oct 12 2020 Dominique Leuenberger <>
  - Escape rpm command %%expand when used in comment.
* Tue Sep 08 2020 Vítězslav Čížek <>
  - Update to 3.6.15
    * libgnutls: Fixed "no_renegotiation" alert handling at incorrect timing.
    [GNUTLS-SA-2020-09-04, CVSS: medium]
    * libgnutls: If FIPS self-tests are failed, gnutls_fips140_mode_enabled() now
    indicates that with a false return value (!1306).
    * libgnutls: Under FIPS mode, the generated ECDH/DH public keys are checked
    accordingly to SP800-56A rev 3 (!1295, !1299).
    * libgnutls: gnutls_x509_crt_export2() now returns 0 upon success, rather than
    the size of the internal base64 blob (#1025).
    * libgnutls: Certificate verification failue due to OCSP must-stapling is not
    honered is now correctly marked with the GNUTLS_CERT_INVALID flag
    * libgnutls: The audit log message for weak hashes is no longer printed twice
    * libgnutls: Fixed version negotiation when TLS 1.3 is enabled and TLS 1.2 is
    disabled in the priority string. Previously, even when TLS 1.2 is explicitly
    disabled with "-VERS-TLS1.2", the server still offered TLS 1.2 if TLS 1.3 is
    enabled (#1054).
  - drop upstreamed patches:
    * gnutls-detect_nettle_so.patch
    * 0001-crypto-api-always-allocate-memory-when-serializing-i.patch
* Tue Jun 09 2020 Vítězslav Čížek <>
  - Correctly detect gmp, nettle, and hogweed libraries (bsc#1172666)
    * add gnutls-detect_nettle_so.patch
* Mon Jun 08 2020 Vítězslav Čížek <>
  - Fix a memory leak that could lead to a DoS attack against Samba
    servers (bsc#1172663)
    * add 0001-crypto-api-always-allocate-memory-when-serializing-i.patch
  - Temporarily disable broken guile reauth test (bsc#1171565)
    * add gnutls-temporarily_disable_broken_guile_reauth_test.patch
* Thu Jun 04 2020 Vítězslav Čížek <>
  - Update to 3.6.14
    * libgnutls: Fixed insecure session ticket key construction, since 3.6.4.
      The TLS server would not bind the session ticket encryption key with a
      value supplied by the application until the initial key rotation, allowing
      attacker to bypass authentication in TLS 1.3 and recover previous
      conversations in TLS 1.2 (#1011). (bsc#1172506, CVE-2020-13777)
      [GNUTLS-SA-2020-06-03, CVSS: high]
    * libgnutls: Fixed handling of certificate chain with cross-signed
      intermediate CA certificates (#1008). (bsc#1172461)
    * libgnutls: Fixed reception of empty session ticket under TLS 1.2 (#997).
    * libgnutls: gnutls_x509_crt_print() is enhanced to recognizes commonName
      (, decodes certificate policy OIDs (!1245), and prints Authority
      Key Identifier (AKI) properly (#989, #991).
    * certtool: PKCS #7 attributes are now printed with symbolic names (!1246).
    * libgnutls: Use accelerated AES-XTS implementation if possible (!1244).
      Also both accelerated and non-accelerated implementations check key block
      according to FIPS-140-2 IG A.9 (!1233).
    * libgnutls: Added support for AES-SIV ciphers (#463).
    * libgnutls: Added support for 192-bit AES-GCM cipher (!1267).
    * libgnutls: No longer use internal symbols exported from Nettle (!1235)
    * API and ABI modifications:
      GNUTLS_CIPHER_AES_128_SIV: Added
      GNUTLS_CIPHER_AES_256_SIV: Added
      GNUTLS_CIPHER_AES_192_GCM: Added
      gnutls_pkcs7_print_signature_info: Added
  - Add key D605848ED7E69871: public key "Daiki Ueno <>" to
    the keyring
  - Drop gnutls-fips_correct_nettle_soversion.patch (upstream)
* Thu Apr 02 2020 Vítězslav Čížek <>
  - Use correct nettle .so version when looking for a FIPS checksum
    * add gnutls-fips_correct_nettle_soversion.patch
* Thu Apr 02 2020 Vítězslav Čížek <>
  - Update to 3.6.13
    * libgnutls: Fix a DTLS-protocol regression (caused by TLS1.3
      The DTLS client would not contribute any randomness to the DTLS negotiation,
      breaking the security guarantees of the DTLS protocol (#960)
      [GNUTLS-SA-2020-03-31, CVSS: high] (bsc#1168345)
    * libgnutls: Added new APIs to access KDF algorithms (#813).
    * libgnutls: Added new callback gnutls_keylog_func that enables a custom
      logging functionality.
    * libgnutls: Added support for non-null terminated usernames in PSK
      negotiation (#586).
    * gnutls-cli-debug: Improved support for old servers that only support
      SSL 3.0.
* Mon Mar 30 2020 Vítězslav Čížek <>
  - Split off FIPS checksums into a separate libgnutls30-hmac
    subpackage (bsc#1152692)
* Tue Feb 04 2020 Ondřej Súkup <>
  - gnutls 3.6.12
    * libgnutls: Introduced TLS session flag (gnutls_session_get_flags())
    to identify sessions that client request OCSP status request (#829).
    * libgnutls: Added support for X448 key exchange (RFC 7748) and Ed448
    signature algorithm (RFC 8032) under TLS (#86).
    * libgnutls: Added the default-priority-string option to system configuration;
    it allows overriding the compiled-in default-priority-string.
    * libgnutls: Added support for GOST CNT_IMIT ciphersuite (as defined by
    By default this ciphersuite is disabled. It can be enabled by adding
    +GOST to priority string. In the future this priority string may enable
    other GOST ciphersuites as well.  Note, that server will fail to negotiate
    GOST ciphersuites if TLS 1.3 is enabled both on a server and a client. It
    is recommended for now to disable TLS 1.3 in setups where GOST ciphersuites
    are enabled on GnuTLS-based servers.
    * libgnutls: added priority shortcuts for different GOST categories like
    * libgnutls: Reject certificates with invalid time fields. That is we reject
    certificates with invalid characters in Time fields, or invalid time formatting
    To continue accepting the invalid form compile with --disable-strict-der-time
    * libgnutls: Reject certificates which contain duplicate extensions. We were
    previously printing warnings when printing such a certificate, but that is
    not always sufficient to flag such certificates as invalid. Instead we now
    refuse to import them (#887).
    * libgnutls: If a CA is found in the trusted list, check in addition to
    time validity, whether the algorithms comply to the expected level prior
    to accepting it. This addresses the problem of accepting CAs which would
    have been marked as insecure otherwise (#877).
    * libgnutls: The min-verification-profile from system configuration applies
    for all certificate verifications, not only under TLS. The configuration can
    be overriden using the GNUTLS_SYSTEM_PRIORITY_FILE environment variable.
    * libgnutls: The stapled OCSP certificate verification adheres to the convention
    used throughout the library of setting the 'GNUTLS_CERT_INVALID' flag.
    * libgnutls: On client side only send OCSP staples if they have been requested
    by the server, and on server side always advertise that we support OCSP stapling
    * libgnutls: Introduced the gnutls_ocsp_req_const_t which is compatible
    with gnutls_ocsp_req_t but const.
    * certtool: Added the --verify-profile option to set a certificate
    verification profile. Use '--verify-profile low' for certificate verification
    to apply the 'NORMAL' verification profile.
    * certtool: The add_extension template option is considered even when generating
    a certificate from a certificate request.
* Tue Dec 03 2019 Andreas Stieger <>
  - gnutls
    * libgnutls: Corrected issue with TLS 1.2 session ticket
      handling as client during resumption
    * libgnutls: gnutls_base64_decode2() succeeds decoding the empty
      string to the empty string. This is a behavioral change of the
      API but it conforms to the RFC4648 expectations
    * libgnutls: Fixed AES-CFB8 implementation, when input is shorter
      than the block size. Fix backported from nettle.
    * certtool: CRL distribution points will be set in CA
      certificates even when non self-signed
    * gnutls-cli/serv: added raw public-key handling capabilities
      (RFC7250). Key material can be set via the --rawpkkeyfile and
    - -rawpkfile flags.
* Thu Oct 10 2019 Andreas Stieger <>
  - gnutls 3.6.10:
    * Add support for deterministic ECDSA/DSA (RFC6979)
    * Add functions for in-place encryption/decryption of data buffers
    * server now selects the highest TLS protocol version, if TLS 1.3
      is enabled and the client advertises an older protocol version
    * Add support for GOST 28147-89 cipher in CNT (GOST counter) mode
      and MAC generation based on GOST 28147-89 (IMIT)
    * certtool: when outputting an encrypted private key do not
      insert the textual description of it
* Tue Sep 24 2019 Vítězslav Čížek <>
  - Install checksums for binary integrity verification which are
    required when running in FIPS mode (bsc#1152692, jsc#SLE-9518)
* Wed Jul 31 2019 Andreas Stieger <>
  - gnutls 3.6.9:
    * add support for copying digest or MAC contexts
    * Mark the crypto implementation override APIs as deprecated
    * Add support for AES-GMAC, as a separate to GCM, MAC algorithm
    * Add support for Generalname registeredID
    * The priority configuration was enhanced to allow more elaborate
      system-wide configuration of the library
  - includes changes from 3.6.8:
    * Add support for AES-XTS cipher
    * Fix calculation of Streebog digests
    * During Diffie-Hellman operations in TLS, verify that the peer's
      public key is on the right subgroup (y^q=1 mod p), when q is
      available (under TLS 1.3 and under earlier versions when RFC7919
      parameters are used).
    * Apply STD3 ASCII rules in gnutls_idna_map() to prevent
      hostname/domain crafting via IDNA conversion
    * certtool: allow the digital signature key usage flag in CA
    * gnutls-cli/serv: add the --keymatexport and --keymatexportsize
      options. These allow testing the RFC5705 using these tools
  - drop patches to re-enable tests:
    * disable-psk-file-test.patch
    * gnutls-3.6.0-disable-flaky-dtls_resume-test.patch
* Thu Apr 04 2019 Jan Engelhardt <>
  - Trim useless %if..%endif guards that do not affect the build.
  - Fix language errors in description again.
* Thu Apr 04 2019 Jason Sikes <>
  - Update gnutls to 3.6.7
    * * libgnutls, gnutls tools: Every gnutls_free() will automatically set
      the free'd pointer to NULL. This prevents possible use-after-free and
      double free issues. Use-after-free will be turned into NULL dereference.
      The counter-measure does not extend to applications using gnutls_free().
    * * libgnutls: Fixed a memory corruption (double free) vulnerability in the
      certificate verification API. Reported by Tavis Ormandy; addressed with
      the change above. [GNUTLS-SA-2019-03-27, #694] [bsc#1130681] (CVE-2019-3829)
    * * libgnutls: Fixed an invalid pointer access via malformed TLS1.3 async messages;
      Found using tlsfuzzer. [GNUTLS-SA-2019-03-27, #704] [bsc#1130682] (CVE-2019-3836)
    * * libgnutls: enforce key usage limitations on certificates more actively.
      Previously we would enforce it for TLS1.2 protocol, now we enforce it
      even when TLS1.3 is negotiated, or on client certificates as well. When
      an inappropriate for TLS1.3 certificate is seen on the credentials structure
      GnuTLS will disable TLS1.3 support for that session (#690).
    * * libgnutls: the default number of tickets sent under TLS 1.3 was increased to
      two. This makes it easier for clients which perform multiple connections
      to the server to use the tickets sent by a default server.
    * * libgnutls: enforce the equality of the two signature parameters fields in
      a certificate. We were already enforcing the signature algorithm, but there
      was a bug in parameter checking code.
    * * libgnutls: fixed issue preventing sending and receiving from different
      threads when false start was enabled (#713).
    * * libgnutls: the flag GNUTLS_PKCS11_OBJ_FLAG_LOGIN_SO now implies a writable
      session, as non-writeable security officer sessions are undefined in PKCS#11
    * * libgnutls: no longer send downgrade sentinel in TLS 1.3.
      Previously the sentinel value was embedded to early in version
      negotiation and was sent even on TLS 1.3. It is now sent only when
      TLS 1.2 or earlier is negotiated (#689).
    * * gnutls-cli: Added option --logfile to redirect informational messages output.
  - Disabled dane support in SLE since dane is not shipped there
  - Changed configure script to hardware guile site directory since command-line
    option '--with-guile-site-dir=' was removed from the configure script.
    * * Added gnutls-3.6.6-set_guile_site_dir.patch
  - Modified gnutls-3.6.0-disable-flaky-dtls_resume-test.patch to fix
    compilation issues on PPC
* Mon Feb 04 2019 Vítězslav Čížek <>
  - Update to 3.6.6
    * * libgnutls: gnutls_pubkey_import_ecc_raw() was fixed to set the number bits
      on the public key (#640).
    * * libgnutls: Added support for raw public-key authentication as defined in RFC7250.
      Raw public-keys can be negotiated by enabling the corresponding certificate
      types via the priority strings. The raw public-key mechanism must be explicitly
      enabled via the GNUTLS_ENABLE_RAWPK init flag (#26, #280).
    * * libgnutls: When on server or client side we are sending no extensions we do
      not set an empty extensions field but we rather remove that field competely.
      This solves a regression since 3.5.x and improves compatibility of the server
      side with certain clients.
    * * libgnutls: We no longer mark RSA keys in PKCS#11 tokens as RSA-PSS capable if
      the CKA_SIGN is not set (#667).
    * * libgnutls: The priority string option %NO_EXTENSIONS was improved to completely
      disable extensions at all cases, while providing a functional session. This
      also implies that when specified, TLS1.3 is disabled.
    * * libgnutls: GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION was marked as deprecated.
      The previous definition was non-functional (#609).
  - drop no longer needed gnutls-enbale-guile-2.2.patch
  - refresh disable-psk-file-test.patch
* Wed Jan 02 2019 Vítězslav Čížek <>
  - Update to 3.6.5
    * * libgnutls: Provide the option of transparent re-handshake/reauthentication
      when the GNUTLS_AUTO_REAUTH flag is specified in gnutls_init() (#571).
    * * libgnutls: Added support for TLS 1.3 zero round-trip (0-RTT) mode (#127)
    * * libgnutls: The priority functions will ignore and not enable TLS1.3 if
      requested with legacy TLS versions enabled but not TLS1.2. That is because
      if such a priority string is used in the client side (e.g., TLS1.3+TLS1.0 enabled)
      servers which do not support TLS1.3 will negotiate TLS1.2 which will be
      rejected by the client as disabled (#621).
    * * libgnutls: Change RSA decryption to use a new side-channel silent function.
      This addresses a security issue where memory access patterns as well as timing
      on the underlying Nettle rsa-decrypt function could lead to new Bleichenbacher
      attacks. Side-channel resistant code is slower due to the need to mask
      access and timings. When used in TLS the new functions cause RSA based
      handshakes to be between 13% and 28% slower on average (Numbers are indicative,
      the tests where performed on a relatively modern Intel CPU, results vary
      depending on the CPU and architecture used). This change makes nettle 3.4.1
      the minimum requirement of gnutls (#630). [CVSS: medium]
    * * libgnutls: gnutls_priority_init() and friends, allow the CTYPE-OPENPGP keyword
      in the priority string. It is only accepted as legacy option and is ignored.
    * * libgnutls: Added support for EdDSA under PKCS#11 (#417)
    * * libgnutls: Added support for AES-CFB8 cipher (#357)
    * * libgnutls: Added support for AES-CMAC MAC (#351)
    * * libgnutls: In two previous versions GNUTLS_CIPHER_GOST28147_CPB/CPC/CPD_CFB ciphers
      have incorrectly used CryptoPro-A S-BOX instead of proper (CryptoPro-B/-C/-D
      S-BOXes). They are fixed now.
    * * libgnutls: Added support for GOST key unmasking and unwrapped GOST private
      keys parsing, as specified in R 50.1.112-2016.
    * * gnutls-serv: It applies the default settings when no --priority option is given,
      using gnutls_set_default_priority().
    * * p11tool: Fix initialization of security officer's PIN with the --initialize-so-pin
      option (#561)
    * * certtool: Add parameter --no-text that prevents certtool from outputting
      text before PEM-encoded private key, public key, certificate, CRL or CSR.
  - minimum required libnettle is now 3.4.1
  - refresh
    * disable-psk-file-test.patch
    * gnutls-3.6.0-disable-flaky-dtls_resume-test.patch



Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Aug 21 23:21:39 2023