How to Python-gnupg (GnuPG / GPG / OpenPGP) encrypt with recipient's email address rather than their fingerprint?
This example shows (which failes on my Ubuntu 20.04 / such a thing, but it's an old example; excerpt:
encrypted_data = gpg.encrypt(unencrypted_string, 'testgpguser@mydomain.com')
More-current (maybe?) references (like this and this) do not mention recipient email addresses, seemingly requiring numeric-only fingerprints for (presumably) public-key identication. Is it possible in today's environment (to identify a key solely by it's associated email_address/identity)? Possibly requiring a keyserver?
My tested python-gnupg system versions.