Thinking out loud for a sec:
In theory I can edit an SSH private key and create a new public key from it using ssh-keygen -y. I know depending on my edit I may decrease entropy, but apart from that what speaks against making part of a private key read what I want?

@alinanorakari In the case of RSA, the private key is based on two prime numbers. If you edit the key, then the result will probably no longer satisfy this condition. Your software may reject the key, crash, or use the key as-is, which would make it much easier to crack.


@samgai I'm sure the redundancy doubles as plausibility check material

Sign in to participate in the conversation

This is where Alina Norakari resides. is a personal instance. If we know you, we trust you and you ask very nicely there might be a place for you on this instance.