Skip to content

RFE: Support for newer Signature/Digest tags #28

Description

@NeilHanlon

Currently, go-rpm supports the RPMv3 signature headers (SIGMD5, SIGPGP, SIGGPG), but does not support the v4 headers like SHA1HEADER, RSAHEADER, and DSAHEADER. From RPMv4.14 on (which adds the SHA256HEADER), RPMs do not include the v3 headers, and only have the v4 headers (if the key is of sufficient entropy). Reference: https://rpm-software-management.github.io/rpm/manual/signatures_digests.html

It would be beneficial to have support in this library for handling these headers. We have a POC available here that we have been working with for integration with Rekor, but are currently at the point where we're determining how/if Rekor would update to a newer version of the rpm library if this support were added.

sigstore/rekor#1569

Please let me know what your thoughts are on adding support for these v4 headers.

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