Passphrase of GPG-generated key not accepted

Albrecht Dreß albrecht.dress at arcor.de
Sat Aug 13 11:50:20 CEST 2005


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:albrecht.dress at arcor.de
    GnuPG public key:  http://home.arcor.de/dralbrecht.dress/pubkey.asc
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050813/8bed4b77/attachment.pgp


More information about the Gpa-dev mailing list