Commit Graph

171 Commits

Author SHA1 Message Date
Jitka Plesnikova
85726873b1 Resolves: RHEL-156845
Exclude private key from RPM documentation

Updated the .spec file to ensure private keys are no longer included in the %doc directory.
Due to security scan could be private key in that place flagged as an important risk.

Remove private key and related script from documentation
ďżź
2026-04-08 12:29:08 +02:00
Andrea Bolognani
04062833cd Fix test suite to work with OpenSSL 3.4.0 and newer
Resolves: RHEL-92601

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-05-20 10:41:24 +02:00
Troy Dawson
07af6b2559 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:59:32 -07:00
Troy Dawson
7d4c16a903 Bump release for Aug 2024 perl mass rebuild
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-08-08 04:30:22 -07:00
Jitka Plesnikova
2db7c9021e Update gating.yaml 2024-07-02 16:08:37 +02:00
Jitka Plesnikova
2a0f1d8dc8 Resolves: RHEL-33744 2024-07-02 14:49:25 +02:00
Jitka Plesnikova
60489ef2a7 Resolves: RHEL-33744 - Stop using OpenSSL ENGINE API 2024-07-02 14:43:20 +02:00
Troy Dawson
596a5cb9e5 Bump release for June 2024 mass rebuild 2024-06-24 09:11:47 -07:00
Fedora Release Engineering
cbeb3ede78 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 19:06:30 +00:00
Fedora Release Engineering
939de51b9d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 17:28:17 +00:00
Paul Howarth
12381401f6 Update to 1.94
- New upstream release 1.94
  - Net::SSLeay now officially supports all stable releases of OpenSSL 3.1 and
    3.2, and LibreSSL 3.5-3.8
  - Many noisy compiler warnings have been silenced - if SSLeay.xs fails to
    compile, it should now be much easier to identify the cause
  - libcrypto's OPENSSL_init_crypto() function and libssl's OPENSSL_init_ssl()
    function are now exposed, enabling fine-grained control over the
    initialisation and configuration of both libraries
  - libssl functions implementing TLS 1.3 PSK authentication are now exposed,
    in particular SSL_CTX_set_psk_find_session_callback() (on the server side)
    and SSL_CTX_set_psk_use_session_callback() (on the client side)
  - libssl functions implementing server-side TLS 1.2 PSK authentication are
    now exposed, in particular SSL_CTX_set_psk_server_callback()
  - libssl's SSL_CTX_set_client_hello_cb() function is now exposed, allowing a
    TLS server to set a callback function that is executed when the server
    processes a ClientHello message
  - Many more libcrypto/libssl constants and functions are now exposed; see the
    release notes for the 1.93 developer releases for a full list
2024-01-08 09:18:31 +00:00
Paul Howarth
b01f20ee96 Rebuild for OpenSSL 3.1.1 in Rawhide 2023-08-03 08:53:56 +01:00
Fedora Release Engineering
f22efabe89 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 00:27:50 +00:00
Jitka Plesnikova
5b1e264b99 Perl 5.38 rebuild 2023-07-11 16:18:34 +02:00
Paul Howarth
4fae270285 Work around EL-9, ELN issues with SHA-1 usage
Update test suite to handle potential unavailability of sha1 algorithm
(https://github.com/radiator-software/p5-net-ssleay/pull/433).

Avoid deprecated patch syntax.
2023-04-06 15:59:20 +01:00
Michal Josef Špaček
edabffe050 Update license to SPDX format 2023-03-18 08:57:45 +01:00
Fedora Release Engineering
ca40bf5dd1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 04:49:47 +00:00
Jitka Plesnikova
3305385170 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 16:54:21 +01:00
Fedora Release Engineering
413f5bc757 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 09:42:25 +00:00
Jitka Plesnikova
fd62aeeaf5 Perl 5.36 rebuild 2022-05-31 09:09:54 +02:00
Fedora Release Engineering
89e3fc0e10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 04:04:51 +00:00
Paul Howarth
5d702bae7c Update to 1.92
- New upstream release 1.92
  - Net::SSLeay now supports stable releases of OpenSSL 3.0
    - OpenSSL 3.0.0 introduces the concept of "providers", which contain
      cryptographic algorithm implementations; many outdated, deprecated
      and/or insecure algorithms have been moved to the "legacy" provider,
      which may need to be loaded explicitly in order to use them with
      Net::SSLeay (see "Low level API: OSSL_LIB_CTX and OSSL_PROVIDER
      related functions" in the Net::SSLeay module documentation for details)
    - Net::SSLeay's built-in PEM_get_string_PrivateKey() function depends on
      algorithms that have moved to the legacy provider described above; if
      OpenSSL has been compiled without the legacy provider, the tests
      t/local/33_x509_create_cert.t and t/local/63_ec_key_generate_key.t will
      fail when the test suite is run
    - TLS 1.1 and below may only be used at security level 0 as of OpenSSL
      3.0.0; if a minimum required security level is imposed (e.g. in an
      OpenSSL configuration file managed by the operating system), the tests
      t/local/44_sess.t and t/local/45_exporter.t will fail when the test
      suite is run
  - Net::SSLeay now supports stable releases of LibreSSL from the 3.2-3.4
    series (with the exception of 3.2.2 and 3.2.3 - see "COMPATIBILITY" in
    the Net::SSLeay module documentation for details)
    - The TLS 1.3 implementation in LibreSSL 3.1-3.3, parts of which are
      enabled by default, is not fully compatible with the libssl API and may
      not function as expected with Net::SSLeay; see "KNOWN BUGS AND CAVEATS"
      in the Net::SSLeay module documentation for details
  - A number of new libcrypto/libssl constants and functions are now exposed,
    including SSL_CTX_set_keylog_callback() and SSL_CTX_set_msg_callback(),
    which are helpful when debugging TLS handshakes; see the release notes
    for the 1.91 developer releases (in the Changes file) for a full list of
    newly-exposed constants and functions
2022-01-13 12:13:06 +00:00
Paul Howarth
169a34f3d5 Fixes for OpenSSL 3.0.0 are now entirely from upstream 2021-10-05 16:23:01 +01:00
Paul Howarth
349171cf2a Add fixes (mainly from upstream) for OpenSSL 3.0.0 2021-09-15 13:08:33 +01:00
Sahana Prasad
216d893848 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:11:21 +02:00
Fedora Release Engineering
61ed5659cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 22:39:15 +00:00
Jitka Plesnikova
fd26f63117 Perl 5.34 rebuild 2021-05-21 22:41:45 +02:00
Fedora Release Engineering
d3b99b611d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 03:32:52 +00:00
Paul Howarth
ebcaf5749f Update to 1.90
- New upstream release 1.90
  - Formalised libssl version support policy: all stable versions of OpenSSL
    in the 0.9.8-1.1.1 branches (with the exception of 0.9.8-0.9.8b) and all
    stable releases of LibreSSL in the 2.0-3.1 series are supported
  - The LibreSSL 3.2 series is not yet fully supported because its TLSv1.3
    implementation is not currently libssl-compatible
  - Added support for LibreSSL on Windows when built with Visual C++
  - Exposed P_X509_CRL_add_extensions, several SSL_CIPHER functions, and
    several stack functions
  - Fixed crashes in the callback functions CTX_set_next_proto_select_cb and
    CTX_set_alpn_select_cb
  - The test suite is now compatible with OpenSSL 1.1.1e onwards, as well as
    OpenSSL security level 2 (the default on many Linux distributions)
2021-01-22 08:49:05 +00:00
Fedora Release Engineering
50e03ed773 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 17:46:24 +00:00
Jitka Plesnikova
ff7d3c4763 Perl 5.32 rebuild 2020-06-23 12:13:20 +02:00
Paul Howarth
a8e6709c9d Fix FTBFS with OpenSSL 1.1.1e
Add SSL_shutdown() calls in Net::SSLeay::sslcat() and t/local/07_sslecho.t
to fix compatibility with OpenSSL 1.1.1e (GH#160, GH#161)
2020-03-21 13:00:11 +00:00
Paul Howarth
f0df325d37 BR: perl(FindBin) for test suite 2020-03-10 06:53:47 +00:00
Tom Stellard
be277a9b65 Spec file cleanups: Use make_build and make_install macros and other changes
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker
2020-02-19 13:57:03 +00:00
Paul Howarth
f67ec24665 Update ExtUtils::PkgConfig patch
The ExtUtils::PkgConfig->exists method was introduced in
ExtUtils::PkgConfig version 1.16.
2020-02-05 12:00:42 +00:00
Fedora Release Engineering
123fba1efe - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 03:04:59 +00:00
Fedora Release Engineering
4b68caa826 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 05:25:46 +00:00
Jitka Plesnikova
b30a359785 Perl 5.30 rebuild 2019-05-31 06:56:50 +02:00
Paul Howarth
a274d34719 Update to 1.88
- New upstream release 1.88
  Summary of major changes since version 1.85
  - Mike McCauley has stepped down as maintainer: the new maintainers are Chris
    Novakovic, Heikki Vatiainen and Tuure Vartiainen
  - The source code has moved from the now-defunct Debian Subversion server
    (alioth.debian.org) to GitHub
    (https://github.com/radiator-software/p5-net-ssleay)
  - Net-SSLeay is provided under the terms of the Artistic License 2.0; this
    has been the case since version 1.66, but references to other licenses
    remained in the source code, causing ambiguity
  - Perl 5.8.1 or newer is now required to use Net-SSLeay; this has already
    been the case for some time in practice, as the test suite hasn't fully
    passed on Perl 5.6 for several years
  - Much-improved compatibility with OpenSSL 1.1.1, and improved support for
    TLS 1.3
  - Fixed a long-standing bug in cb_data_advanced_put() that caused memory
    leaks when callbacks were frequently added and removed
  - Support in the test suite for "hardened" OpenSSL configurations that set a
    default security level of 2 or higher (e.g., in the OpenSSL packages that
    ship with recent versions of Debian, Fedora and Ubuntu)
2019-05-11 14:21:01 +01:00
Petr Písař
3320d4f81c Replace expired test certificates 2019-04-18 11:38:35 +02:00
Paul Howarth
f571bb6a69 Get libraries to link against from pkg-config
Upstream pull request:
https://github.com/radiator-software/p5-net-ssleay/pull/127
2019-03-30 08:06:53 +00:00
Petr Písař
4e08982bea Update to 1.86_09 2019-03-27 12:28:21 +01:00
Fedora Release Engineering
8bbd33a27b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 23:00:39 +00:00
Paul Howarth
05e7d5430f OpenSSL 1.1.1 in Fedora disables SSL3 API, so stop trying to test it 2018-09-29 12:58:28 +01:00
Paul Howarth
ad61fc6a83 Expose SSL_CTX_set_post_handshake_auth (#1630391)
https://github.com/radiator-software/p5-net-ssleay/pull/68
2018-09-19 10:43:29 +01:00
Petr Písař
0dbcb7b849 Revert retry in Net::SSLeay::write_partial() 2018-08-17 13:15:59 +02:00
Petr Písař
d608c17fdc Revert retry in Net::SSLeay::{read,write}() 2018-08-15 17:15:51 +02:00
Petr Písař
2eec92ff39 Avoid SIGPIPE in t/local/36_verify.t 2018-08-14 17:45:15 +02:00
Petr Písař
7bf995fc5c Rename rpmlint configuration file 2018-08-13 15:37:22 +02:00
Petr Písař
4f30952208 Adapt tests to system-wide crypto policy
openssl-1:1.1.1-0.pre8.2.fc29 started to obey to a system-wide crypto
policy. This affected Net-SSLeay tests. Please note that
openssl-1.1.1-0.pre8.3.fc29 fixed some regressions affecting
Net-SSLeay tests.
2018-08-13 15:35:53 +02:00