Skip to content
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

fix external fs; switch to mautrix over gomatrix #127

Merged
merged 9 commits into from
Jul 16, 2021
Merged

fix external fs; switch to mautrix over gomatrix #127

merged 9 commits into from
Jul 16, 2021

Conversation

hrfee
Copy link
Owner

@hrfee hrfee commented Jul 16, 2021

  • Slight cleanup of matrix bot code
  • Extremely experimental E2EE support, enabled with a build flag (off by default).
    • Doesn't support receiving messages (no !lang)
  • Fix external.go (seems like ReadFile/ReadDir are no longer supported by os.DirFS, so they have been reimplemented.)

Distributing E2EE builds most likely also violates the Apache 2.0 license used for OLM and other new dependencies, so if this is later fixed up, a script to includes these licenses at build-time might be necessary.

hrfee added 6 commits July 13, 2021 14:53
hopefully this can be used to support end-to-end encryption.
Existing chats will remain unencrypted but new ones will be.
with a persistent crypto.Store, element reports "** Unable to decrypt:
The secure channel with the sender was corrupted. **", and others
clients just fail. Deleting it before reinitialising the OlmMachine
stops this, although the first message to a user takes a while as i
guess it has re-establish a session (idk, this is above me).
since this is so broken and requires CGO deps, E2EE support is now only
included with "make E2EE=on ...". The option to enable will then appear
in settings.
@netlify
Copy link

netlify bot commented Jul 16, 2021

✔️ Deploy Preview for jfa-go canceled.

🔨 Explore the source changes: f04411e

🔍 Inspect the deploy log: https://app.netlify.com/sites/jfa-go/deploys/60f1afbc50bc2d0008ed625a

@hrfee hrfee merged commit 504b602 into main Jul 16, 2021
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.

1 participant