mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00
api: use new signature type for Azure SNP versions
* Remove signature checks from unittests. Would need to export signature from client/fetcher (unwanted). Can't figure out a better way. e2e test completes in ~4sec and runs automatically. So seems like a acceptable tradeoff. * list object is now signed, but not verified. If we start to verify the list we will have to adapt the e2e test to restore the previous list. Otherwise there could be conflicts between dev and release keys.
This commit is contained in:
parent
2b19632e09
commit
fdaa5aab3c
6 changed files with 28 additions and 117 deletions
|
@ -374,5 +374,5 @@ func (s signature) ValidateRequest() error {
|
|||
|
||||
// Validate checks that the signature is base64 encoded.
|
||||
func (s signature) Validate() error {
|
||||
return sigstore.IsBase64([]byte(s.Signature))
|
||||
return sigstore.IsBase64(s.Signature)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue