Marshaling SSH Private Keys - Why there's always a different block? | Carlos Becker
Not long ago, when I was building melt, I learned something interesting: if you restore a private key from its seed, and marshal it back to the OpenSSH Private Key format, you’ll always get a different block in the middle.
Why? That lead to an investigation of how the private key format works. I didn’t find many good references out there, except OpenSSH’s source code.
Let’s start from there, shall we?