Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sinihappo
Copy link

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.

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

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/hard/a &/

@sinihappo
Copy link
Author

sinihappo commented Jul 17, 2020 via email

@mirabilos
Copy link

mirabilos commented Jul 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants