Update module github.com/ProtonMail/gopenpgp/v2 to v2.7.5 - abandoned
- Feb 07, 2024
-
-
renovate authored
-
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/ProtonMail/gopenpgp/v2 | require | minor |
v2.5.0 -> v2.7.5
|
Warning Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
v2.7.5
func (msg *PGPMessage) GetHexSignatureKeyIDsJson() []byte
func (msg *PGPMessage) GetHexEncryptionKeyIDsJson() []byte
func (msg *PGPSplitMessage) GetNumberOfKeyPackets() (int, error)
helper
to encrypt a PGP message to an additional key:
func EncryptPGPMessageToAdditionalKey(messageToModify *crypto.PGPSplitMessage, keyRing *crypto.KeyRing, additionalKey *crypto.KeyRing) error
v2.7.4
(SessionKey).Decrypt
functions return an error if no integrity protection is present in the encrypted input. To protect SEIPDv1 encrypted messages, SED packets must not be allowed in decryption.v2.7.3
helper.QuickCheckDecrypt
function to the helper package. The function allows to check with high probability if a session key can decrypt a SEIPDv1 data packet given its 24-byte prefix.v2.7.2
Update the underlying crypto library
v2.7.1
v2.7.0
SignatureVerificationError
struct now has a Cause error
field, which is returned by the the Unwrap function. The cause is also included in the error message.
NB: If the caller was relying on the exact message of the error, it might break the flow.SignatureVerificationError
with
status constants.SIGNATURE_BAD_CONTEXT
instead of constants.SIGNATURE_FAILED
.SignDetachedStreamWithContext
.v2.6.1
github.com/ProtonMail/go-crypto
and github.com/ProtonMail/go-mime
to fix
panic on invalid inputs.v2.6.0
: Release version 2.6.0sig, err := keyRing.SignDetachedWithContext(message, context)
err := keyRing.VerifyDetachedWithContext(message, signature, verifyTime, verificationContext)
github.com/ProtonMail/go-crypto
to the latest versionGetVerifiedSignatureTimestamp
, use the new VerifyDetachedSignatureAndHash
function to get the verified signature, instead of parsing the signature packets manually to get the timestamp.v2.5.2
: Release version 2.5.2github.com/ProtonMail/go-crypto
to the latest versionv2.5.1
: Release version 2.5.1func (keyRing *KeyRing) EncryptStreamWithCompression
func (keyRing *KeyRing) EncryptSplitStreamWithCompression
func (sk *SessionKey) EncryptStreamWithCompression
This MR has been generated by Renovate Bot.