aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-06-09 19:20:04 -0700
committerKenny Root <kenny@the-b.org>2015-06-09 19:24:03 -0700
commit96c8e65326092a8d70af69cf369bc98bd7a06082 (patch)
treea20b81193a0018e5f87d9ec702d42c778a061768
parente48fcfd18fb8108e97bb3e116459b549bc0d2d4e (diff)
downloadconnectbot-96c8e65326092a8d70af69cf369bc98bd7a06082.tar.gz
connectbot-96c8e65326092a8d70af69cf369bc98bd7a06082.tar.bz2
connectbot-96c8e65326092a8d70af69cf369bc98bd7a06082.zip
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.
-rw-r--r--CHANGELOG.md3
-rw-r--r--src/org/connectbot/GeneratePubkeyActivity.java9
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();