File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
team/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -498,9 +498,9 @@ else if(e.widget==keyGenerateRSA){
498498 BusyIndicator .showWhile (getShell ().getDisplay (), () -> {
499499 try {
500500 if (__type == KeyPair .RSA ) {
501- _kpair [0 ] = KeyPair .genKeyPair (getJSch (), __type , 2048 );
501+ _kpair [0 ] = KeyPair .genKeyPair (getJSch (), __type , 4096 );
502502 } else {
503- _kpair [0 ] = KeyPair .genKeyPair (getJSch (), __type );
503+ _kpair [0 ] = KeyPair .genKeyPair (getJSch (), __type , 3072 );
504504 }
505505 } catch (JSchException e1 ) {
506506 _e [0 ] = e1 ;
@@ -513,9 +513,9 @@ else if(e.widget==keyGenerateRSA){
513513
514514 ByteArrayOutputStream out =new ByteArrayOutputStream ();
515515 if (__type == KeyPair .RSA ) {
516- kpairComment = _type + "-2048 " ; //$NON-NLS-1$
516+ kpairComment = _type + "-4096 " ; //$NON-NLS-1$
517517 } else {
518- kpairComment = _type + "-1024 " ; //$NON-NLS-1$
518+ kpairComment = _type + "-3072 " ; //$NON-NLS-1$
519519 }
520520 kpair .writePublicKey (out , kpairComment );
521521 out .close ();
You can’t perform that action at this time.
0 commit comments