Re:OpenSSH introduces options to penalize undesirable behavior
by semi on Friday June 07, 2024 @04:00PM
(#40612359)
There's extra complexity with ssh, it has its own file of revoked keys in RevokedKeys and you'll have to update that everywhere.
see https://man.openbsd.org/ssh-keygen.1#KEY_REVOCATION_LISTS for more info
And unlike some other sshd directives that have a 'Command' alternative to specify a command to run instead of reading a file, this one doesn't, so you can't just DIY distribution by having it curl a shared revocation list.
Re:OpenSSH introduces options to penalize undesirable behavior
by janosdebugs on Friday June 07, 2024 @04:03PM
(#40612396)
The hard part is making sure every one of your servers got the CRL update. Since last I checked OpenSSH doesn't have a mechanism to remotely check CRLs (like OCSP), nor does SSH have anything akin to OCSP stapling, it's a little bit of a footgun waiting to happen.
Re:OpenSSH introduces options to penalize undesirable behavior
by tiberious726 on Friday June 07, 2024 @06:18PM
(#40613554)
Oh wow... That's pretty nuts. I guess the reason is to make it harder for people to lock themselves out of all their servers if OSCP or whatever is being used to distribute the CRL is down.
Re:OpenSSH introduces options to penalize undesirable behavior
by janosdebugs on Saturday June 08, 2024 @01:30AM
(#40615485)
Not necessarily. There is a fork of OpenSSH that supports x509, but I remember reading somewhere that it's too complex and that's why it doesn't make it into mainline.
Fun fact: it was just a few months ago that Heimdall Kerberos started respecting CRLs at all, that was a crazy bug to discover