Skip to content

fix external fs; switch to mautrix over gomatrix#127

Merged
hrfee merged 9 commits into
mainfrom
mautrix
Jul 16, 2021
Merged

fix external fs; switch to mautrix over gomatrix#127
hrfee merged 9 commits into
mainfrom
mautrix

Conversation

@hrfee

@hrfee hrfee commented Jul 16, 2021

Copy link
Copy Markdown
Owner
  • 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

netlify Bot commented Jul 16, 2021

Copy link
Copy Markdown

✔️ 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