Change cert default algorithm to RS256.

This commit is contained in:
Gucheng Wang
2022-05-06 09:34:42 +08:00
parent 1c949e415e
commit 39548d5d72
3 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ func initBuiltInCert() {
DisplayName: "Built-in Cert",
Scope: "JWT",
Type: "x509",
CryptoAlgorithm: "RSA",
CryptoAlgorithm: "RS256",
BitSize: 4096,
ExpireInYears: 20,
PublicKey: tokenJwtPublicKey,