Skip to content

DRAFT: RSA SHA1 signature support is insecure #2399

Description

@xnox

Currently apk-tools, apko, and melange support verifying APKINDEX and .apk signatures of types:

  • RSA - RSA signature using SHA1 message digest
  • RSA256 - RSA signature using SHA256 message digest

apko & melange are planning to add support for verifying APKINDEX and .apk signatures using:

  • ML-DSA-86 type signature

Universally RSA-SHA1 signatures are no longer considered secure and are being universally withdrawn and removed.

Wolfi & Chainguard apk repositories transitioned to RSA256 signatures on 2025-01-30.

apko & melange would like to add warnings, add security levels, and remove weak verification, but:

  • alpinelinux.org repositories are still signed with RSA-SHA1
  • JFrog Artifactory repositories are still signed with RSA-SHA1

Users may want to know this, and yet need to continue to use those, and have a managed upgrade path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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