Bug 2544956 - Review Request: rust-azure-guest-attestation-sdk - TPM 2.0 and TEE attestation library for Azure confidential VMs
Summary: Review Request: rust-azure-guest-attestation-sdk - TPM 2.0 and TEE attestatio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Sergio Correia
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2544940
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-02 07:47 UTC by Attila Lakatos
Modified: 2026-10-15 05:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-15 05:31:13 UTC
Type: ---
Embargoed:
scorreia: fedora-review+


Attachments (Terms of Use)

Description Attila Lakatos 2026-10-02 07:47:28 UTC
Spec URL: https://alakatos.fedorapeople.org/rust-azure-guest-attestation-sdk/rust-azure-guest-attestation-sdk.spec
SRPM URL: https://alakatos.fedorapeople.org/rust-azure-guest-attestation-sdk/rust-azure-guest-attestation-sdk-0.1.0-1.fc46.src.rpm
Description: A Rust library providing TPM 2.0 and Trusted Execution Environment (TEE) attestation capabilities for Azure confidential virtual machines (CVMs) and TrustedLaunch VMs.
This package enables applications to generate and verify attestation evidence on Azure VM instances with trusted execution environments, supporting secure boot and hardware-based
attestation validation.
Fedora Account System Username: alakatos

Comment 1 Sergio Correia 2026-10-14 22:39:50 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


Issues:
=======
None - package meets all MUST requirements.


===== MUST items =====

Generic:
[x]: Package successfully compiles and builds into binary RPMs on at least
     one supported primary architecture.
     Note: Built in mock fedora-rawhide-aarch64 chroot.
     Tests: 228 passed (217 unit + 11 integration), 1 ignored, 0 failed.
[x]: rpmlint has no errors.
     Note: 0 errors, 0 warnings, 13 filtered.
[x]: Spec file is legible and written in American English.
[x]: Package uses %autorelease / %autochangelog.
[x]: License field (MIT) is valid SPDX and matches the LICENSE file in the
     source and the license field in Cargo.toml.
[x]: License file is installed with %license.
     Note: %license %{crate_instdir}/LICENSE in %files devel.
[x]: Sources match upstream.
     Note: sha256 6bef27b68b503a3e19502e3557f6bd340f0296e9289417f8371736635f474af2
     matches the crate downloaded from crates.io.
[x]: URL points to the crate on crates.io.
[x]: Latest version is packaged (0.1.0 is the only published version).
[-]: Package contains no binaries or shared libraries.
     License tag covers only the crate's own license, which is correct.
[-]: GPG verification not applicable (crates.io does not provide signatures).


===== Rust-Specific MUST items =====

[x]: Spec generated by rust2rpm.
     Note: "Generated by rust2rpm 28" at line 1.
[x]: Package name follows rust-$crate naming convention.
     Note: rust-azure-guest-attestation-sdk.
[x]: Source uses %{crates_source}.
     Note: line 14.
[x]: BuildRequires: cargo-rpm-macros >= 24.
     Note: line 22.
[x]: %bcond check is set.
     Note: %bcond check 1 at line 2.
[x]: %cargo_prep in %prep.
     Note: line 58.
[x]: %cargo_generate_buildrequires in %generate_buildrequires.
     Note: line 61.
[x]: %cargo_build in %build.
     Note: line 64.
[x]: %cargo_install in %install.
     Note: line 67.
[x]: %cargo_test in %check (guarded by %{with check}).
     Note: line 70.
[x]: Feature subpackages match crate features.
     Note: Cargo.toml defines no explicit features. Only +default-devel
     subpackage is present, which is correct.
[x]: +default-devel subpackage exists.
     Note: line 44.
[x]: No -n / --no-default-features flag misuse.
     Note: no -n flag used in any %cargo_* macro call.
[x]: %cargo_* macro flags are consistent (no flags used anywhere, which
     is consistent).
[x]: Patches are documented with comments in the spec.
     Note: three patches, each with a comment explaining its purpose
     (lines 15-20).
[x]: Patch filenames follow rust2rpm naming convention.
     Note: azure-guest-attestation-sdk-fix-metadata-auto.diff,
     azure-guest-attestation-sdk-update-bitfield-struct.diff,
     azure-guest-attestation-sdk-remove-injectorpp.diff.
[-]: No ExcludeArch issues. Both subpackages are BuildArch: noarch.


===== MUST Installation Test =====

[x]: All subpackages install cleanly in a mock chroot.
     Note: Tested in fedora-rawhide-aarch64 mock chroot (with
     rust-azure-tpm from koji, as the package was just approved and not
     yet on mirrors).
     Installed: rust-azure-guest-attestation-sdk-devel-0.1.0-1.fc46.noarch,
     rust-azure-guest-attestation-sdk+default-devel-0.1.0-1.fc46.noarch.


===== SHOULD items =====

[x]: %{crate_instdir}/ %files pattern uses explicit %license and %doc lines.
     Note: standard rust2rpm pattern at lines 40-42.
[x]: Package summary and description are clear and informative.
[-]: Man pages not applicable (library crate, no binaries).


===== Patches detail =====

1. azure-guest-attestation-sdk-fix-metadata-auto.diff
   Auto-generated by rust2rpm. Removes the windows-sys dependency
   (Windows-only, not needed on Linux) and normalizes metadata.

2. azure-guest-attestation-sdk-update-bitfield-struct.diff
   Updates bitfield-struct dependency from 0.6 to 0.13. Fedora has
   rust-bitfield-struct-0.13.0. All 228 tests pass with this version.

3. azure-guest-attestation-sdk-remove-injectorpp.diff
   Removes injectorpp dev-dependency and its associated mock-based tests.
   injectorpp is not available in Fedora. The remaining 228 tests still
   provide good coverage.


===== Provides / Requires =====

rust-azure-guest-attestation-sdk-devel provides:
  crate(azure-guest-attestation-sdk) = 0.1.0

rust-azure-guest-attestation-sdk+default-devel provides:
  crate(azure-guest-attestation-sdk/default) = 0.1.0
rust-azure-guest-attestation-sdk+default-devel requires:
  crate(azure-guest-attestation-sdk) = 0.1.0

All provides and requires look correct.


Rpmlint
-------
rpmlint: 2.8.0
3 packages and 0 specfiles checked; 0 errors, 0 warnings, 13 filtered


Source checksums
----------------
sha256: 6bef27b68b503a3e19502e3557f6bd340f0296e9289417f8371736635f474af2
Matches upstream crate on crates.io.


Package APPROVED. Library crate for Azure guest attestation; clean spec
generated by rust2rpm 28, all tests pass, all subpackages install.

Comment 2 Fedora Admin user for bugzilla script actions 2026-10-15 04:48:29 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-azure-guest-attestation-sdk
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 3 Fedora Update System 2026-10-15 05:22:22 UTC
FEDORA-2026-0077e14a0d (rust-azure-guest-attestation-sdk-0.1.0-2.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0077e14a0d

Comment 4 Fedora Update System 2026-10-15 05:31:13 UTC
FEDORA-2026-0077e14a0d (rust-azure-guest-attestation-sdk-0.1.0-2.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.


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