Feature request: Add date and time to filename of encrypted file
wk at gnupg.org
Mon May 23 09:06:08 CEST 2005
On Sun, 22 May 2005 07:31:40 +0200, Per Tunedal Casual said:
> Add date and time to filename of encrypted file; this is an option for
> encrypt-file and encrypt & sign file.
OpenPGP defines a field for storing this information; it is however
not well definef and due to the fact that gpg is often used in a
pipeline, there is no such information available - we store the
current time instead.
Anyway, in good old Unix tradition gpg should not do this. There are
more attributes to a file than the time (what time: creation,
modification, access?) for example the owner, the permissions ACLS and
such. Trying to implement this would soon lead to a full archive
program. It is better to use tar(1) or one the other archivers for
this instead. They have been written for this purpose. Use for
example something like:
tar cf - filenames | gpg -e ...
More information about the Gnupg-users