GPG is not working because of log-file configuration

Ingo Klöcker kloecker at kde.org
Sun Mar 4 17:33:26 CET 2018


On Samstag, 3. März 2018 20:41:54 CET Basix wrote:
> Hello, I'm a user of GPG and I got some problem.
> 
> Recently my machine showing this message when do something in GPG:
> 
> [sample at localhost ~]$ gpg
> gpg: /home/sample/.gnupg/gpg.conf:5: invalid option
> [sample at localhost ~]$ cat -n ~/.gnupg/gpg.conf
>      1
>      2	###+++--- GPGConf ---+++###
>      3	utf8-strings
>      4	debug-level basic
>      5	log-file socket:///home/sample/.gnupg/log-socket
>      6	###+++--- GPGConf ---+++### 2018년 02월 22일 (목)
>      7	# GPGConf edited this configuration file.
>      8	# It will disable options before this marked block, but it will
>      9	# never change anything below these lines.
> 
> I think Kleopatra or another GPG frontend misconfigured my gpg.conf. How do
> I fix it myself?

Remove the timestamp at the end of line 6. Apparently, the (UTF-8-encoded?) 
Unicode characters confuse gpg.

GPGConf probably should write the timestamp in ISO date/time format instead of 
in localized date/time format.


Regards,
Ingo






More information about the Gnupg-users mailing list