Re: GPG is not working because of log-file configuration

2018-03-04 Thread Werner Koch
On Sun,  4 Mar 2018 17:33, kloec...@kde.org said:

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

That looks like a c+p error.  The timestamp is an asctime and has no
Unicode characters.  But even then it won't harm because it is comment
line.

The problem the OP is due to the use of a gnupg-2 conf file with
gnupg-1.  If gnupg-1 is still required, the simpelest solution is to
create an empty  ~/.gnupg/gpg.conf-1 file.


Shalom-Salam,

   Werner


-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgp14mmopxXZp.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GPG is not working because of gpg.conf

2018-03-04 Thread Werner Koch
On Sat,  3 Mar 2018 21:06, ba...@basix.tech said:

> I think Kleopatra or another GPG frontend misconfigured my gpg.conf. How do I 
> fix it myself? My GnuPG version is 1.4.22.

Create a possible empty file

   ~/.gnupg/gpg.conf-1

this will then be used for the 1.4 version.


Shalom-Salam,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgpRKZRQnXufN.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GPG is not working because of log-file configuration

2018-03-04 Thread Ingo Klöcker
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@localhost ~]$ gpg
> gpg: /home/sample/.gnupg/gpg.conf:5: invalid option
> [sample@localhost ~]$ cat -n ~/.gnupg/gpg.conf
>  1
>  2###+++--- GPGConf ---+++###
>  3utf8-strings
>  4debug-level basic
>  5log-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




___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Is there an easy way to create an Android application?

2018-03-04 Thread Genghuang Wang
Hello

There is an old project for porting GnuPG to Android, by the Guardian
Project, but is no longer maintained. The old website is in
https://guardianproject.info/code/gnupg/ , But this project recommends
an Android APP called OpenKeychain. It is an OpenPGP implementation
for Android. It is hosted at
https://github.com/open-keychain/open-keychain .  It is open source in
the license of GPLv3.

If you would like to develop an application based on OpenKeychain, you
have to open source in GPLv3, too.

On 4 March 2018 at 13:11, 1301716...@qq.com <1301716...@qq.com> wrote:
> If I want to create a Android front end for gpg. Is there an easy way? Maybe 
> use command-line to interaction with gpg?
> My English is poor.
> Thank you.
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Is there an easy way to create an Android application?

2018-03-04 Thread Basix
On 일, 04 3월 2018 13:11 +0800, "1301716...@qq.com" <1301716...@qq.com> wrote:
> If I want to create a Android front end for gpg. Is there an easy way? 
> Maybe use command-line to interaction with gpg?
> My English is poor.
> Thank you.
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

If you just need Android front-end for GPG, please consider using OpenKeychain. 
But if you want to create an application, you should learn how to make 
application and take a look at some PGP library.

-- 
Public PGP Key:  0F92613C

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Is there an easy way to create an Android application?

2018-03-04 Thread 1301716...@qq.com
If I want to create a Android front end for gpg. Is there an easy way? Maybe 
use command-line to interaction with gpg?
My English is poor.
Thank you.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users