Skip to content

APT repository signing key uses SHA1, rejected by Debian Trixie #157

Description

@glamberson

Description

The Amazon Corretto APT repository signing key uses SHA1 binding signatures, which are now rejected by Debian Trixie's apt (using Sequoia/sqv for verification) as of February 1, 2026.

Current Behavior

$ sudo apt update
Err:7 https://apt.corretto.aws stable InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 6DC3636DAE534049C8B94623A122542AB04F24E3 is not bound:
  No binding signature at time 2026-01-28T23:20:37Z
  because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance
  because: SHA1 is not considered secure since 2026-02-01T00:00:00Z

Key Analysis

$ curl -fsSL https://apt.corretto.aws/corretto.key | gpg --list-packets 2>&1 | grep 'digest algo'
	digest algo 8, begin of digest 7e 19
	digest algo 2, begin of digest 70 a2

Digest algo 2 is SHA1. The key contains at least one SHA1 self-signature which is rejected by Sequoia's policy.

Expected Behavior

The repository signing key should use SHA256 (algo 8) or stronger for all self-signatures, including UID binding signatures.

Environment

  • Distribution: Debian Trixie (testing)
  • Repository: https://apt.corretto.aws
  • Affected key: 6DC3636DAE534049C8B94623A122542AB04F24E3

Solution

Please regenerate or refresh the GPG key self-signatures using SHA256 or SHA512.

Workaround

Users can temporarily extend the SHA1 policy deadline in /etc/crypto-policies/back-ends/sequoia.config:

[hash_algorithms]
sha1.second_preimage_resistance = 2027-01-01

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions