mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Use 2048 bit RSA, because it's more secure and won't have the same performance penalty as on the bridge
This commit is contained in:
parent
f8674ed053
commit
2d5f9db5c3
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import { Conf } from '@/config.ts';
|
|||
import { generateSeededRsa, LRUCache, publicKeyToPem, secp } from '@/deps.ts';
|
||||
|
||||
const opts = {
|
||||
bits: 1024,
|
||||
bits: 2048,
|
||||
};
|
||||
|
||||
const rsaCache = new LRUCache<string, Promise<string>>({ max: 1000 });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue