Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://raw.githubusercontent.com/stewartsmith/rpm-aws-lc/refs/heads/fedora-submission-updated/aws-lc.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/trawets/aws-lc/srpm-builds/11419375/aws-lc-5.12.0-38.src.rpm Description: AWS-LC is a general-purpose cryptographic library, portions of which have been formally verified. It is the recommended backend for rustls, a commonly used TLS crate. At AWS it is used for API endpoints, and an increasing number of packages in Amazon Linux 2027 are being linked against it rather than OpenSSL. It is based on code from the Google BoringSSL project and the OpenSSL project. There is a new OpenSSL Provider that uses AWS-LC to provide the cryptographic primitives, bringing some of the benefits without needing recompilation. Additionally, its FIPS implementation is independent of the kernel RNG. Fedora Account System Username: trawets
A couple of notes on this one: - We're shipping the same 5.x release in the Amazon Linux 2027 preview (updating to the latest 5.x is likely to happen soon-ish). The LTS release cadence of AWS-LC is fairly well defined, and for Fedora it may make sense to go with the regular releases rather than LTS ones (or keep the LTS as an option?) - The rust-aws-lc-rs package - https://bugzilla.redhat.com/show_bug.cgi?id=2350145 - would benefit from linking to a system AWS-LC library. - We worked with the AWS-LC dev team on getting to having the stable ABI and symbol versioning, having it land in AWS-LC earlier this yer. We're keeping a close eye on (and CI on) ensuring there's not ABI breakage. - the crypto-policies package we ship in the AL2027 preview has support for AWS-LC but the one in Fedora currently doesn't, and that should likely be fixed before adding AWS-LC to Fedora, as using the OpenSSL one instead is slightly confusing. - There's some other comments in the SPEC file about a few of the things that may come up in review.
Using the following rpmlintrc for the package: # Upstream ships no man pages for the tools; see the comment in %files. addFilter(r"aws-lc\.\S+: W: no-manual-page-for-binary aws-lc-(bssl|openssl|c_rehash)") # The base package (tools) and -provider (one module and its config) ship only # %license files. The documentation is in -devel and -doc. addFilter(r"aws-lc(-provider)?\.\S+: W: no-documentation") # Spelling false positives: library and tool names, and the "html" in # headers.html, a path in the -doc description. The severity is not matched: # rpmlint 2.8 and 2.9 (Fedora 44 and 45) report spelling-error as an error, # 2.10 (rawhide) as a warning. addFilter(r"[WE]: spelling-error \('(awslc|libssl|openssl|symlinks|html)'") addFilter(r"[WE]: spelling-error \(\"upstream's\"") Here's the output: $ rpmlint -r aws-lc.rpmlintrc aws-lc.spec *.rpm ============================ rpmlint session starts ============================ rpmlint: 2.10.0 configuration: /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml rpmlintrc: [PosixPath('aws-lc.rpmlintrc')] checks: 33, packages: 12 11 packages and 1 specfiles checked; 0 errors, 0 warnings, 108 filtered, 0 badness; has taken 14.2 s $ rpmlint -i aws-lc aws-lc-libs aws-lc-devel aws-lc-provider aws-lc-doc (installed) ============================ rpmlint session starts ============================ rpmlint: 2.10.0 configuration: /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 33, packages: 5 aws-lc-provider.aarch64: W: undefined-non-weak-symbol /usr/lib64/ossl-modules/awslc.so OSSL_PARAM_set_int (/usr/lib64/ossl-modules/awslc.so) aws-lc-provider.aarch64: W: undefined-non-weak-symbol /usr/lib64/ossl-modules/awslc.so OSSL_PARAM_locate (/usr/lib64/ossl-modules/awslc.so) aws-lc-provider.aarch64: W: undefined-non-weak-symbol /usr/lib64/ossl-modules/awslc.so OSSL_PARAM_set_size_t (/usr/lib64/ossl-modules/awslc.so) aws-lc-provider.aarch64: W: undefined-non-weak-symbol /usr/lib64/ossl-modules/awslc.so OSSL_PARAM_set_utf8_ptr (/usr/lib64/ossl-modules/awslc.so) aws-lc-libs.aarch64: W: spelling-error ('awslc', '%description -l en_US awslc -> AWS') aws-lc-libs.aarch64: W: spelling-error ('libssl', '%description -l en_US libssl -> limbless') aws-lc-devel.aarch64: W: spelling-error ('symlinks', '%description -l en_US symlinks -> slinks') aws-lc-provider.aarch64: W: spelling-error ('openssl', '%description -l en_US openssl -> slope') aws-lc-doc.noarch: W: spelling-error ("upstream's", "%description -l en_US upstream's -> up stream's, up-stream's, upstream") aws-lc-doc.noarch: W: spelling-error ('html', '%description -l en_US html -> HTML') aws-lc.aarch64: W: no-manual-page-for-binary aws-lc-bssl aws-lc.aarch64: W: no-manual-page-for-binary aws-lc-c_rehash aws-lc.aarch64: W: no-manual-page-for-binary aws-lc-openssl aws-lc.aarch64: W: no-documentation aws-lc-provider.aarch64: W: no-documentation 5 packages and 0 specfiles checked; 0 errors, 15 warnings, 36 filtered, 0 badness; has taken 1.1 s
I have builds in COPR: https://copr.fedorainfracloud.org/coprs/trawets/aws-lc/ The current build is what was used for the submission: https://copr.fedorainfracloud.org/coprs/trawets/aws-lc/build/11419375/ GitHub tree/branch for the packaging: https://github.com/stewartsmith/rpm-aws-lc/tree/fedora-submission-updated
Copr build: https://copr.fedorainfracloud.org/coprs/build/11424089 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2588759-aws-lc/fedora-rawhide-x86_64/11424089-aws-lc/fedora-review/review.txt Please take a look if any issues were found. --- 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.