update dkim to have smaller key (#105)
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user