Bug 240538 - Kgpg cannot sign files
Summary: Kgpg cannot sign files
Status: RESOLVED WORKSFORME
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-06-03 02:14 UTC by cjao
Modified: 2018-10-27 03:43 UTC (History)
0 users

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 cjao 2010-06-03 02:14:49 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

When I run the command "kgpg -S foo.txt", select which key I want to use, and click OK, the program hangs for a bit and then quits with the message:


Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "


Reproducible: Always

Steps to Reproduce:
Open up a terminal, take any file foo, and try "kgpg -S foo"

Actual Results:  
I get the error message every time. Kgpg does not sign the specified file.

Expected Results:  
Kgpg should sign the specified file.
Comment 1 Rolf Eike Beer 2010-06-03 17:25:41 UTC
Please try if you can sign a text using KGpg's editor. If that doesn't work try using "gpg --sign foo". For me all three methods work.
Comment 2 cjao 2010-06-03 17:29:56 UTC
I can sign text using the editor and I can sign with "gpg --sign". But "kgpg -S" returns the error I posted above.
Comment 3 Rolf Eike Beer 2010-06-03 17:49:32 UTC
Please try to build your KGpg from current 4.4 branch (see http://der-
dakon.net/blog/KDE/building-kdeutils.html) and run this from gdb:

gdb ./kgpg
run -S foo

When it crashes, stops or quits any other way please call "bt" to get a 
backtrace. Make sure you quit any other instance of KGpg before starting the 
one from the debugger.
Comment 4 cjao 2010-06-03 18:06:41 UTC
Okay, I just built the latest svn branch of kgpg in debug mode. Here is the GDB output. Unfortunately I can't get a backtrace.

Reading symbols from /home/cjao/abs/kgpg/kdeutils/build/kgpg/kgpg...done.
(gdb) run -S ~/Desktop/test.txt 
Starting program: /home/cjao/abs/kgpg/kdeutils/build/kgpg/kgpg -S ~/Desktop/test.txt
[Thread debugging using libthread_db enabled]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
<unknown program name>(10794)/: Communication problem with  "kgpg" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." " 


Program exited with code 0377.
(gdb) bt
No stack.
Comment 5 cjao 2010-06-03 18:25:33 UTC
I also recently updated to KDE 4.4.4, if that makes a difference.
Comment 6 Rolf Eike Beer 2011-12-16 17:17:28 UTC
I noticed there is an error in the above command: you need "run --nofork -S foo". Does this still happen with recent versions?
Comment 7 Andrew Crouthamel 2018-09-22 02:08:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-27 03:43:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!