1
0
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:
Felix Hammerl 2013-11-19 11:28:29 +01:00
parent 73d9914ad6
commit 861d7c11f6
2 changed files with 3 additions and 2 deletions

View File

@ -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": {

View File

@ -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