1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-23 01:12:19 -05:00

increase rsa keysize to 2048

This commit is contained in:
Tankred Hase 2013-10-04 18:01:42 +02:00
parent c2cf878632
commit c977e9b682
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@ define([], function() {
cloudUrl: 'https://storage.whiteout.io',
symKeySize: 128,
symIvSize: 128,
asymKeySize: 1024,
asymKeySize: 2048,
workerPath: 'js',
gmail: {
clientId: '440907777130.apps.googleusercontent.com',

View File

@ -17,7 +17,10 @@ define(function(require) {
//
$scope.select = function(email) {
if (email && typeof email.body === 'string') {
if (!email) {
return;
}
if (typeof email.body === 'string') {
email.bodyDisplayParts = email.body.split('\n');
}
$scope.selected = email;