We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey I'm trying to figure out how to read in a private key (from a string in PEM format) and to export its public key.
This is what I've tried:
SERVER_PRIVATE_KEY = gpg.import_keys(base64.b64decode(life_constants.SERVER_PRIVATE_KEY)) SERVER_PUBLIC_KEY = gpg.export_keys(SERVER_PRIVATE_KEY.key_id)
This however only exports a huge public key block (?) but I only want to export the pure minimalistic public key, how do I do that?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey I'm trying to figure out how to read in a private key (from a string in PEM format) and to export its public key.
This is what I've tried:
This however only exports a huge public key block (?) but I only want to export the pure minimalistic public key, how do I do that?
The text was updated successfully, but these errors were encountered: