update dkim to have smaller key (#105)

This commit is contained in:
KM Koushik
2025-02-08 20:03:06 +11:00
committed by GitHub
parent adf3c19074
commit de85dde705

View File

@@ -28,7 +28,7 @@ function getSesClient(region: string) {
function generateKeyPair() { function generateKeyPair() {
const { privateKey, publicKey } = generateKeyPairSync("rsa", { const { privateKey, publicKey } = generateKeyPairSync("rsa", {
modulusLength: 2048, // Length of your key in bits modulusLength: 1024, // Length of your key in bits
publicKeyEncoding: { publicKeyEncoding: {
type: "spki", // Recommended to be 'spki' by the Node.js docs type: "spki", // Recommended to be 'spki' by the Node.js docs
format: "pem", format: "pem",