Skip to content

Commit

Permalink
Merge pull request golang-jwt#311 from fredbi/add-cli-support-for-rsapss
Browse files Browse the repository at this point in the history
Added support for RSA-PSS in jwt CLI
  • Loading branch information
dgrijalva authored May 28, 2019
2 parents 2f61636 + 382e92c commit 8a74229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/jwt/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,5 @@ func isEs() bool {
}

func isRs() bool {
return strings.HasPrefix(*flagAlg, "RS")
return strings.HasPrefix(*flagAlg, "RS") || strings.HasPrefix(*flagAlg, "PS")
}

0 comments on commit 8a74229

Please sign in to comment.