Browse Source

Update server/signer_vault.go

Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
pull/4520/head
Maksim Nabokikh 1 month ago committed by GitHub
parent
commit
dfdfe1be72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      server/signer_vault.go

3
server/signer_vault.go

@ -266,7 +266,8 @@ func parsePEMToJWK(pemStr string) (*jose.JSONWebKey, error) {
}
// Create JWK for ED25519 key
ed25519Key, ok := pub.(ed25519.PublicKey)
var ok bool
ed25519Key, ok = pub.(ed25519.PublicKey)
if !ok {
return nil, fmt.Errorf("expected ED25519 key, got %T", pub)
}

Loading…
Cancel
Save