Error creating backup of trustdb with 1.3.92

Patrick Brunschwig patrick.brunschwig at gmx.net
Mon Nov 8 22:09:31 CET 2004


When I (e.g.) change the ownertrust of a key, the trustdb is
recalculated upon the following start of gpg. As shown below (Win32
system), this leads to an error causing gpg to return exit code 2, even
though the operation itself completes successfully.

This looks like a bug ...

-Patrick

Log from gpg:

C:\Documents and Settings\patrick>gpg --edit-key testkey at invalid.domain
gpg (GnuPG) 1.3.92; Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
Secret key is available.

pub  1024D/B1443985  created: 2004-11-08  expires: never       usage: CS
                     trust: marginal      validity: unknown
sub  2048g/892AE1FD  created: 2004-11-08  expires: never       usage: E
[ unknown] (1). Testkey <testkey at invalid.domain>

Command> trust
pub  1024D/B1443985  created: 2004-11-08  expires: never       usage: CS
                     trust: marginal      validity: unknown
sub  2048g/892AE1FD  created: 2004-11-08  expires: never       usage: E
[ unknown] (1). Testkey <testkey at invalid.domain>

Please decide how far you trust this user to correctly verify other
users' keys
(by looking at passports, checking fingerprints from different sources,
etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu

Your decision? 4

pub  1024D/B1443985  created: 2004-11-08  expires: never       usage: CS
                     trust: full          validity: unknown
sub  2048g/892AE1FD  created: 2004-11-08  expires: never       usage: E
[ unknown] (1). Testkey <testkey at invalid.domain>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

Command> quit

C:\Documents and Settings\patrick>gpg --list-key testkey at invalid.domain
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: checking the trustdb
gpg: public key 57BBB132 is 4104 seconds newer than the signature
gpg: renaming `C:/Documents and Settings/patrick/Application
Data/GnuPG\pubring.
gpg' to `C:/Documents and Settings/patrick/Application
Data/GnuPG\pubring.bak' failed: Permission denied
gpg: failed to rebuild keyring cache: file rename error
gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model
gpg: depth: 0  valid:   6  signed:  18  trust: 0-, 0q, 0n, 0m, 0f, 6u
gpg: depth: 1  valid:  18  signed:  13  trust: 10-, 0q, 0n, 3m, 5f, 0u
gpg: depth: 2  valid:  10  signed:   3  trust: 6-, 1q, 0n, 1m, 2f, 0u
gpg: depth: 3  valid:   2  signed:   0  trust: 2-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2005-12-31
pub   1024D/B1443985 2004-11-08
uid                  Testkey <testkey at invalid.domain>
sub   2048g/892AE1FD 2004-11-08


C:\Documents and Settings\patrick>echo %errorlevel%
2

C:\Documents and Settings\patrick>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20041108/4aa8e11c/signature-0001.bin


More information about the Gnupg-devel mailing list