M. Thiercelin
1ec90e34ea
Add API to add contexts to detached signatures.
...
Using the notation data packets of signatures, we add a way to
set a context to detached signatures.
We also add a way to enforce that signatures have the right context
during verification.
2023-03-13 11:48:31 +01:00
Daniel Huigens
ff75643943
Update CHANGELOG
2023-03-01 17:40:52 +01:00
M. Thiercelin
6093df57b9
Prepare release of version 2.5.2
2023-01-26 12:24:27 +01:00
M. Thiercelin
b3e7082211
Prepare v2.5.1
2023-01-24 18:17:15 +01:00
M. Thiercelin
eccc1df619
Add streaming APIs to encrypt with compression
2023-01-24 17:44:07 +01:00
M. Thiercelin
b0dcd6e808
Prepare release of v2.5.0
2022-12-16 10:23:44 +01:00
Daniel Huigens
d3a0b14490
Update changelog
2022-12-15 16:16:49 +01:00
Daniel Huigens
d357a230f0
Update changelog
2022-11-18 15:33:44 +01:00
Daniel Huigens
ba2125a681
Update changelog
2022-11-17 18:41:16 +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
8f70487a58
Update go-mime to latest
2022-10-31 15:07:19 +01:00
Aron Wussler
6a7e485872
Release version 2.4.10
2022-08-23 13:12:55 +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
M. Thiercelin
139e421502
update changelog
2022-06-14 17:45:06 +02:00
Aron Wussler
3780a9e5d4
Release version 2.4.7
2022-04-27 15:10:34 +02:00
Aron Wussler
f5803d148d
Do not return error on empty name or email key generation
2022-04-26 10:21:28 +02:00
marinthiercelin
07e32e3c5b
Update CHANGELOG.md
2022-04-25 16:00:28 +02:00
Aron Wussler
c9d7390d1f
Release version 2.4.6
2022-03-25 14:23:50 +01:00
M. Thiercelin
c9a9f0b799
Update changelog
2022-03-17 10:44:50 +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
Aron Wussler
34904b7f9f
Release version 2.4.4
2022-02-28 12:38:18 +01:00
Aron Wussler
cf1cd54aa2
Release version 2.4.3
2022-02-24 21:59:19 +01:00
Aron Wussler
0854a2ba03
Update changelog
2022-02-15 11:49:33 +01:00
Aron Wussler
5c9d4688cb
Update go-crypto and prevent AEAD messages
2022-01-13 14:46:53 +01:00
Aron Wussler
f53887d678
Release version 2.4.1
2022-01-10 15:06:03 +01:00
wussler
a514e451c4
Fix typo in CHANGELOG.md
2022-01-10 14:42:46 +01:00
marin thiercelin
1a2e569373
Fix parsing issue of AEAD encrypted messages.
...
In pgpMessage.SeparateKeyAndData(), the parsing would
ignore AEAD encrypted data packets. Which would result
in a split message with a nil data packet.
We add support for AEAD encrypted data packets.
This also affects `NewPGPSplitMessageFromArmored` and `NewPGPSplitMessage`.
2022-01-10 14:24:08 +01:00
Aron Wussler
dcc575e039
Release version 2.4.0
2021-12-21 18:42:12 +01:00
wussler
d08315adf7
Update CHANGELOG.md
2021-12-21 10:02:39 +01:00
marin thiercelin
6f86adc432
Add keyRing.GetVerifiedSignatureTimestamp()
...
Add a function to verify a detached signature and access
its creation time.
2021-12-21 10:02:23 +01:00
Aron Wussler
e603011f68
Release version 2.3.1
2021-12-15 11:41:27 +01:00
marin thiercelin
d76ebb94e1
Update the changelog
2021-12-15 11:10:42 +01:00
Aron Wussler
130472d5a5
Release 2.3.0: Update go-crypto, add Key.IsRevoked and fix key.IsExpired
2021-11-15 15:46:42 +01:00
Aron Wussler
a0bc8b1af8
Release 2.2.5
2021-11-11 16:38:43 +01:00
Carlos Quintana
9f25490f61
Lock global gopenpgp fields
2021-10-18 11:40:58 +02:00
Aron Wussler
190a41c146
Release v2.2.4
2021-09-29 16:48:30 +02:00
marin thiercelin
5558d4a177
Fix: use verifyTime in the config time instead of Now()
...
When decrypting message, we have to use verifyTime in the config
otherwise signatures not valid at verifyTime but valid at Now()
will be seen as valid.
2021-09-23 17:14:19 +02:00
Aron Wussler
64c051f0d9
Generate keys with compression & release 2.2.3
2021-09-21 11:20:36 +02:00
Aron Wussler
af7164439a
Release version 2.2.2
2021-08-04 12:15:11 +02:00
Aron Wussler
e0531b779c
Add NewKeyFromEntity
2021-08-04 12:04:20 +02:00
Aron Wussler
26dd18cf42
Add documentation for messages
2021-08-03 20:55:03 +02:00
Aron Wussler
eb311a801f
Add changelog
2021-07-30 14:54:38 +02:00
Aron Wussler
b50a051c7e
Deprecate Key#Check()
2021-07-30 11:20:38 +02:00
Aron Wussler
44016a15c4
Release version 2.2.1
2021-07-27 12:55:10 +02:00
marin thiercelin
77df8cba3d
Fix signature status when verifying unsigned message
...
Return `SIGNATURE_NOT_SIGNED` instead of `SIGNATURE_NO_VERIFIER` when
verifying a messages with no embedded signatures.
2021-07-16 12:17:18 +02:00
marin thiercelin
f4ccc63c40
Add a helper to verify stream signatures explicitly
...
Adds the helper `VerifySignatureExplit()` to get an explicit `SignatureVerificationError`
when verifying a `PlainMessageReader`. This is needed for mobile apps, that
can't cast an error to a signature error.
2021-07-16 12:16:33 +02:00
wussler
cba6683c62
Release v2.2.0 ( #135 )
2021-06-30 17:07:52 +02:00