You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dmytro Shevchenko (JIRA)" <ji...@apache.org> on 2018/01/05 15:28:00 UTC
[jira] [Updated] (CLOUDSTACK-10213) Allow specify SSH key lengh
[ https://issues.apache.org/jira/browse/CLOUDSTACK-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Shevchenko updated CLOUDSTACK-10213:
-------------------------------------------
Description:
SSH keys generated by the ACS are only 1024 bit (RSA). The common standard is now at least 2048 bit.
decompiled com.jcraft.jsch.KeyPair:
{code:java}
public static KeyPair genKeyPair(JSch jsch, int type) throws JSchException {
return genKeyPair(jsch, type, 1024);
}
public static KeyPair genKeyPair(JSch jsch, int type, int key_size) throws JSchException {
KeyPair kpair = null;
....
{code}
was:SSH keys generated by the ACS are only 1024 bit (RSA). The common standard is now at least 2048 bit.
> Allow specify SSH key lengh
> ---------------------------
>
> Key: CLOUDSTACK-10213
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10213
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the default.)
> Reporter: Dmytro Shevchenko
>
> SSH keys generated by the ACS are only 1024 bit (RSA). The common standard is now at least 2048 bit.
> decompiled com.jcraft.jsch.KeyPair:
> {code:java}
> public static KeyPair genKeyPair(JSch jsch, int type) throws JSchException {
> return genKeyPair(jsch, type, 1024);
> }
> public static KeyPair genKeyPair(JSch jsch, int type, int key_size) throws JSchException {
> KeyPair kpair = null;
> ....
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)