SUMMARY *** In Dolphin there is no "Decrypt file" action, even if the selected file has gpg or asc extension. It seems that the value of the "Settings/Configure KGpg/Misc/Applext & Menus/Decrypt file service menu" has no effect at all. Neither creates a "Decrypt file" action in the service menu. However, if there is a file with gpg (or pgp) extension then a "View file decrypted" service menu is available and it opens the "Open Editor" window with the content of the decrypted file. If it is a text file, then encrypted text will be the content of the window and can be saved, but in case of pdf it shows the "binary" content and the save function will produce a corrupt file (tested with a ~500 kB file input file size). BTW, the double click action in Dolphin decrypts the .gpg (or .pgp) file, a correct pdf file is also created (in case of encrypted pdf file as input). Double click on a file with ASCII armored extension (.asc) will open the associated application (not surprise, in my case "kate") *** STEPS TO REPRODUCE 1. Set the "Decrypt file service menu" in the "Applet & Menus" to any value, but not to "Disable", click "Apply,Ok" 2. Select an encrypted file (.gpg, .asc, .pgp) in dolphin and open the service menu OBSERVED RESULT The "Decrypt file" action is missing. "View file decrypted" action is available (but it does not decrypt the file, it opens the "Open Editor" window) EXPECTED RESULT The "Decrypt file" action is available and decrypts the input file (as the double click action currently does). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 21.10 / 5.22.5 (available in About System) KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
I can confirm this still happens in a newer setup: Operating System: openSUSE Leap 15.3 KDE Plasma Version: 5.24.2 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Even if you have associated kgpg to .asc files in System Preferences -> File Associations, it does not show up in Dolphin's "Open with..." list. I can't pinpoint to the moment this stopped working, but it must have happened in the last months.