openssh-portable
openssh-portable copied to clipboard
Added option RSAMinimumModulusSize <int> to lower the (now) hard limit
Added option RSAMinimumModulusSize
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.
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:
@mirabilos commented on this pull request.
In ssh_config.5 https://github.com/openssh/openssh-portable/pull/188#discussion_r456500555:
@@ -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 https://github.com/openssh/openssh-portable/pull/188#pullrequestreview-450734807, 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 :/
Sorry, we're not interested in enabling support for unsafe crypto. If you need to connect to such devices, then please compile your own ssh with SSH_RSA_MINIMUM_MODULUS_SIZE redefined.