mirror of https://github.com/golang-jwt/jwt.git
Merge pull request #311 from fredbi/add-cli-support-for-rsapss
Added support for RSA-PSS in jwt CLI
This commit is contained in:
commit
8a74229d83
|
@ -278,5 +278,5 @@ func isEs() bool {
|
|||
}
|
||||
|
||||
func isRs() bool {
|
||||
return strings.HasPrefix(*flagAlg, "RS")
|
||||
return strings.HasPrefix(*flagAlg, "RS") || strings.HasPrefix(*flagAlg, "PS")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue