[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2022-01-07 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #15 from Rigo Wenning  ---
Hey, thanks for fixing this!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2022-01-07 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

Rolf Eike Beer  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|CONFIRMED   |RESOLVED

--- Comment #14 from Rolf Eike Beer  ---


*** This bug has been marked as a duplicate of bug 444848 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2022-01-07 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #13 from Rolf Eike Beer  ---
Git commit f0ba9ccc78b76a2a0bdadf2847a9d3581e3a0218 by Rolf Eike Beer.
Committed on 07/01/2022 at 09:59.
Pushed by dakon into branch 'master'.

KGpg: add link regarding rc file availability

M  +8-1projects/kgpg/building.php

https://invent.kde.org/websites/utils-kde-org/commit/f0ba9ccc78b76a2a0bdadf2847a9d3581e3a0218

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2022-01-07 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #12 from Rolf Eike Beer  ---
Git commit 2ba0dc670384fad39d126cc3ff447cc1560bd6b6 by Rolf Eike Beer.
Committed on 07/01/2022 at 09:52.
Pushed by dakon into branch 'master'.

KGpg: fix package list for openSUSE

M  +1-1projects/kgpg/building.php

https://invent.kde.org/websites/utils-kde-org/commit/2ba0dc670384fad39d126cc3ff447cc1560bd6b6

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2022-01-07 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

Rolf Eike Beer  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
   Severity|critical|major

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-28 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #11 from Rigo Wenning  ---
Created attachment 144905
  --> https://bugs.kde.org/attachment.cgi?id=144905&action=edit
Backtrace of crash when closing

Here is a backtrace that was generated when trying to decrypt. Nothing happens.
One closes kgpg. Kgpg asks if the file should be saved. If discarded it gives a
lot of broken pipes. This time I told kgpg to save the dummy file and it
crashed with the backtrace attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-28 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #10 from Rigo Wenning  ---
Ok, debugging output is a bit thin. The buttons work now. The encrypt button
works perfectly. The decrypt button does not work. But if I quit kgpg, it
starts operating the decryption but of course, then, there is a broken pipe.
See below: 
kf.service.services: The desktop entry file
"/usr/share/applications/org.gnome.ChromeGnomeShell.desktop" has Type=
"Application" but no Exec line
kf.service.sycoca: Invalid Service : 
"/usr/share/applications/org.gnome.ChromeGnomeShell.desktop"
Qt: Session management error: networkIdsList argument is NULL
Qt: Session management error: networkIdsList argument is NULL
QProcess: Destroyed while process ("/usr/bin/gpg2") is still running.
ASSERT: "decr != nullptr" in file /home/rigo/apps/kgpg/editor/kgpgtextedit.cpp,
line 252
KCrash: Application 'kgpg' crashing...
gpg: encrypted with rsa4096 key, ID 7D4809884A36402B, created 2014-10-07
  "Rigo Wenning (W3C) "

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #9 from Rolf Eike Beer  ---
You need to copy them to the right place or set XDG_DATA_DIRS, see
https://techbase.kde.org/Projects/Documentation/KDE_(health_table)#Docbook_Health_Table.
Will add a link to the building page, too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #8 from Rigo Wenning  ---
If I use ./kgpg -s [path-to-encrypted-file] it shows the decrypted file in the
editor. IMHO, this bug has to do with the buttons and the (wild) changes in KF5
that break things. But I may also be wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #7 from Rigo Wenning  ---
It says: 
kf.xmlgui: cannot find .rc file "kgpgeditor.rc" for component "kgpg"
kf.xmlgui: cannot find .rc file "keysmanager.rc" for component "kgpg"
kf.xmlgui: cannot find .rc file "kgpgeditor.rc" for component "kgpg"

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #6 from Rigo Wenning  ---
(In reply to Rolf Eike Beer from comment #5)
I have run kgpg from the build directory. I opened by crypted file. There is NO
BUTTON for "encrypt" or "decrypt". There is NO MENU for "encrypt" or "decrypt".
Those exist in the binary from the opensuse repos, but NOT in the compiled
binary. I may have done something wrong while compiling. But I followed the
instructions on the page you gave.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #5 from Rolf Eike Beer  ---
kgpg-decrypt is a unit test. You can run them with "make test" or "ctest" in
the build directory. If it fails please attach the LastTests.log file here.
Please stop any running kgpg instances and then run the kgpg from the build
directory: ./kgpg -d

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #4 from Rigo Wenning  ---
(In reply to Rolf Eike Beer from comment #3)
Ok, installed the necessary devel files. zypper install kdelibs4support-devel
and the kgpg source compiled. But now I have no "Decrypt" button at all.
kgpg-decrypt seems to be for testing. As this is not my main expertise, I'm a
bit at loss what to do. There is no "decrypt" function at all when running the
compiled Kgpg.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #3 from Rolf Eike Beer  ---
It surely is. Will fix.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #2 from Rigo Wenning  ---
https://utils.kde.org/projects/kgpg/building.php requires libkdepimlibs4-devel
while debian requires kdepimlibs5-dev. Given we are working in KF5, isn't the
description for opensuse outdated?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kgpg] [Bug 447582] Kgpg can't decrypt in editor anymore

2021-12-27 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=447582

--- Comment #1 from Rolf Eike Beer  ---
I suspect this may be an incompatibility with GnuPG as the KGpg code has not
changed in a while. What gpg version is this?

Can you build KGpg with debug messages as described here:
https://utils.kde.org/projects/kgpg/building.php and report the output of the
decryption attempt?

I suspect this is related to bug 444848 at the end.

-- 
You are receiving this mail because:
You are watching all bug changes.