New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added option RSAMinimumModulusSize <int> to lower the (now) hard limit #188
base: master
Are you sure you want to change the base?
Conversation
SSH_RSA_MINIMUM_MODULUS_SIZE when necessary. Although it is usually possible and extremely advisable to generate new longer server keys, there are older devices where this is not possible. It is, however, practical still use SSH with them even if it is not as secure as it should be. It is still safer to use SSH with 800 bit keys that telnet without any encryption.
| @@ -1486,6 +1486,12 @@ an OpenSSH Key Revocation List (KRL) as generated by | |||
| .Xr ssh-keygen 1 . | |||
| For more information on KRLs, see the KEY REVOCATION LISTS section in | |||
| .Xr ssh-keygen 1 . | |||
| .It Cm RSAMinimumModulusSize | |||
| Specifies the minimum accepted RSA modulus size in different | |||
| contexts. This is only be used with older SSH servers when it is | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line break after a full stop, so the spacing (american or proper) is applied automatically. See: https://man.openbsd.org/roff.7#Sentence_Spacing
| contexts. This is only be used with older SSH servers when it is | ||
| impossible to have or generate longer keys for them. This should not | ||
| be used in any other purposes except perhaps testing. There is still | ||
| hard limit, 512. To use shorter RSA keys than that, OpenSSH must be recompiled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/hard/a &/
|
Thank you, I agree.
How we could get the patch merged to the repository? As I have stated, there is
a need for this. And I tried to implement it in such a way that it would be
used only when needed.
/alo
mirabilos wrote:
…
***@***.**** commented on this pull request.
--------------------------------------------------------------------------------
In ssh_config.5
<#188 (comment)>:
> @@ -1486,6 +1486,12 @@ an OpenSSH Key Revocation List (KRL) as generated by
.Xr ssh-keygen 1 .
For more information on KRLs, see the KEY REVOCATION LISTS section in
.Xr ssh-keygen 1 .
+.It Cm RSAMinimumModulusSize
+Specifies the minimum accepted RSA modulus size in different
+contexts. This is only be used with older SSH servers when it is
+impossible to have or generate longer keys for them. This should not
+be used in any other purposes except perhaps testing. There is still
+hard limit, 512. To use shorter RSA keys than that, OpenSSH must be recompiled.
|s/hard/a &/|
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#188 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA73A6VX6S7T3SVIHWKYMFDR4BSB5ANCNFSM4NOJVYOA>.
|
|
sinihappo dixit:
How we could get the patch merged to the repository? As I have stated, there is
a need for this. And I tried to implement it in such a way that it would be
used only when needed.
Sorry, not an OpenSSH developer :/
|
Added option RSAMinimumModulusSize to lower the (now) hard limit
SSH_RSA_MINIMUM_MODULUS_SIZE when necessary. Although it is usually
possible and extremely advisable to generate new longer server keys,
there are older devices where this is not possible. It is, however,
practical still use SSH with them even if it is not as secure as it
should be. It is still safer to use SSH with 800 bit keys that telnet
without any encryption.
Background:
I have struggled with older network gear, where either it is not possible because of the lack of new FW or lack of permit to upgrade. If you think that having this option needs more safeguards, please give ideas on what kind of extra checks or options or anything.