mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-09 09:27:38 +08:00
Merge pull request #349 from kubuntux/patch-dkim
DKIM: changed encoding of public and private keys
This commit is contained in:
commit
d9afd89da2
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue