Commit graph

49 commits

Author SHA1 Message Date
Tulir Asokan
20fde3d163 Remove error in ParseCommonIdentifier 2024-03-13 17:01:07 +02:00
Tulir Asokan
5224780563 Split UserID.Parse into generic ParseCommonIdentifier 2024-03-13 16:57:16 +02:00
Sumner Evans
582ce5de49
verificationhelper/qrcode: begin implementing flow
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 11:50:13 -07:00
Sumner Evans
7469dcf919
id/crypto: add VerificationTransactionID
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 10:30:37 -07:00
Toni Spets
11c2907f2e Database level support for key backup versioning
This doesn't plumb anything in yet but adds the columns and types for an
external implementation.

Key backup version is now typed.
2024-02-01 13:22:32 +02:00
Toni Spets
94664f1c8a Secret sharing implementation 2024-01-24 12:56:46 +02:00
Sumner Evans
96d1d16226
id/crypto: add KeyBackupAlgorithm
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-01-17 08:15:58 -07:00
Tulir Asokan
57d46e6a23 Don't escape + in user ID localparts 2023-08-31 17:18:51 +03:00
Tulir Asokan
bad1e977ef Fix matrix URI tests 2023-01-20 16:11:40 +02:00
Tulir Asokan
d50a366889 Use PathEscape instead of QueryEscape for forming matrix.to URLs 2023-01-20 15:47:36 +02:00
Tulir Asokan
a64afd0fe6 Run gofmt with Go 1.19 for godocs 2022-08-04 11:37:35 +03:00
Tulir Asokan
260b269287 Add database Scan/Value for ContentURI 2022-08-03 14:08:53 +03:00
Tulir Asokan
d1b82fa15b Stop parsing legacy trust state descriptions 2022-07-12 13:29:50 +03:00
Tulir Asokan
d1d7f999f7 Move DeviceIdentity and Fingerprint to id package 2022-07-05 11:56:45 +03:00
Tulir Asokan
e077017a95 Remove unused TrustState.Description 2022-07-04 15:23:39 +03:00
Tulir Asokan
a4af074c64 Un-pointerify ContentURI stringify methods 2022-06-30 20:16:00 +03:00
Tulir Asokan
9162944672 Add cross-signing TOFU support 2022-06-23 14:42:05 +03:00
Tulir Asokan
d32425a24e Actually fix TrustStateInvalid value 2022-06-22 22:09:47 +03:00
Tulir Asokan
5a09ab007f Add new trust states for forwarded keys and unknown devices 2022-06-22 21:37:18 +03:00
Tulir Asokan
d033119bb5 Fix TrustStateInvalid value 2022-06-22 20:45:59 +03:00
Tulir Asokan
6d5a9d184c Make required trust level in e2be configurable 2022-06-22 20:05:22 +03:00
Tulir Asokan
2c92f0b465 Move bridge permission config from mautrix-whatsapp 2022-05-22 18:20:49 +03:00
Tulir Asokan
0eee489b64 Switch to /v3 paths everywhere 2022-04-17 12:59:34 +03:00
Tulir Asokan
c773e6f4c9 Update user ID encoding spec link 2022-02-21 23:20:51 +02:00
Tulir Asokan
d5c25a5793 Allow setting via parameter in RoomID.URI() 2021-12-24 17:52:53 +02:00
Tulir Asokan
e5a8c0f1a5 Add helper methods to get MatrixURI structs out of opaque strings 2021-12-24 17:48:52 +02:00
Tulir Asokan
99e607dda7 Add missing newline 2021-10-26 17:24:48 +03:00
Tulir Asokan
6b5ccdfd46 Add wrapper for MSC2716 batch send 2021-10-26 17:00:30 +03:00
Tulir Asokan
00ca2be6a5 Run gofmt 2021-09-22 10:52:01 -04:00
Tulir Asokan
81187655c0 Add some tests and fix bugs in matrix: URI parsing 2021-06-15 15:04:48 +03:00
Tulir Asokan
2d9dd44b06 Add generic matrix: URI and matrix.to URL parsing
Closes #34
2021-06-08 16:23:46 +03:00
Tulir Asokan
ecce653670 Add new methods for validating user ID localparts. Fixes #27 2021-02-24 12:08:20 +02:00
Tulir Asokan
c3c3deadb0 Allow empty content URIs in parse methods 2021-02-10 00:08:03 +02:00
Nikos Filippakis
211495722d DB changes for storing cross-signing keys and signatures
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:45:26 +02:00
Tulir Asokan
7adbd31280 Fix account key mix-up. Fixes #11 2020-06-24 00:26:41 +03:00
Tulir Asokan
16bcc63b8b Implement encoding.TextMarshaler for ContentURI 2020-05-08 21:31:33 +03:00
Tulir Asokan
a120e7a70f Change stuff and invalidate outgoing group sessions on member event 2020-05-05 18:37:08 +03:00
Tulir Asokan
42381cc696 Re-add import that disappeared somewhere 2020-05-02 01:43:06 +03:00
Tulir Asokan
fcaa384fcb Merge branch 'master' into e2ee 2020-05-02 01:38:47 +03:00
Tulir Asokan
70272a0e19 Add NewRoomAlias method 2020-05-02 01:37:51 +03:00
Tulir Asokan
8c3bc8eb8f Fix content URI marshaling 2020-04-29 03:21:57 +03:00
Tulir Asokan
a14b55c544 Fix content URI parsing 2020-04-29 02:44:24 +03:00
Tulir Asokan
72957d901d Fix sharing group sessions and change other stuff 2020-04-28 21:32:12 +03:00
Tulir Asokan
fe82e2b914 Add initial outbound encryption 2020-04-28 00:57:04 +03:00
Tulir Asokan
946714d720 Move canonicaljson and go-olm inside crypto/ 2020-04-21 03:31:42 +03:00
Tulir Asokan
bb17582e1d Update key upload structs 2020-04-20 01:25:59 +03:00
Tulir Asokan
e8300832e9 Add more tests and comments 2020-04-19 14:54:49 +03:00
Tulir Asokan
d5f90df214 Update stuff 2020-04-16 19:10:51 +03:00
Tulir Asokan
8adcd0da97 Reorganize and break everything 2020-04-16 16:51:32 +03:00