aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--app/src/main/java/org/connectbot/GeneratePubkeyActivity.java5
2 files changed, 4 insertions, 4 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/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java b/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java
index d7664c6..bd32836 100644
--- a/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java
+++ b/app/src/main/java/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;
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();