Bug 2588759 - Review Request: aws-lc - general-purpose cryptographic library
Summary: Review Request: aws-lc - general-purpose cryptographic library
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/aws/aws-lc
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-02 18:11 UTC by Stewart Smith
Modified: 2026-12-02 22:53 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)

Description Stewart Smith 2026-12-02 18:11:57 UTC
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

Comment 1 Stewart Smith 2026-12-02 18:24:27 UTC
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.

Comment 2 Stewart Smith 2026-12-02 18:26:05 UTC
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

Comment 3 Stewart Smith 2026-12-02 18:28:28 UTC
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

Comment 4 Fedora Review Service 2026-12-02 22:53:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.