Merge pull request #311 from fredbi/add-cli-support-for-rsapss

Added support for RSA-PSS in jwt CLI
This commit is contained in:
Dave Grijalva 2019-05-28 14:08:42 -07:00 committed by GitHub
commit 8a74229d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -278,5 +278,5 @@ func isEs() bool {
} }
func isRs() bool { func isRs() bool {
return strings.HasPrefix(*flagAlg, "RS") return strings.HasPrefix(*flagAlg, "RS") || strings.HasPrefix(*flagAlg, "PS")
} }