Bug 492756 - Cannot decrypt packets with hybrid cipher without using symmetric passphrase
Summary: Cannot decrypt packets with hybrid cipher without using symmetric passphrase
Status: CONFIRMED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 14:58 UTC by liu.songquan
Modified: 2024-10-15 20:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liu.songquan 2024-09-07 14:58:56 UTC
SUMMARY
Cannot decrypt packets with hybrid cipher without using symmetric passphrase, even if the available private key exists.

STEP TO REPRODUCE
Encrypt a file using both a symmetric passphrase and public key(s) simultaneously.

OBSERVED RESULT
If the passphrase is not inputted, kleopatra will interrupt the decryption process.
If the passphrase is inputted but wrong, kleopatra will provide an message “Bad passphrase”, while the log indicates the file has been successfully decrypted using a private key.

SOFTWARE/OS VERSIONS
kleopatra 3.2.2.231170 (Gpg4win-4.3.1)
Windows 10 Version 2009 (x86_64)
Comment 1 Ingo Klöcker 2024-10-15 20:49:06 UTC
Confirmed on Linux except that entering a wrong symmetric passphrase yields success for me. Only cancelling the symmetric passphrase or entering an empty symmetric passphrase yields a cancelled or failed decryption.

This is now also tracked in the GnuPG bug tracker under https://dev.gnupg.org/T7339.