gpg.exe Vista Crash

John Clizbe John at
Mon Feb 2 23:08:34 CET 2009

Brian wrote:
> I tried this command:
> gpg -K
> gog.exe crashed and the command line window give this info:
> gpg: checking the trustdb
> Assertion failed: keyblock->pkt->pkttype == PKT_PUBLIC_KEY, file 
> keyring.c, line
>   1387
> This application has requested the Runtime to terminate it in an unusual 
> way.
> Please contact the application's support team for more information.
> Hopefully this will help troubleshoot this a little.  If there is 
> anything I can do to debug or produce a log file, just let me know.

How did you move your keys?

Did you export/import or copy the three keyring files (pubring.gpg, secring.gpg,
trustdb.gpg) along with any gpg.conf?

If copied, did you copy them to the correct location?

On Windows 2000/XP, the default Home directory is
C:\Documents and Settings\<username>\Application Data\GnuPG

On Vista, it is C:\Users\<username>\AppData\Roaming\GnuPG

Do other keyring commands work? gpg --list-keys or gpg --check-trustdb

John P. Clizbe                      Inet:John (a)
You can't spell fiasco without SCO. hkp://  or
     mailto:pgp-public-keys at

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 680 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20090202/49379e20/attachment.pgp>

More information about the Gnupg-users mailing list