mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-04 14:14:24 +01: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:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user