Skip to content

Commit

Permalink
Merge pull request mailvelope#106 from arthuredelstein/master
Browse files Browse the repository at this point in the history
generate 2048-bit RSA keys by default. 1024 bits is too weak.
  • Loading branch information
Thomas Oberndörfer committed Sep 11, 2013
2 parents 9355b1e + 697a2e5 commit 0cadc4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/ui/generateKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion common/ui/keyRing.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ <h3>Generate Key</h3>
<div class="controls">
<select id="genKeySize" class="input-medium">
<option>1024</option>
<option>2048</option>
<option selected>2048</option>
<option>4096</option>
</select>
<span class="help-inline">bits</span>
Expand Down

0 comments on commit 0cadc4b

Please sign in to comment.