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
M. Thiercelin
5c5666eaa1
Canonicalize PGP/MIME content before verifying signatures
...
Before verifying signatures of PGP/MIME messages we need to canonicalize
the content
2022-03-17 10:17:34 +01:00
marinthiercelin
41eb732a58
Merge pull request #171 from ProtonMail/fix/mime-parsing-unkown-charset
...
Update github.com/ProtonMail/go-mime dependency
2022-03-02 17:03:22 +01:00
M. Thiercelin
0e4303d086
Update github.com/ProtonMail/go-mime
2022-03-02 16:40:19 +01:00
Aron Wussler
2a30ff62f4
Release version 2.4.5
2022-03-01 11:42:17 +01:00
wussler
c2d0d4c81c
Merge pull request #170 from ProtonMail/backwards-compat-split-message
...
Create `SplitMessage()` to replace `SeparateKeyAndData(...int)`
2022-03-01 09:28:12 +01:00
wussler
53010fdee7
Update crypto/message.go
2022-03-01 09:14:38 +01:00
Daniel Huigens
e1f6ea603a
Create SplitMessage() to replace SeparateKeyAndData(...int)
...
Keep SeparateKeyAndData(_ int, _ int) for backwards compatibility
with go-mobile bindings.
Deprecate SeparateKeyAndData in favor of SplitMessage.
2022-02-28 18:50:01 +01:00
Aron Wussler
34904b7f9f
Release version 2.4.4
2022-02-28 12:38:18 +01:00
wussler
a9adb4a564
Merge pull request #169 from ProtonMail/clone-split-message
...
Clone data when splitting messages
2022-02-28 12:35:57 +01:00
Daniel Huigens
ff97844785
Clone data when splitting messages
2022-02-28 12:26:01 +01:00
marinthiercelin
00cf9080d2
Merge pull request #166 from ProtonMail/fix/unarmor-error-message
...
Fix typo in error message for internal.Unarmor()
2022-02-28 11:57:19 +01:00
marinthiercelin
e9a93f4cfd
Merge branch 'main' into fix/unarmor-error-message
2022-02-28 11:48:28 +01:00
wussler
6495eca204
Merge pull request #168 from ProtonMail/release-2.4.3
...
Release version 2.4.3
2022-02-24 22:01:22 +01:00
Aron Wussler
cf1cd54aa2
Release version 2.4.3
2022-02-24 21:59:19 +01:00