News for hackers. Stuff that matters.
Re:Why does my SSH private key still work after changing som... by ausudhz on Saturday December 31, 2022 @06:37AM (#34195547)
> With this optimization, the values of n, e and d are not required, hence are ignored by typical implementations whenever p, q, dp, dq and qinv are available*

> *at least for OpenSSH, they do not have to be present: setting p=q=1 and dp=dq=qinv=0 makes the implementation use n and d.

https://crypto.stackexchange.com/questions/31807/why-does-my...

Re:Why does my SSH private key still work after changing som... by Dylan16807 on Saturday December 31, 2022 @06:53AM (#34195649)
I misread the second quote. I suppose that is evidence, but setting them to an incorrect value suggests that this might not be a valid file even if it works.
Re:Why does my SSH private key still work after changing som... by layer8 on Saturday December 31, 2022 @02:10PM (#34199640)
This is a particularity of OpenSSH though and not supported by RFC 8017. The fields are mandatory and required by the spec to contained the correct values.