We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962d15b commit e5a065cCopy full SHA for e5a065c
credentials/verifier_default.go
@@ -6,6 +6,7 @@ package credentials
6
import (
7
"context"
8
"crypto/ecdsa"
9
+ "crypto/ed25519"
10
"crypto/rsa"
11
"fmt"
12
"strings"
@@ -69,6 +70,10 @@ func (v *VerifierDefault) Verify(
69
70
if k, ok := key.Key.(*ecdsa.PublicKey); ok {
71
return k, nil
72
}
73
+ case *jwt.SigningMethodEd25519:
74
+ if k, ok := key.Key.(ed25519.PublicKey); ok {
75
+ return k, nil
76
+ }
77
case *jwt.SigningMethodRSAPSS:
78
if k, ok := key.Key.(*rsa.PublicKey); ok {
79
0 commit comments