mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 07:48:48 -05:00
[WO-120] add ssl pinning to smtp
This commit is contained in:
parent
73d9914ad6
commit
861d7c11f6
@ -12,7 +12,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
||||||
"imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#master",
|
"imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#master",
|
||||||
"smtp-client": "git+ssh://git@github.com:whiteout-io/smtp-client.git#master",
|
"smtp-client": "git+ssh://git@github.com:whiteout-io/smtp-client.git#dev/unittest",
|
||||||
"requirejs": "2.1.8"
|
"requirejs": "2.1.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -196,7 +196,8 @@ define(function(require) {
|
|||||||
secure: config.gmail.smtp.secure,
|
secure: config.gmail.smtp.secure,
|
||||||
port: config.gmail.smtp.port,
|
port: config.gmail.smtp.port,
|
||||||
host: config.gmail.smtp.host,
|
host: config.gmail.smtp.host,
|
||||||
auth: auth
|
auth: auth,
|
||||||
|
ca: [certificate]
|
||||||
};
|
};
|
||||||
|
|
||||||
// init objects and inject dependencies
|
// init objects and inject dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user