add HS256/384/512 hash support
This commit is contained in:
parent
4ef9529012
commit
e9f1bbc972
5 changed files with 24 additions and 12 deletions
|
@ -186,7 +186,7 @@ func toJoseSignatureAlgorithms(algorithms []string) []jose.SignatureAlgorithm {
|
|||
out[i] = jose.SignatureAlgorithm(algorithms[i])
|
||||
}
|
||||
if len(out) == 0 {
|
||||
out = append(out, jose.RS256, jose.ES256, jose.PS256)
|
||||
out = append(out, jose.RS256, jose.ES256, jose.PS256, jose.RS256)
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue