File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,9 @@ func (k *MacKMS) CreateKey(req *apiv1.CreateKeyRequest) (*apiv1.CreateKeyRespons
218218 if ! ok {
219219 return nil , fmt .Errorf ("createKeyRequest 'signatureAlgorithm=%q' is not supported" , req .SignatureAlgorithm )
220220 }
221- if u .useSecureEnclave && req .SignatureAlgorithm != apiv1 .UnspecifiedSignAlgorithm && req .SignatureAlgorithm != apiv1 .ECDSAWithSHA256 {
221+ if u .useSecureEnclave && req .SignatureAlgorithm != apiv1 .UnspecifiedSignAlgorithm &&
222+ req .SignatureAlgorithm != apiv1 .ECDSAWithSHA256 &&
223+ req .SignatureAlgorithm != apiv1 .ECDSAWithSHA384 {
222224 return nil , fmt .Errorf ("createKeyRequest 'signatureAlgorithm=%q' is not supported on Secure Enclave" , req .SignatureAlgorithm )
223225 }
224226
You can’t perform that action at this time.
0 commit comments