File extension is .txt for gpg import. Is that ok?

Johan Wevers johanw at
Thu Jun 13 10:52:17 CEST 2013

On 13-06-2013 5:20, Anilkumar Padmaraju wrote:

> I have question that on of the user gave a file to import and the file
> is having .txt extension, for example test.txt.  I usually import
> files having .asc or .gpg extensions.  Can I do "gpg --import
> test.txt" with that .txt file extension?

Yes, no problem. Otherwise you could probably rename it to .asc if some
program you use depends on the extension. Just open it wit a text editor
and see how it looks to see if this will work, if it has somewhere a
line like


it probably will.

ir. J.C.A. Wevers
PGP/GPG public keys at

More information about the Gnupg-users mailing list