On 10/26/06, Till Maas <opensource(a)till.name> wrote:
On Thursday 26 October 2006 22:38, Bill Nottingham wrote:
> .gpg sounds like it's a gpg *key*, not a randomly gpg signed file.
The very popular file ~/.gnupg/trustdb.gpg is not a gpg key, either.
.asc or .sig would be ok, too. The main thing is, that it is a suffix that gpg
recognizes so gpg $SHA1SUM.$SUFFIX will generate $SHA1SUM instead of asking
the user for a filename.
This thread is just highlighting the problems with using extensions to
disambiguate file-types.
The machine should be using the file magic to determine the content.
Fortunately this has worked for a long time:
[gmaxwell@limelight Zod-dvd-i386]$ file SHA1SUM
SHA1SUM: PGP armored data signed message
And of course, nautilus recognizes files in the same way.
This leaves you free to name the file in the most human compatible manner.