Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Julian H. Stacey
Hi, Reference: From: Neil Phillips neil.phillip...@gmail.com Date: Sun, 2 Jan 2011 12:37:05 + (UTC) Message-id: loom.20110102t133232-...@post.gmane.org Neil Phillips wrote: Hi, I'm completely new to GnuPG. Can someone tell me how I can encrypt the name of the file

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Neil Phillips
SecureZip will take a file and encrypt both the filename and the file. so far with GnuPG i can only see how to encrypt the file. i do not want to use a specific name as there are too many files to do that. i want something like; gpg -recipient Neil Phillips -output_encrypt mySecrets.txt

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread David Shaw
On Jan 2, 2011, at 7:37 AM, Neil Phillips wrote: Hi, I'm completely new to GnuPG. Can someone tell me how I can encrypt the name of the file that I want to encrypt please. Example: mySecrets.txt [a plain text file] I would like: szstt.asd [some 'apparently random name' file] [file

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread David Shaw
On Jan 2, 2011, at 10:06 AM, Neil Phillips wrote: SecureZip will take a file and encrypt both the filename and the file. so far with GnuPG i can only see how to encrypt the file. i do not want to use a specific name as there are too many files to do that. i want something like; gpg

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Atom Smasher
On Sun, 2 Jan 2011, Neil Phillips wrote: i was hoping to do the following; locate a source file. place the name of the source file in a log. encrypt the source file name and contents add to the log the name of the encrypted file. that way i have a list which tells me what the real name of the

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Neil Phillips
Atom Smasher atom at smasher.org writes: just hash the file-name. SHA1 (secret-1.txt) = d422b71f32b06168db114638fa9778c42d7d0f3c SHA1 (secret-2.txt) = d0ab019ba1975dab7c100bc5b4efa020bcd86a5d SHA1 (secret-3.txt) = 753b2bd68f7ff5fc44f9142245039375a3a5b2f8 use the hash as the

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Neil Phillips
Neil Phillips neil.phillips39 at gmail.com writes: gpg should be able to give a hash, something like; gpg -output sha1(a filename) -e filename or rather something like; type sha1(filename)| gpg -o 0 -e filename or echo sha1(filename)| gpg -o 0 -e filename

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Atom Smasher
On Sun, 2 Jan 2011, Neil Phillips wrote: gpg should be able to give a hash, something like; gpg -output sha1(a filename) -e filename === depending on your [*nix or cygwin] shell, it ~can~ do that... gpg -o $(sha1 -qs filename) -e filename -r keyid the exact command is system

Re: Encryting both file contents and file name with GnuPG

2011-01-02 Thread Ricky Zhou
On 2011-01-02 03:14:06 PM, Neil Phillips wrote: i was hoping to do the following; locate a source file. place the name of the source file in a log. encrypt the source file name and contents add to the log the name of the encrypted file. that way i have a list which tells me what the real