Merge pull request #349 from kubuntux/patch-dkim

DKIM: changed encoding of public and private keys
This commit is contained in:
Andris Reinman 2021-08-30 10:58:10 +03:00 committed by GitHub
commit d9afd89da2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,11 +30,11 @@ class DkimHandler {
modulusLength: keyBits || 2048, // options
publicExponent: keyExponent || 65537,
publicKeyEncoding: {
type: 'pkcs1',
type: 'spki',
format: 'pem'
},
privateKeyEncoding: {
type: 'pkcs1',
type: 'pkcs8',
format: 'pem'
}
});