solves error (Symkey decrypt failed: Invalid secret key ID)#34
Open
pinmarch wants to merge 1 commit intobtrott:masterfrom
Open
solves error (Symkey decrypt failed: Invalid secret key ID)#34pinmarch wants to merge 1 commit intobtrott:masterfrom
pinmarch wants to merge 1 commit intobtrott:masterfrom
Conversation
"Symkey decrypt failed: Invalid secret key ID" problem in https://stackoverflow.com/questions/12540226/cryptopenpgp-symkey-decrypt-failed-invalid-secret-key-id . I use openpgp.js for the encryption of messages and get the same error. It seems openpgp.js uses the subkey for encryption of the sessionkey. So I suggest "$kb->key_by_id($sym_key->key_id)" instead of "$kb->encrypting_key".
timlegge
added a commit
to perl-Crypt-OpenPGP/Crypt-OpenPGP
that referenced
this pull request
Oct 15, 2024
[Changes since 1.17]
- Merge GH btrott#34 from @pinmarch
- fixes decryption of cipher text encrypted with a subkey
[Detailed Changelog]
- 85c2923 Add Release notes to MANIFEST.SKIP
- 57f909e Add test for Fix for RT #79798 - Symkey decrypt failed: Invalid secret key ID
- 0bf6750 solves error (Symkey decrypt failed: Invalid secret key ID)
- 68371b4 v1.17
|
Crypt::OpenPGP 1.18 has been released with this fix. @pinmarch thanks for the PR. I don't have admin on this repo - please close |
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
Oct 21, 2024
1.18 -- Mon Oct 14 22:09:32 ADT 2024
[Changes since 1.17]
- Merge GH btrott/Crypt-OpenPGP#34 from @pinmarch
- fixes decryption of cipher text encrypted with a subkey
[Detailed Changelog]
- 85c2923 Add Release notes to MANIFEST.SKIP
- 57f909e Add test for Fix for RT #79798 - Symkey decrypt failed: Invalid secret key ID
- 0bf6750 solves error (Symkey decrypt failed: Invalid secret key ID)
- 68371b4 v1.17
1.17 -- Mon Oct 14 14:23:37 ADT 2024
[Changes since 1.16]
- Same as 1.15 - but referencing correct github repo
[Detailed Changelog]
- fb350bd (HEAD -> master) Reference correct github Repo
1.16 -- Mon Oct 14 11:06:32 ADT 2024
[Changes since 1.15]
- Small fixes to longstanding issues
- (SAMV) RT#20931 fix verification of OpenPGP cleartext signatures
- RT#19482 Choose the correct signing key for verification
[Detailed Changelog]
- 300a1f5 Missed keyserver zone xfer reference
- ed451ac update pod referencing keyservers
- 7417b1d Apply fix for RT#20931
- ec61503 Fixes Issue RT#19482
- 42e7e72 v1.15
- eef0803 Fixes RT#57861 - bump Crypt::DSA version
- ff161e7 v1.14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"Symkey decrypt failed: Invalid secret key ID" problem in https://stackoverflow.com/questions/12540226/cryptopenpgp-symkey-decrypt-failed-invalid-secret-key-id .
I use openpgp.js for the encryption of messages and get the same error. It seems openpgp.js uses the subkey for encryption of the sessionkey. So I suggest "$kb->key_by_id($sym_key->key_id)" instead of "$kb->encrypting_key".