prefer sha256 for openpgp.js

This commit is contained in:
Tankred Hase 2014-02-17 16:05:58 +01:00
parent 1da5c68fd1
commit 8f1cc0cdda
1 changed files with 1 additions and 0 deletions

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');
};