-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
base: main
Are you sure you want to change the base?
Conversation
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() |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
follow-up for #535 and #538