diff --git a/cmd/jwt/main.go b/cmd/jwt/main.go index 8b16b22..da48b49 100644 --- a/cmd/jwt/main.go +++ b/cmd/jwt/main.go @@ -293,7 +293,7 @@ func isRs() bool { } func isEd() bool { - return strings.HasPrefix(strings.ToUpper(*flagAlg), "Ed") + return *flagAlg == "EdDSA" } type ArgList map[string]string