py3rsa-priv2pub(1)

πŸ’– NAME πŸ’–

py3rsa-priv2pub β€” she reads a private key and spits out the matching public key. That's it, that's the whole job bestie 🫢


✨ SYNOPSIS ✨

py3rsa-priv2pub [OPTION]...

No positional args, no drama. Just options, and as many as you want.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you hand py3rsa-priv2pub a private key, and it hands you back the corresponding public key. Matchmaker behaviour, honestly. πŸ’…

Both the private key and the public key use the format described in PKCS#1 v1.5 β€” no cap, that's the whole format situation, it's giving very standardised.


🌸 OPTIONS 🌸

  • -h, --help β€” shows you the help message and then dips (exits). very "let me explain myself" of her πŸŽ€
  • -i INFILENAME, --input=INFILENAME β€” the input filename. If you don't specify one, she reads from stdin instead. shy but flexible πŸ’œ
  • -i OUTFILENAME, --output=OUTFILENAME β€” the output filename. If you don't specify one, she writes to stdout instead.
🫢 lowkey obsessed with the fact that the page literally spells both of these with -i β€” I'm reporting it exactly how it's written, bestie, I don't make the rules, I just transcribe them πŸ’€
  • --inform=INFORM β€” key format of the input. default is PEM 🌈
  • --outform=OUTFORM β€” key format of the output. default is PEM ⭐

πŸ‘‘ AUTHOR πŸ‘‘

py3rsa-priv2pub was written by Sybren A. Stuvel <sybren AT stuvel.eu>. icon behaviour, we stan πŸŽ€


and that's the whole page, babe β€” it's from the General Commands Manual, section 1, filed under py3rsa-priv2pub(1). slay, go convert those keys πŸ’–βœ¨πŸ¦‹