Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

Mac stuff!

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


benjamin at py-soft

Jan 21, 2009, 10:52 AM

Post #1 of 4 (895 views)
Permalink
Mac stuff!

I currently maintain the binary Mac distribution of GnuPG v2, MacGPG2.

Firstly, would there be any problems changing the identifying string
for GnuPG as follows:

Instead of:

$ gpg2 --version
gpg (GnuPG) 2.0.10
libgcrypt 1.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
[...]

It would be:
$ gpg2 --version
gpg (MacGPG2) 2.0.10
libgcrypt 1.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
[...]

or even:
$ gpg2 --version
gpg (GnuPG by MacGPG2) 2.0.10
libgcrypt 1.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
[...]

Many of our support enquiries arise from non-MacGPG2 installs and this
would make my life so much easier!

The other thing is one of my users is having problems with the native
Mac pinentry program. One theory I have is that it's not dealing with
character encoding properly - am I right in thinking that everything
should be passed to it in UTF-8? The source code is on my devel box
at home - I'll have a look when I get in...

However, he's also reporting problems with the curses pinentry program
and I'm almost completely stumped.

Ben

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


benjamin at py-soft

Jan 21, 2009, 2:16 PM

Post #2 of 4 (841 views)
Permalink
Re: Mac stuff! [In reply to]

2009/1/21 Benjamin Donnachie <benjamin [at] py-soft>:
> Red herring:

Then again:

getpin
D ßßßßß∫∫∫∫∫∫†(c)˙ƒ(c)∂ƒ(c)∂(c)
OK
bye
OK closing connection

That doesn't look like UTF-8 to me! Think I might have found the problem... :)

Ben

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


wk at gnupg

Jan 22, 2009, 1:58 AM

Post #3 of 4 (853 views)
Permalink
Re: Mac stuff! [In reply to]

On Wed, 21 Jan 2009 21:57, benjamin [at] py-soft said:

> char * pin = (char *) [[pinentry getPINField] UTF8String];

The Qt version does the same:

char *pin = (char *) pinentry.text().utf8();

I have not checked what the curses version does. In general everything
should be utf8 but for historical reasons we have never enforced that so
that you may end up with a mismatch between using the command line
version and Pinentry or another GUI to enter the passphrase.

I would advice to use the too initially used to set the passphrase and
change the passphrase to a plain ascii one. Later it can then be
changed using the GUI.


Salam-Shalom,

Werner


--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


wk at gnupg

Jan 22, 2009, 2:00 AM

Post #4 of 4 (856 views)
Permalink
Re: Mac stuff! [In reply to]

On Wed, 21 Jan 2009 19:52, benjamin [at] py-soft said:

> It would be:
> $ gpg2 --version
> gpg (MacGPG2) 2.0.10

I see no problem with that. You merely should stick to that format of
version strings because gpgme and other tools know about that GNU
format.


Shalom-Salam,

Werner

--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.