Commit graph

110 commits

Author SHA1 Message Date
Lukas Burkhalter
c6a3058e2e
Prepare release 2.7.5 with packet API (#269)
Adds the following API functions:
- API to get signature key IDs for mobile:
	func (msg *PGPMessage) GetHexSignatureKeyIDsJson() []byte

- API to get encryption key IDs for mobile:
	func (msg *PGPMessage) GetHexEncryptionKeyIDsJson() []byte

- API to get the number of key packets in a PGP message:
	func (msg *PGPSplitMessage) GetNumberOfKeyPackets() (int, error)

- API in package `helper` to encrypt a PGP message to an additional key:
	func EncryptPGPMessageToAdditionalKey(messageToModify *crypto.PGPSplitMessage, keyRing *crypto.KeyRing, additionalKey *crypto.KeyRing) error
2024-02-07 08:09:26 +01:00
Lukas Burkhalter
02a4599829
Prepare release 2.7.4 (#256) 2023-10-27 14:28:29 +02:00
Lukas Burkhalter
0eace5479a
Release version 2.7.3 (#252) 2023-08-28 15:46:06 +02:00
Aron Wussler
b97d994962
Release version 2.7.2 (#247) 2023-07-17 14:42:41 +02:00
M. Thiercelin
2cf7a8caee
Add mobile helpers to verify signature contexts. 2023-04-21 10:57:23 +02:00
M. Thiercelin
300603d28e
Prepare release of gopenpgp v2.7.0 2023-04-14 10:18:03 +02:00
M. Thiercelin
97323a4c2b
Add signature context for embedded signatures 2023-04-06 12:28:12 +02:00
M. Thiercelin
c55b9d203c
Add API to sign stream with context 2023-04-06 11:45:50 +02:00
M. Thiercelin
257c381604
Add SIGNATURE_BAD_CONTEXT status to verification error.
Add a special status for verification errors that are
caused by the signature context.
2023-04-06 10:34:04 +02:00
M. Thiercelin
e9fca4d62f
Wrap the cause of signature verification errors.
Instead of swallowing the cause of verification errors,
we use error wrapping to communicate the cause to the caller.
2023-04-05 13:50:55 +02:00
M. Thiercelin
524e1b89a9
Update go-crypto, go-mime and prepare v2.6.1 release 2023-03-22 13:23:35 +01:00
M. Thiercelin
8cff537619
Prepare release of v2.6.0 2023-03-15 09:43:16 +01:00
M. Thiercelin
d3fa075f06
Upgrade dependencies
Upgrade golang.org/x/crypto to v0.7.0
2023-03-13 13:23:47 +01:00
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