From c7e0f611e0ba28706ffc3c4946ec70afeef629fd Mon Sep 17 00:00:00 2001 From: Felipe Matarazzo Date: Thu, 30 Apr 2026 12:18:53 -0300 Subject: [PATCH 1/3] fix: remove double 'the' in CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37826897..c45e929a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -163,7 +163,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.7.0] 2023-04-14 ### Changed -- The `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. +- The `SignatureVerificationError` struct now has a `Cause error` field, which is returned by 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. - When a signature fails verification because of the signature context, it returns a `SignatureVerificationError` with status `constants.SIGNATURE_BAD_CONTEXT` instead of `constants.SIGNATURE_FAILED`. From 9df4e50e5009adab0ae3c6a3e8a483cae95411cf Mon Sep 17 00:00:00 2001 From: Felipe Matarazzo Date: Thu, 30 Apr 2026 12:18:57 -0300 Subject: [PATCH 2/3] fix: remove double 'and' in CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c45e929a..768db1a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -786,7 +786,7 @@ This version comes with some design improvements, in particular the introduction - `Signature#KeyRing` function - `Signature#IsBy` function - `pmKeyObject` struct -- `encodedLength` function, internal and and unused +- `encodedLength` function, internal and unused - `EncryptCore` is now internal. - `RandomTokenWith`, `RandomToken` now takes a size - In the `KeyRing` struct: From c222d40e682243679452fbc3754523a3ee3370ff Mon Sep 17 00:00:00 2001 From: Felipe Matarazzo Date: Thu, 30 Apr 2026 12:19:02 -0300 Subject: [PATCH 3/3] fix: remove extra 'a' in profile comment --- profile/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/profile.go b/profile/profile.go index 6b42ac76..7d1359e7 100644 --- a/profile/profile.go +++ b/profile/profile.go @@ -32,7 +32,7 @@ type Custom struct { // Hash defines hash algorithm to be used. Hash crypto.Hash // SignHash defines if a different hash algorithm should be used for signing. - // If nil, the a above field Hash is used. + // If nil, the above field Hash is used. SignHash *crypto.Hash // CipherKeyEncryption defines the cipher to be used for key encryption. CipherKeyEncryption packet.CipherFunction