Bug 170263

Summary: unable to read an ascii armoured gpg encrypted mail with kpgp
Product: [Applications] kgpg Reporter: Jaime Torres <jtamate>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, ruchir.brahmbhatt
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the failing mail

Description Jaime Torres 2008-09-02 18:21:28 UTC
Version:            (using Devel)
Compiler:          gcc  
OS:                Linux
Installed from:    Compiled sources

import the attached mail into any kmail folder and try to open the ascii armored pgp encrypted part.
pressing in the 0xFC2A6CCE1CAC8C1A38DDD664083B72904350C15C.asc link.
You will be prompted to 

Open attachment '0xFC2A6CCE1CAC8C1A38DDD664083B72904350C15C.asc'?
Note that opening an attachment may compromise your system's security.

'Save' 'Open with kpgp' 'cancel'?

Using open with kpgp I get the message, unable to decrypt
file:///home/user/.kde/tmp-machine-user/0xFC2A6CCE1CAC8C1A38DDD664083B72904350C15C.asc%5Bxxxxx%5D.asc
where xxxx are random characters.
Comment 1 Jaime Torres 2008-09-02 18:23:31 UTC
Created attachment 27191 [details]
the failing mail

I've tested it in the kmail/mail/inbox/cur folder
Comment 2 Ruchir Brahmbhatt 2009-04-16 13:22:56 UTC
This seems a kgpg bug as I could open the file with kde3 version of kgpg.
Comment 3 Rolf Eike Beer 2009-05-16 20:15:33 UTC
SVN commit 968841 by dakon:

make importing keys from files when calling from command line work again

BUG:170263


 M  +24 -33    editor/kgpgview.cpp  
 M  +9 -0      editor/kgpgview.h  
 M  +24 -3     kgpg.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=968841