isislovecruft/python-gnupg

How to export minimal key?

Myzel394 opened this issue · 0 comments

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="test@example.com",
        name_real="Test",
    )
    key = gpg_handler.gpg.gen_key(options)

    public_key = gpg_handler.gpg.export_keys(key.fingerprint)  # minimal=True doesn't work