Sumner Evans
654b6b1d45
crypto: replace t.Fatal and t.Error with require and assert
...
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 <me@sumnerevans.com>
2025-08-02 12:22:24 -06: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
Sumner Evans
3b65d98c0c
olm/pk: make an interface
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-03-11 09:00:11 -06:00
Tulir Asokan
25bc36bc7a
Add more contexts everywhere
2024-01-07 22:45:02 +02:00
Tulir Asokan
bb4427e528
Move dbutil to util package
2023-08-05 18:04:09 +03:00
Tulir Asokan
55e6fb593c
Switch crypto module to zerolog
2023-02-19 22:45:43 +02:00
Tulir Asokan
a7f1f1e3b6
Add simplified crypto helper for clients
...
Fixes #19
Fixes #2
2023-02-19 03:22:14 +02:00
Tulir Asokan
1c6e96bc66
Remove unnecessary proxy db upgrade method
2022-12-03 20:43:12 +02:00
Tulir Asokan
f4ba0afd59
Wrap connections and remove maulogger dependency in dbutil
...
Connection wrapper includes query time logging and replacing $x with ?x on SQLite
2022-08-11 18:47:28 +03:00
Tulir Asokan
d1d7f999f7
Move DeviceIdentity and Fingerprint to id package
2022-07-05 11:56:45 +03:00
Tulir Asokan
d578d1a610
Move a bunch of stuff from mautrix-whatsapp
...
Moved parts:
* Appservice SQL state store
* Bridge crypto helper
* Database upgrade framework
* Bridge startup flow
Other changes:
* Improved database upgrade framework
* Now primarily using static SQL files compiled with go:embed
* Moved appservice SQL state store to using membership enum on Postgres
2022-05-22 00:50:33 +03:00
Tulir Asokan
b40ab761fa
More changes
2020-09-12 01:32:56 +03:00
Nikos Filippakis
50bb209da7
Checking of trust for devices and users based on cross-signing
...
signatures
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00