diff options
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | 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(); |