Windows editor destroys gpg.conf

Hauke Laging mailinglisten at
Wed Jan 15 14:02:12 CET 2014


when I help Windows users create keys then my script converts the Linux 
version of gpg.conf (after some editing) to the Windows line endings. 
This works.

But if I edit the file with the Windows editor (unfortunately I have 
forgotten the Windows version) then gpg crashes with an error message 
like "error in gpg.conf:1". I have experienced that several times in the 
past already.

Unfortunately I both don't have Windows at home and have forgotten to 
make a copy of the damaged file so that I cannot have a look at it.

A wild guess is that the editor adds a UTF-8 BOM at the beginning of the 
file (but that wouldn't affect XP, would it?).

Two concerns:

1) Does anyone know what the problem is and/or whether I can avoid it by 
using another program which is part of Windows (or widely used)?

2) Would it make sense to make gpg work with such config files...? 8-)

Crypto für alle:
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140115/340eaef5/attachment.sig>

More information about the Gnupg-users mailing list