Commit graph

404 commits

Author SHA1 Message Date
marinthiercelin
c9bf4fb36a
Merge pull request #208 from ProtonMail/feat/encrypt_compression_streaming
Add streaming APIs to encrypt with compression
2023-01-24 18:13:01 +01:00
M. Thiercelin
eccc1df619
Add streaming APIs to encrypt with compression 2023-01-24 17:44:07 +01:00
Aron Wussler
ffcaa7f87b
Merge pull request #207 from ProtonMail/clean-dependencies
Clean dependencies
2023-01-09 11:25:44 +01:00
Aron Wussler
0ce389aab2 Clean dependencies 2023-01-09 09:07:53 +01:00
marinthiercelin
e1f4ae067c
Merge pull request #206 from ProtonMail/release-2.5.0
Prepare release of v2.5.0
2022-12-16 10:33:54 +01:00
M. Thiercelin
b0dcd6e808
Prepare release of v2.5.0 2022-12-16 10:23:44 +01:00
marinthiercelin
101172fc6e
Merge pull request #205 from ProtonMail/update-go-crypto
Update go-crypto
2022-12-16 10:16:59 +01:00
Daniel Huigens
d3a0b14490 Update changelog 2022-12-15 16:16:49 +01:00
Daniel Huigens
bb3363278f Update go-crypto 2022-12-15 16:15:22 +01:00
Daniel Huigens
964d37ee65
Merge pull request #200 from ProtonMail/dont-trim-trailing-spaces
Don't trim trailing spaces from non-clearsigned text messages
2022-11-18 15:46:13 +01:00
Daniel Huigens
d357a230f0 Update changelog 2022-11-18 15:33:44 +01:00
M. Thiercelin
2b9d76708a Size checks not needed in linebreaks unit tests 2022-11-18 15:33:31 +01:00
M. Thiercelin
76b77258e3 Add tests for encrypring text with non canonical line ends 2022-11-18 15:33:31 +01:00
Daniel Huigens
b189309152 Don't trim trailing spaces from non-clearsigned text messages 2022-11-18 15:33:31 +01:00
Daniel Huigens
9b9463553c
Merge pull request #199 from ProtonMail/detached-sign-type-text
Detached sign text messages with signature type text
2022-11-18 15:32:50 +01:00
Daniel Huigens
ba2125a681 Update changelog 2022-11-17 18:41:16 +01:00
M. Thiercelin
bae54f7e83 Check signature types in unit tests 2022-11-17 17:28:55 +00:00
Daniel Huigens
b90e70daa4 Detached sign text messages with signature type text 2022-11-16 14:21:39 +01:00
marinthiercelin
7cedddc40d
Merge pull request #197 from ProtonMail/fix/non-utf8-strings
Sanitize non utf8 strings before returning them to iOS apps
2022-11-03 13:24:20 +01:00
M. Thiercelin
4971d78a53
Sanitize strings by default on all platforms.
Instead of sanitizing strings only on iOS, we do it on all platforms.
2022-11-03 12:32:20 +01:00
M. Thiercelin
04803505f8
Update changelog 2022-11-03 12:31:40 +01:00
M. Thiercelin
a2fd1c6a3b
Sanitize non utf8 strings before returning them to iOS apps
In swift, strings must be strictly utf8, and when golang
returns a string with non utf8 characters, it gets translated to
an empty string for utf8.
To avoid this situation, we sanitize strings before returning them.
This behavior is only enabled when building with the "ios" build tag.
2022-11-03 12:31:05 +01:00
marinthiercelin
6021e54d03
Merge pull request #184 from ProtonMail/feat/update-gomime
Update go-mime to latest
2022-10-31 15:36:27 +01:00
M. Thiercelin
8f70487a58
Update go-mime to latest 2022-10-31 15:07:19 +01:00
wussler
dd858da5bc
Merge pull request #196 from ProtonMail/update-go-crypto
Release version 2.4.10
2022-08-23 13:53:23 +02:00
Aron Wussler
6a7e485872 Release version 2.4.10 2022-08-23 13:12:55 +02:00
wussler
3278880cd3
Merge pull request #194 from ProtonMail/update-go-crypto
Update go-crypto
2022-08-19 11:56:56 +02:00
Aron Wussler
a065bf20b0 Update go-crypto 2022-08-19 11:20:08 +02:00
Martin
1791c07702
[codespell] Fix typos (#190) 2022-07-11 10:27:59 +02:00
Aron Wussler
7fa828017a Release version 2.4.8 2022-06-22 16:30:38 +02:00
wussler
59c4bf0bef
Merge pull request #187 from ProtonMail/feat/session_key_aead_decryption
Add support for decrypting AEAD data packets with a session key.
2022-06-22 16:25:28 +02:00
M. Thiercelin
139e421502
update changelog 2022-06-14 17:45:06 +02:00
M. Thiercelin
373e1ad526
Add unit tests for decryption of aead packets 2022-06-14 16:49:16 +02:00
M. Thiercelin
4cea9a0940
Decrypt AEAD encrypted data packets with a session key
Adds the support to decrypt AEAD encrypted data packets
when decrypting the data packet with a session key directly.
2022-06-14 16:10:25 +02:00
wussler
22acd6e231
Merge pull request #185 from ProtonMail/improve-ci
Improve golang CI
2022-05-17 17:26:13 +02:00
Aron Wussler
fee9ec19fd Improve golang CI 2022-05-17 17:06:18 +02:00
wussler
8145690bfd
Merge pull request #183 from ProtonMail/release-2.4.7
Release version 2.4.7
2022-04-27 15:23:07 +02:00
Aron Wussler
3780a9e5d4 Release version 2.4.7 2022-04-27 15:10:34 +02:00
wussler
74905cd51f
Merge pull request #180 from ProtonMail/keygen-no-name
Do not return error on empty name or email key generation
2022-04-26 10:49:39 +02:00
Aron Wussler
f5803d148d Do not return error on empty name or email key generation 2022-04-26 10:21:28 +02:00
wussler
b601b54c1f
Merge pull request #181 from ProtonMail/fix/mime-explicit-verify
Return decrypted PGP/MIME content with wrong signature
2022-04-25 20:40:48 +02:00
marinthiercelin
07e32e3c5b Update CHANGELOG.md 2022-04-25 16:00:28 +02:00
marinthiercelin
2f59f6414f Return decrypted PGP/MIME content with wrong signatures
When the PGP/MIME decryption encounters a signature verification error, it will keep decrypting the content
and return it in the appropriate callbacks.
This allows the caller to choose to display the content with a warning rather than just returning an error.
2022-04-25 16:00:28 +02:00
wussler
7e0a46f7f6
Merge pull request #182 from ProtonMail/fix/ci-issues
Update github CI
2022-04-25 16:00:10 +02:00
M. Thiercelin
1184c492a8
Update github CI 2022-04-25 15:25:41 +02:00
wussler
e04eb20cba
Merge pull request #175 from ProtonMail/release-2.4.6
Release version 2.4.6
2022-03-25 17:31:55 +01:00
Aron Wussler
c9d7390d1f Release version 2.4.6 2022-03-25 14:23:50 +01:00
wussler
095cdcc4aa
Merge pull request #172 from ProtonMail/fix/mime-binary-sig-verification
Canonicalize PGP/MIME content before verifying signatures
2022-03-17 11:12:39 +01:00
M. Thiercelin
c9a9f0b799
Update changelog 2022-03-17 10:44:50 +01:00
M. Thiercelin
b54b5f4d6d
Fix test data for PGP/MIME tests
We update the test data for the PGP/MIME unit tests.
For a PGP/MIME signature to be valid, it must be done on the canonical text
and not the raw text.
2022-03-17 10:31:09 +01:00