Encryting both file contents and file name with GnuPG

Ricky Zhou ricky at rzhou.org
Sun Jan 2 20:33:27 CET 2011


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 name of the file is.
> i can use the log to pick which file i want to decrypt.
How about just tar up the file, then encrypt that, outputting a randomly
named file?  The tarfile will preserve the original filename when it is
extracted.

Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/attachments/20110102/337882ee/attachment.pgp>


More information about the Gnupg-users mailing list