Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 279262 Details for
Bug 404714
Inadequate SSH key strength
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patches RSA keys generation to 2048 bits
patch.diff (text/plain), 1.28 KB, created by
Alexander Levsha
on 2019-07-12 11:45:09 EDT
(
hide
)
Description:
patches RSA keys generation to 2048 bits
Filename:
MIME Type:
Creator:
Alexander Levsha
Created:
2019-07-12 11:45:09 EDT
Size:
1.28 KB
patch
obsolete
>diff --git a/PreferencePage.java.orig b/PreferencePage.java >index f213b71..4db594d 100644 >--- a/PreferencePage.java.orig >+++ b/PreferencePage.java >@@ -480,13 +480,16 @@ protected Control createContents(Composite parent){ > > try{ > int type=0; >+ final int keySize; > if(e.widget==keyGenerateDSA){ > type=KeyPair.DSA; > _type=IConstants.DSA; >+ keySize = 1024; > } > else if(e.widget==keyGenerateRSA){ > type=KeyPair.RSA; > _type=IConstants.RSA; >+ keySize = 2048; > } > else{ > return; >@@ -497,7 +500,7 @@ protected Control createContents(Composite parent){ > final JSchException[] _e=new JSchException[1]; > BusyIndicator.showWhile(getShell().getDisplay(), () -> { > try { >- _kpair[0] = KeyPair.genKeyPair(getJSch(), __type); >+ _kpair[0] = KeyPair.genKeyPair(getJSch(), __type, keySize); > } catch (JSchException e1) { > _e[0] = e1; > } >@@ -508,7 +511,7 @@ protected Control createContents(Composite parent){ > kpair=_kpair[0]; > > ByteArrayOutputStream out=new ByteArrayOutputStream(); >- kpairComment=_type+"-1024"; //$NON-NLS-1$ >+ kpairComment=_type+"-"+keySize; //$NON-NLS-1$ > kpair.writePublicKey(out, kpairComment); > out.close(); > publicKeyText.setText(out.toString());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 404714
:
229231
| 279262