Skip to content
New issue

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

How to export minimal key? #290

Open
Myzel394 opened this issue Apr 9, 2023 · 0 comments
Open

How to export minimal key? #290

Myzel394 opened this issue Apr 9, 2023 · 0 comments

Comments

@Myzel394
Copy link

Myzel394 commented Apr 9, 2023

When I generate a new key and export it I get a huge key back. How do I export it minimally?

   options = gpg_handler.gpg.gen_key_input(
        key_type="RSA",
        key_length=1024,
        name_email="[email protected]",
        name_real="Test",
    )
    key = gpg_handler.gpg.gen_key(options)

    public_key = gpg_handler.gpg.export_keys(key.fingerprint)  # minimal=True doesn't work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant