diff --git a/daemon.py b/daemon.py index c277e2b..b931d3b 100644 --- a/daemon.py +++ b/daemon.py @@ -17,7 +17,7 @@ if __name__ == "__main__": if newfile.is_file() and (time.time() - newfile.stat().st_mtime > 60): try: raw = newfile.read_text() - encrypted: str = GPG().encrypt(raw, config.server.theirkey, sign=config.server.ourkey) + encrypted: str = GPG().encrypt(raw, config.server.theirkey, sign=config.server.ourkey, always_trust=True) upfl = BytesIO(encrypted.data) uppath = Path(config.server.inpath) / f"{directory.name}_{newfile.name}.pgp"