mirror of https://github.com/moparisthebest/mail
prefer sha256 for openpgp.js
This commit is contained in:
parent
1da5c68fd1
commit
8f1cc0cdda
|
@ -9,6 +9,7 @@ define(function(require) {
|
||||||
config = require('js/app-config').config;
|
config = require('js/app-config').config;
|
||||||
|
|
||||||
var PGP = function() {
|
var PGP = function() {
|
||||||
|
openpgp.config.prefer_hash_algorithm = openpgp.enums.hash.sha256;
|
||||||
openpgp.initWorker(config.workerPath + '/../lib/openpgp/openpgp.worker.js');
|
openpgp.initWorker(config.workerPath + '/../lib/openpgp/openpgp.worker.js');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue