Skip to content

chatmaild: allow echobot to receive unencrypted messages by default #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

missytake
Copy link
Contributor

follow-up for #535 and #538

@missytake
Copy link
Contributor Author

This is mostly useful to test whether a specific server is responsive; for actual users it is less useful. But some operators know about it and use it every once in a while as part of a quick health check, me included.

@@ -58,7 +58,8 @@ def set_password(self, enc_password):
if not self.addr.startswith("echo@"):
logging.error(f"could not write password for: {self.addr}")
raise
self.enforce_E2EE_path.touch()
if not self.addr.startswith("echo@"):
self.enforce_E2EE_path.touch()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would rather do this in echo-bot setup (chatmaild/echo.py) not in this generaly code path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

echo.py is run by the echobot user, which doesn't have write permission in this path... we could do stuff with setfacl I guess, as this is anyway installed to get echobot running, but that sounds overly complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants