[clug] X.509 SubjectPublicKeyInfo fields

Michael Still mikal at stillhq.com
Wed Jan 25 10:46:15 UTC 2023


Hi,

I'm playing with a protocol at the moment which has 162 bytes embedded into
a packet for a "1024 bit RSA public key in X.509 SubjectPublicKeyInfo
format". I am having troubles finding documentation on exactly how one
would generate a RSA keypair in python and then encode it into this format.

I can generate a RSA keypair a variety of ways, its the finding
documentation on what a SubjectPublicKeyInfo actually is which is killing
me. I've looked at RFC3279, and RFC5280 but am not smart enough to
understand what they're saying...

Hints welcome.

Thanks,
Michael


More information about the linux mailing list