News for hackers. Stuff that matters.
Re:Why does my SSH private key still work after changing som... by ksaj on Saturday December 31, 2022 @01:52AM (#34194305)
This is pretty interesting. I wonder how much of the key you can gore out without affecting its functionality. Enough to pass compact messages to a modified service?
Re:Why does my SSH private key still work after changing som... by lucakiebel on Saturday December 31, 2022 @02:07AM (#34194347)
Well, the answer says

> With this optimization, the values of n, e and d are not required

Re:Why does my SSH private key still work after changing som... by dataflow on Saturday December 31, 2022 @02:14AM (#34194371)
The thing is, that depends on if the client wants to use the other bits instead. The key is broken if the parts are out of sync, even if some clients ignore some parts.
Re:Why does my SSH private key still work after changing som... by drewtato on Saturday December 31, 2022 @02:20AM (#34194396)
It's a private key so sharing it kinda defeats the purpose. This also only works because the modified part isn't being used.
Re:Why does my SSH private key still work after changing som... by bawolff on Saturday December 31, 2022 @03:15AM (#34194630)
I mean,if you want compact just use ECC key instead of rsa. It will be much shorter (and arguably more secure)