From 96c8e65326092a8d70af69cf369bc98bd7a06082 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 9 Jun 2015 19:20:04 -0700 Subject: Set the default RSA key size to 2048 bits This should be the default size according to NIST 800-57 for new keys. Closes #81. --- CHANGELOG.md | 3 +++ src/org/connectbot/GeneratePubkeyActivity.java | 9 +++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcacd87..c8d3190 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). app you want to use. - The text in the entropy gathering dialog is now scaled correctly. +### Changed +- Default RSA key size is now 2048 bits. + ## [1.8.4][1.8.4] - 2015-04-19 ### Fixed - Key exchange and host key algorithm preference order was not being diff --git a/src/org/connectbot/GeneratePubkeyActivity.java b/src/org/connectbot/GeneratePubkeyActivity.java index 1b8995f..8c2f03b 100644 --- a/src/org/connectbot/GeneratePubkeyActivity.java +++ b/src/org/connectbot/GeneratePubkeyActivity.java @@ -54,14 +54,11 @@ import android.widget.SeekBar.OnSeekBarChangeListener; import com.trilead.ssh2.signature.ECDSASHA2Verify; public class GeneratePubkeyActivity extends Activity implements OnEntropyGatheredListener { - /** - * - */ - private static final int RSA_MINIMUM_BITS = 768; + private static final int RSA_MINIMUM_BITS = 768; - public final static String TAG = "ConnectBot.GeneratePubkeyActivity"; + public final static String TAG = "ConnectBot.GeneratePubkeyActivity"; - final static int DEFAULT_BITS = 1024; + final static int DEFAULT_BITS = 2048; final static int[] ECDSA_SIZES = ECDSASHA2Verify.getCurveSizes(); -- cgit v1.2.3