Chore: Refactor manifest verifier (#67218)

This commit is contained in:
Andres Martinez Gotor
2023-04-27 17:54:28 +02:00
committed by GitHub
parent 62587eee88
commit aa9838bd25
14 changed files with 416 additions and 361 deletions

View File

@@ -157,3 +157,7 @@ type KeyStore interface {
GetLastUpdated(ctx context.Context) (*time.Time, error)
SetLastUpdated(ctx context.Context) error
}
type KeyRetriever interface {
GetPublicKey(ctx context.Context, keyID string) (string, error)
}