perf(backend): use RSA 2048bit

#11129
This commit is contained in:
syuilo 2023-07-21 11:59:00 +09:00
parent 2cb8e8a748
commit af2368bd2b
3 changed files with 3 additions and 2 deletions

View file

@ -92,7 +92,7 @@ export class SignupService {
const keyPair = await new Promise<string[]>((res, rej) =>
generateKeyPair('rsa', {
modulusLength: 4096,
modulusLength: 2048,
publicKeyEncoding: {
type: 'spki',
format: 'pem',