https://bugs.kde.org/show_bug.cgi?id=450524

            Bug ID: 450524
           Summary: Decrypt file service menu is not available (settings
                    in "Applet & Menus" does not work)
           Product: kgpg
           Version: 21.08.1
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: k...@opensource.sf-tec.de
          Reporter: mr.atti...@gmail.com
  Target Milestone: ---

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

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

Reply via email to