Bug 2587826

Summary: Review Request: perl-Crypt-OpenSSL-Verify - OpenSSL Verify certificate verification in XS
Product: [Fedora] Fedora Reporter: Michal Josef Spacek <mspacek>
Component: Package ReviewAssignee: Jitka Plesnikova <jplesnik>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jplesnik, package-review
Target Milestone: ---Flags: jplesnik: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://metacpan.org/dist/Crypt-OpenSSL-Verify
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 11414352 to 11416932 none

Description Michal Josef Spacek 2026-12-01 11:11:00 UTC
Spec URL: https://skim.cz/tmp/perl-Crypt-OpenSSL-Verify/perl-Crypt-OpenSSL-Verify.spec
SRPM URL: https://skim.cz/tmp/perl-Crypt-OpenSSL-Verify/perl-Crypt-OpenSSL-Verify-0.38-1.fc46.src.rpm
Description:
Given a CA certificate and another untrusted certificate, will show whether
the CA signs the certificate. This is a useful thing to have if you're
signing with X509 certificates, but outside of SSL.
Fedora Account System Username: mspacek

Comment 1 Fedora Review Service 2026-12-01 11:15:48 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11414352
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587826-perl-crypt-openssl-verify/fedora-rawhide-x86_64/11414352-perl-Crypt-OpenSSL-Verify/fedora-review/review.txt

Found issues:

- Explicit dependency on perl-devel is not allowed unless building architecture-specific code which links to libperl.so
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Michal Josef Spacek 2026-12-01 17:58:01 UTC
Spec URL: https://skim.cz/tmp/perl-Crypt-OpenSSL-Verify2/perl-Crypt-OpenSSL-Verify.spec
SRPM URL: https://skim.cz/tmp/perl-Crypt-OpenSSL-Verify2/perl-Crypt-OpenSSL-Verify-0.38-1.fc46.src.rpm
Description:
Given a CA certificate and another untrusted certificate, will show whether
the CA signs the certificate. This is a useful thing to have if you're
signing with X509 certificates, but outside of SSL.
Fedora Account System Username: mspacek

Comment 3 Fedora Review Service 2026-12-01 18:05:05 UTC
Created attachment 2164627 [details]
The .spec file difference from Copr build 11414352 to 11416932

Comment 4 Fedora Review Service 2026-12-01 18:05:07 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11416932
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587826-perl-crypt-openssl-verify/fedora-rawhide-x86_64/11416932-perl-Crypt-OpenSSL-Verify/fedora-review/review.txt

Found issues:

- Explicit dependency on perl-devel is not allowed unless building architecture-specific code which links to libperl.so
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Jitka Plesnikova 2026-12-04 11:46:23 UTC
Source file is ok
Summary is ok
Description is ok
URL and Source0 are ok
All tests passed

License
FIX: License should be updated. Perl license is defined in Makefile.PL and
     LICENSE file.
     However, Verify.pm and README contain following statement:
LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as OpenSSL and is covered by the dual
OpenSSL and SSLeay license.

BuildRequires
TODO: Add missing test BuildRequires used by t/bug-null-operation.t:
      - perl(Exporter)
      - perl(File::Spec::Functions)

$ rpm -qp --requires perl-Crypt-OpenSSL-Verify-0.38-1.fc46.x86_64.rpm | sort | uniq -c | grep -v rpmlib
      1 libcrypto.so.4()(64bit)
      1 libcrypto.so.4(OPENSSL_4.0.0)(64bit)
      1 libc.so.6()(64bit)
      1 libc.so.6(GLIBC_2.14)(64bit)
      1 libc.so.6(GLIBC_2.2.5)(64bit)
      1 libc.so.6(GLIBC_ABI_DT_RELR)(64bit)
      1 libc.so.6(GLIBC_ABI_GNU2_TLS)(64bit)
      1 libperl.so.5.44()(64bit)
      1 perl(Crypt::OpenSSL::X509) >= v2.0.1
      1 perl-libs
      1 perl(:MODULE_COMPAT_5.44.0)
      1 perl(strict)
      1 perl(:VERSION) >= 5.8.0
      1 perl(warnings)
      1 rtld(GNU_HASH)
Binary requires
FIX: Add perl(DynaLoader) to run-require

$ rpm -qp --provides perl-Crypt-OpenSSL-Verify-0.38-1.fc46.x86_64.rpm | sort | uniq -c
      1 perl(Crypt::OpenSSL::Verify) = 0.38
      1 perl-Crypt-OpenSSL-Verify = 0.38-1.fc46
      1 perl-Crypt-OpenSSL-Verify(x86-64) = 0.38-1.fc46
Binary provides are Ok.

$ rpmlint ./perl-Crypt-OpenSSL-Verify*
perl-Crypt-OpenSSL-Verify.src: E: spelling-error ('untrusted', '%description -l en_US untrusted -> entrusted, interested, untested')
perl-Crypt-OpenSSL-Verify.x86_64: E: spelling-error ('untrusted', '%description -l en_US untrusted -> entrusted, interested, untested')
 2 packages and 1 specfiles checked; 2 errors, 0 warnings, 8 filtered, 2 badness
The spelling errors are false positives ("untrusted" is a correct word).
Rpmlint is ok.

TODO: Explicitly name packaged files in %{perl_vendorarch} directory
      use %{perl_vendorarch}/auto/Crypt/OpenSSL/Verify/ instead of %{perl_vendorarch}/auto/*
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists.

Otherwise the package is in line with Fedora and Perl packaging guide lines.
Please consider fixing all 'FIX' and 'TODO' items.

Resolution:
Approved

Comment 6 Michal Josef Spacek 2026-12-04 12:20:48 UTC
I created upstream ticket (https://github.com/perl-net-saml2/perl-Crypt-OpenSSL-Verify/issues/28) for the LICENSE thing

Comment 7 Michal Josef Spacek 2026-12-04 12:22:04 UTC
The word "untrusted" is fine, I will create rpmlintrc file with filtering of the error.