Commit graph

15 commits

Author SHA1 Message Date
Tulir Asokan
b5324dffde
crypto/attachment: implement io.Seeker in EncryptStream (#243) 2024-07-06 10:11:44 +03:00
Tulir Asokan
09c8c43908 Switch to testify assert in attachment tests 2022-04-27 15:49:31 +03:00
Tulir Asokan
5eebba08bd Add stream decryption and other improvements 2022-04-27 15:43:20 +03:00
Tulir Asokan
6c28bb4a5e Rename new crypto methods to preserve backwards-compatibility 2022-04-27 15:03:06 +03:00
Tulir Asokan
b76aae2bb5 Update tests for in-place encryption 2022-04-27 14:34:21 +03:00
Tulir Asokan
0094627b6a Switch attachment encryption to work in-place 2022-04-27 14:27:52 +03:00
Tulir Asokan
00ca2be6a5 Run gofmt 2021-09-22 10:52:01 -04:00
Tulir Asokan
2adba8c3a3 Merge branch 'master' into cross-sign 2020-09-03 17:30:14 +03:00
Tulir Asokan
47db3d0348 Add support for streaming attachment encryption 2020-09-02 02:10:31 +03:00
Nikos Filippakis
6159b22f94 Generate and upload SSSS keys with random key or passphrase and store SSSS keys in Olm machine
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Nikos Filippakis
0949fe63d1 Retrieve secrets from SSSS using a given passphrase or recovery key
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:45:26 +02:00
Tulir Asokan
5961aff7a7 Fix test 2020-04-29 02:54:23 +03:00
Tulir Asokan
6790dda123 Fix base64 encoding of encrypted attachment key 2020-04-29 02:44:05 +03:00
Tulir Asokan
104cc57eef Use existing function to calculate base64 result length 2020-04-19 02:08:17 +03:00
Tulir Asokan
ad28e1b46d Add file encryption stuff 2020-04-16 16:51:41 +03:00