Bug 204971 - Decrypting crashes under windows after importing a large amount of pgp-keys (failed assert "prot!=UnknownProtocol")
Summary: Decrypting crashes under windows after importing a large amount of pgp-keys (...
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Marc Mutz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-24 13:11 UTC by Wolfgang Raab
Modified: 2013-05-07 15:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (56.67 KB, image/jpeg)
2009-08-24 14:26 UTC, Wolfgang Raab
Details
screenshot of german error message with wron extension (9.89 KB, image/png)
2013-05-07 15:09 UTC, Andre Heinecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Raab 2009-08-24 13:11:52 UTC
Version:           2.0.11 (using Devel)
OS:                MS Windows
Installed from:    Compiled sources

Hi there, Kleopatra crashes when i try to decrypt on encrypted PGP file.
The intersting thing is that it worked bevore and the only thing what i have done is importing a bunch of older pgp-keys. (Most of them from PGP 8.02) System is WinXP Pro. Here is the error message:

Kleopatra: assertion "prot!=UnknownProtocol" failed in void Kleo::Crypto:: DecryptVerifyTask::setProtocol(PgpME::Protocol)
(/tmp/builder-home...../decryptverifytask.cpp:837): Interner Fehler (218103871)
Comment 1 Wolfgang Raab 2009-08-24 14:26:33 UTC
Created attachment 36406 [details]
Screenshot
Comment 2 Wolfgang Raab 2009-08-24 14:27:27 UTC
I found a "workaround" for this problem. It comes from the file extension. I use .txt for this file because i cut it out from an email. Now i gave the file the new extension .pgp to know what is in this file by its name and tried it again - e voila - it worked know. If i give the file another extension (like .crypt) i receive the error like above. I also tried .gpg and this also works.
Comment 3 Andre Heinecke 2013-05-07 15:09:14 UTC
Created attachment 79757 [details]
screenshot of german error message with wron extension
Comment 4 Andre Heinecke 2013-05-07 15:12:07 UTC
I've just tested this with kleopatra from KDE 4.10, which will be part of the next gpg4win release. I get a decent error message in the case you describe and although it would be better if kleopatra would ask which protocol it should use for decryption I'm closing this bug as resolved as this has nothing to do with the original description.