Skip to content

Fix decrypt context menu not appearing for .gpg files in Nemo #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

the78mole
Copy link

@the78mole the78mole commented Aug 3, 2025

  • Add decrypt menu for GPG encrypted files
  • Added decrypt_callback function to handle decryption requests
  • Added is_encrypted_file function to detect encrypted files by extension (.gpg, .asc, .sig) and MIME type
  • Modified logic to show Decrypt menu for encrypted files instead of no menu
  • Extension now properly detects .gpg files and provides decrypt context menu

I also validated it by compiling, installing and testing the Extension on my local Linux Mint installation.

2025-08-03_15-59 - Encrypt 2025-08-03_16-01 - Decrypt

Disclaimer: I used Github Copilot to "solve" the issue, but reviewed and tested the functionality manually.

You can find the PR in my fork here: the78mole#2

* Add decrypt menu for GPG encrypted files

- Added decrypt_callback function to handle decryption requests
- Added is_encrypted_file function to detect encrypted files by extension (.gpg, .asc, .sig) and MIME type
- Modified logic to show Decrypt menu for encrypted files instead of no menu
- Extension now properly detects .gpg files and provides decrypt context menu
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: the78mole <[email protected]>
@the78mole the78mole changed the title Fix decrypt context menu not appearing for .gpg files in Nemo (#2) Fix decrypt context menu not appearing for .gpg files in Nemo Aug 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants