Re: Passphrase of GPG-generated key not accepted

Albrecht Dreß <[email protected]> Sat, 13 Aug 2005 09:50:20 +0000
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
Am 13.08.05 08:47 schrieb(en) Daniel Link:
[snip]
> As far as I know I've used the ISO-8859-15 character encoding. This
> message was also created with that encoding. The version of GPA
> installed on my computer is 0.7.0-r2. I use GPG 1.4.1 as you can easily
> see from above. The system is Gentoo Linux.
> 
> Which encoding does GPA use for backups? The umlaut from "Schlüssel"
> which means key isn't displayed correctly (see lines 2, 4 and 9).

GPA and other applications based upon the Gtk+-2 library (and all kde  
stuff, btw) use utf8 to encode national characters (basically two chars  
for german umlauts, as you saw in the outout). As a rule of thumb, if you  
use your key primarily via a gui application (i.e. you enter the  
passphrase via gpg-agent and pinentry-{gtk2|qt}), I would suggest to  
replace the iso8859 encoded passphrase by the same one encoded in utf8. An  
other option would be to use utf8 encodings in the standard xterm  
environment as well. I covered that problem in a faq about using  
encryption with the mua balsa ("I created a key but balsa never accepts my  
passphrase?"):  
http://home.arcor.de/dralbrecht.dress/balsa/balsa23-secure-mail.html#FAQ

> In addition GPA crashes when I try to backup a key and not enter a
> filename manually but select file and directory (segfault). I tried but
> didn't manage to compile from sources with debugging symbols. There's no

Try to run (assuming you're using bash)

CFLAGS="-O0 -g" ./configure <your cfg options>

rebuild gpa, and then run gpa in gdb. When it crashes, say "bt full" to  
get a full trace.

Hth, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:[email protected]
    GnuPG public key:  http://home.arcor.de/dralbrecht.dress/pubkey.asc
_________________________________________________________________________

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBC/cJln/9unNAn/9ERAoGEAJ4nVkVVy+ydLCKD80Zbzs0xQts/4ACdGZvI
uT/Gj/HhWtIHzR9PS11ErwE=
=EtT4
-----END PGP SIGNATURE-----