From 697a2e5dcd682fce8e8d15db7c6e4a47c117972e Mon Sep 17 00:00:00 2001 From: Arthur Edelstein Date: Tue, 10 Sep 2013 12:33:07 -0700 Subject: [PATCH] generate 2048-bit RSA keys by default. 1024 bits is too weak. See p. 5 of http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf --- common/ui/generateKey.js | 2 +- common/ui/keyRing.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/ui/generateKey.js b/common/ui/generateKey.js index db9e7483a..96552fada 100644 --- a/common/ui/generateKey.js +++ b/common/ui/generateKey.js @@ -86,7 +86,7 @@ function onClear() { $('#generateKey').find('input').val(''); $('#genKeyAlgo').val('RSA'); - $('#genKeySize').val('1024'); + $('#genKeySize').val('2048'); $('#genKeyExp').val('0') .attr('disabled', 'disabled'); $('#genKeyExpUnit').val('never') diff --git a/common/ui/keyRing.html b/common/ui/keyRing.html index 7699b166b..042435067 100644 --- a/common/ui/keyRing.html +++ b/common/ui/keyRing.html @@ -231,7 +231,7 @@

Generate Key

bits