config: fetch latest AWS TCB values

This commit is contained in:
Otto Bittner 2023-11-08 13:54:18 +01:00
parent 350397923f
commit 4813fcfdb6
3 changed files with 45 additions and 2 deletions

View file

@ -68,7 +68,7 @@ func unmarshalTypedConfig[T AttestationCfg](data []byte) (AttestationCfg, error)
// Certificate is a wrapper around x509.Certificate allowing custom marshaling.
type Certificate x509.Certificate
// Equal returns true if the certificates are equal.
// Equal returns true if the embedded Raw values are equal.
func (c Certificate) Equal(other Certificate) bool {
return bytes.Equal(c.Raw, other.Raw)
}