Brad Murray
14008caaa4
crypto/ssss: only accept secret shares from verified devices ( #352 )
...
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-02-13 15:52:34 -05:00
Tulir Asokan
041784441f
crypto: add context to IsDeviceTrusted and deprecate ResolveTrust
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-02-13 14:07:49 +02:00
Brad Murray
100d945d39
Trust key backups if the public key matches ( #351 )
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-02-12 16:58:04 -05:00
Tulir Asokan
aaad5119e0
dependencies: update go
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-02-12 13:44:24 +02:00
Tulir Asokan
29319ccfd5
pushrules: fix word boundary matching and case sensitivity
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-02-08 16:18:51 +02:00
Tulir Asokan
4c652f5200
bridgev2: add FormattedTitle to direct notification data
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-02-06 15:02:45 +02:00
Sumner Evans
890db20d8e
verificationhelper: don't request QR scan if not enabled
...
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-02-05 12:48:35 -07:00
Tulir Asokan
475c4bf39d
crypto: fix key exports
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-02-04 00:24:56 +02:00
Tulir Asokan
cf10041598
bridgev2/portal: fix handling edits if max age is undefined
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-02-03 17:33:32 +02:00
Tulir Asokan
642e17f2ae
client: add request body for user redact
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-29 21:52:05 +02:00
Tulir Asokan
990519c29f
versions: add constant for MSC4194 feature flag
2025-01-29 21:49:37 +02:00
Tulir Asokan
f915ba2671
client: add wrapper for MSC4194
2025-01-29 21:48:36 +02:00
Tulir Asokan
36942121f4
crypto/helper: add support for MSC4190
2025-01-29 21:35:32 +02:00
Tulir Asokan
4d1cd8432c
crypto,sqlstatestore: fix more deprecated NewRowIter uses
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-29 15:16:53 +02:00
Tulir Asokan
7c0ed06e43
bridge,crypto: fix uses of deprecated NewRowIter
2025-01-29 15:11:06 +02:00
Tulir Asokan
30ad8a99a8
bridgev2: make restarting bridges safer
2025-01-29 14:50:04 +02:00
Tulir Asokan
f2966bc55a
dependencies: update
2025-01-29 14:48:48 +02:00
Tulir Asokan
7f20932607
client: add method to get full state event
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-29 00:35:20 +02:00
Brad Murray
625dbc6de3
Add local bridge state types ( #348 )
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-27 14:40:10 -05:00
Tulir Asokan
873d34ff5d
bridgev2/matrixinterface: add message ID field to notification data
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-24 18:05:41 +02:00
Tulir Asokan
4cde40cfb9
bridgev2/matrixinterface: add interface for displaying raw notifications
2025-01-24 18:01:28 +02:00
Tulir Asokan
2d79ce4eed
bridgev2: allow passing extra data in ConnectBackground
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-23 15:06:50 +02:00
Tulir Asokan
524379bdb3
bridgev2/networkinterface: add PushParsingNetwork
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-22 15:18:41 +02:00
Tulir Asokan
9fa8272991
bridgev2: add fallback for RunOnce
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-21 12:53:07 +02:00
Tulir Asokan
2c1aa218ae
bridgev2/backfill: call complete callback if forward backfill has no messages
2025-01-21 12:53:07 +02:00
Tulir Asokan
21c059184b
bridgev2/networkinterface: add some comments
2025-01-21 12:53:07 +02:00
Tulir Asokan
71d7d1e097
bridgev2/portal: fix manual CreateMatrixRoom calls when buffer is disabled
2025-01-21 12:53:07 +02:00
Sumner Evans
20db7f86ec
crypto/goolm: reorganize pickle code
...
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-17 11:31:49 -07:00
Sumner Evans
976e11ad11
crypto/goolm/message: use buffers for encode/decode functions
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-17 11:31:39 -07:00
Sumner Evans
d60d8d4744
crypto/aessha2: extract AES SHA2 functionality from crypto/goolm/cipher
...
This also refactors it to not recompute the keys via HKDF repeatedly.
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-17 11:23:45 -07:00
Tulir Asokan
250d3356a4
Bump version to v0.23.0
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
v0.23.0
2025-01-16 12:36:11 +02:00
Tulir Asokan
d579e450c6
dependencies: update
2025-01-16 12:04:13 +02:00
Tulir Asokan
757cdc7563
bridgev2/config: update MSC reference for appservice e2ee
2025-01-16 12:03:53 +02:00
Tulir Asokan
b17a8cd74c
bridgev2: add RunOnce method to backfill a single user login and disconnect
2025-01-15 15:05:29 +02:00
Tulir Asokan
27ac910b65
bridgev2/portal: only use event loop when buffer is enabled
...
When buffer is disabled, queueEvent will instead acquire a lock and call
the handler directly. Hopefully the queueEvent callers are already in a
queue and will block so that queueEvent itself doesn't need to be strictly
FIFO (if callers aren't in a queue, even the buffered channel writes could
race each other).
2025-01-14 21:34:38 +02:00
Tulir Asokan
53a56684d3
event: remove struct tags from FileInfo
...
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
They're lies, only `serializableFileInfo` is actually used
2025-01-13 22:09:49 +02:00
Tulir Asokan
c05be16a52
event: fix de/serializing fi.mau.gif file info field
2025-01-13 22:09:38 +02:00
Tulir Asokan
bbcb1904e2
event/capabilities: add max text length field
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-10 17:41:03 +02:00
Tulir Asokan
2851065869
bridgev2: send room capabilities as a state event ( #344 )
2025-01-10 16:55:18 +02:00
Tulir Asokan
59645cdf73
bridgev2/matrixinterface: let connector generate deterministic room IDs ( #343 )
2025-01-10 16:54:46 +02:00
Tulir Asokan
fc696eaa47
bridgev2/database: fix bugs with double puppeted column
2025-01-10 16:48:09 +02:00
Brad Murray
ac1ff66e3b
bridgev2/messagestatus: prevent checkpoints for double puppeted events ( #342 )
...
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-01-10 15:19:44 +02:00
Sumner Evans
9748015309
bridgev2/portal: add function to get per-message profile for sender
...
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-09 12:24:15 -07:00
Nick Mills-Barrett
e571946e82
client: add optional media HTTP client
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-08 13:30:59 +00:00
Nick Mills-Barrett
6c5e4d8476
bridgev2/portal: using blocking portal queue push if buffer disabled
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-07 13:51:53 +00:00
Tulir Asokan
ceb9c7b866
bridgev2/portal: fix reaction sync replacing all emojis
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-07 13:44:37 +02:00
Tulir Asokan
68eaa9d1df
dependencies: update
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-01-06 17:24:26 +02:00
Tulir Asokan
012c246061
bridgev2/matrixinvite: fix setting service members when creating DM via invite
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-01-04 12:48:14 +02:00
Tulir Asokan
5227c77012
bridgev2/commands: hide commands based on network interface implementations
2025-01-04 12:48:14 +02:00
Sumner Evans
dbd04afd41
verificationhelper/sas: include emoji descriptions in callback
...
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-03 14:14:31 -07:00