Skip to content

Commit 96c8e65

Browse files
committed
Set the default RSA key size to 2048 bits
This should be the default size according to NIST 800-57 for new keys. Closes vx#81.
1 parent e48fcfd commit 96c8e65

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010
app you want to use.
1111
- The text in the entropy gathering dialog is now scaled correctly.
1212

13+
### Changed
14+
- Default RSA key size is now 2048 bits.
15+
1316
## [1.8.4][1.8.4] - 2015-04-19
1417
### Fixed
1518
- Key exchange and host key algorithm preference order was not being

src/org/connectbot/GeneratePubkeyActivity.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,11 @@
5454
import com.trilead.ssh2.signature.ECDSASHA2Verify;
5555

5656
public class GeneratePubkeyActivity extends Activity implements OnEntropyGatheredListener {
57-
/**
58-
*
59-
*/
60-
private static final int RSA_MINIMUM_BITS = 768;
57+
private static final int RSA_MINIMUM_BITS = 768;
6158

62-
public final static String TAG = "ConnectBot.GeneratePubkeyActivity";
59+
public final static String TAG = "ConnectBot.GeneratePubkeyActivity";
6360

64-
final static int DEFAULT_BITS = 1024;
61+
final static int DEFAULT_BITS = 2048;
6562

6663
final static int[] ECDSA_SIZES = ECDSASHA2Verify.getCurveSizes();
6764

0 commit comments

Comments
 (0)