From ccf072963043e4f8e402c2adcc36804fcd71b02d Mon Sep 17 00:00:00 2001 From: bacalhau Date: Fri, 6 Mar 2026 23:16:08 +0000 Subject: [PATCH] made it so it automaticly trusts every pgp key --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)