by Volundr · 1y ago · 0 comments
Is there a reason this is actually a problem? I always thought the public/private key was arbitrary and it was easier and less error prone to give people one key called public and one called private than hand them two keys and say "ok keep one of these a secret".
Don't get me wrong, not defending anyone here, just curious is there's more to it I don't know.
Also, I'd like to add that public exponent is usually fixed to some well-known constant such as 65537, so the attacker might just try brute-forcing when she knows the details of the scheme.
In RSA, that isn't possible (without assumptions), so a private key file also contains the public key data.