1
0
mirror of https://github.com/moparisthebest/mail synced 2025-03-03 02:01:45 -05:00

prefer sha256 for openpgp.js

This commit is contained in:
Tankred Hase 2014-02-17 16:05:58 +01:00
parent 1da5c68fd1
commit 8f1cc0cdda

View File

@ -9,6 +9,7 @@ define(function(require) {
config = require('js/app-config').config;
var PGP = function() {
openpgp.config.prefer_hash_algorithm = openpgp.enums.hash.sha256;
openpgp.initWorker(config.workerPath + '/../lib/openpgp/openpgp.worker.js');
};