You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've created a Verifiers API in the Entries interface to abstract extracting "verifiers" - eg certificates, public keys, pgp keys, etc - from a given entry. This would simplify the logic in PublicKey() and add support for additional types (though there may be more places where types are hardcoded).
Can you please also mention the additional types we have to add support here. As we will also have to add validation checks for those types like we do for the currently supported types
That's a good point, I would say that this issue is blocked until Rekor adds a method on the Entries interface for both Validate() and Signature() (also needed here).
I'll leave this issue open for now, but consider it blocked.
Description
We've created a Verifiers API in the Entries interface to abstract extracting "verifiers" - eg certificates, public keys, pgp keys, etc - from a given entry. This would simplify the logic in
PublicKey()
and add support for additional types (though there may be more places where types are hardcoded).Interface: https://github.com/sigstore/rekor/blob/main/pkg/types/entries.go#L40
Code:
sigstore-go/pkg/tlog/entry.go
Lines 197 to 222 in f7518a6
The text was updated successfully, but these errors were encountered: