salsi9 / cryptophane

Automatically exported from code.google.com/p/cryptophane
GNU General Public License v2.0
0 stars 0 forks source link

Feature Request: Right-click context menu for encrypting or decrypting files/folders #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
A right click context menu item should be added by the installer (or provided 
as a 
registry file or batch script for non-installer distros like zips) that does 
the 
following:

If right clicking on a .gpg file then offers to Verify, Decrypt the file.

If right clicking on a single non .gpg file offers to Encrypt the file
    Prompts for which key to use with default key already selected

If right clicking on multiple non .gpg files offers to encrypt them
    Prompts for which key to use (default key selected) to encrypt them all

If right clicking on multiple files with a mix of .gpg and non .gpg then 
ignores the 
.gpg ones and offers to Encrypt the unencrypted files.

If right clicking on one or more folders offers to Encrypt All files inside 
folder 
or Decrypt All files inside folder (fully recursive).

This should work on both 32-bit and 64-bit editions of Windows XP, Vista, and 
7.  

Some approaches use shell handler dll additions which require a 32-bit and 
64-bit 
dll.  It is possible through registry changes to have the Cryptophane command 
line 
interface called with appropriate command options instead.  This may require 
adding 
support for encrypting or decrypting folders/multiple files at once to the 
command 
line interface.

Original issue reported on code.google.com by rodney.b...@gmail.com on 22 Oct 2009 at 9:31

GoogleCodeExporter commented 8 years ago
Note that while GPGee exists to provide right-click functionality development 
work on 
it hasn't happened since 2008.  Also the site for downloading GPGee seems slow. 

Additionally getting GPGee to work on 64-bit operation systems did not work.

Original comment by rodney.b...@gmail.com on 22 Oct 2009 at 9:32

GoogleCodeExporter commented 8 years ago
Here is a Windows registry file that can be used to add the right click support 
for Verify 
and Decrypt.

See the attached .reg file.

It has been tested on Windows 7 RC 64-bit, but should also work for XP and 
Vista 64-bit.  
To make it work for 32-bit just modify the (x86) part in the Cryptophane path.

It assumes Cryptophane is installed in C:\Program Files (x86)\Cryptophane

Original comment by rodney.b...@gmail.com on 22 Oct 2009 at 10:12

Attachments:

GoogleCodeExporter commented 8 years ago
A similar technique could be done to enable encrypting files.  I'll look into 
it.

Original comment by rodney.b...@gmail.com on 22 Oct 2009 at 10:13

GoogleCodeExporter commented 8 years ago
Here is the registry file for adding a Encrypt context menu item that appears 
for all 
files (but not folders).

Tested on Windows 7 RC 64-bit, but should work for XP and Vista as well.

For 32-bit machines the " (x86)" should be adjusted for where Cryptophane is 
actually 
installed.

Original comment by rodney.b...@gmail.com on 23 Oct 2009 at 4:30

Attachments:

GoogleCodeExporter commented 8 years ago
Note that the Encrypt entry shows up on .gpg files too.  There is probably a 
way to 
make that not happen.

Original comment by rodney.b...@gmail.com on 23 Oct 2009 at 4:32

GoogleCodeExporter commented 8 years ago
To make the Encrypt not show up on .gpg files one would have to write a shell 
extension 
dll for 32-bit and 64-bit OSes and attach it to the registry.

Original comment by rodney.b...@gmail.com on 23 Oct 2009 at 9:30