diff --git a/src/main.py b/src/main.py index 47f97ef..bdab837 100644 --- a/src/main.py +++ b/src/main.py @@ -107,7 +107,7 @@ def pgp_encrypt_and_import(pgp_key: str, message: str): return None, None fingerprint = result.fingerprints[0] # encrypts message to the user's fingerprint - encrypted = gpg.encrypt(message, recipients=[fingerprint]) + encrypted = gpg.encrypt(message, recipients=[fingerprint], always_trust=True) if not encrypted.ok: return fingerprint, None return fingerprint, str(encrypted)