TOFU db corruption detected

MFPA 2014-667rhzu3dc-lists-groups at riseup.net
Sun Aug 6 13:28:41 CEST 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On Saturday 5 August 2017 at 4:30:12 PM, in
<mid:87mv7e118b.fsf at mithlond.arda>, Teemu Likonen wrote:-


> Before the developers give you more educated answers
> I'll point out that
> the tofu database is a regular Sqlite database file.
> So you can do:

>     $ sqlite3 ~/.gnupg/tofu.db

> and then execute any SQL commands. Interesting SQL
> command could be
> "vacuum" which, in Sqlite, basically dumps the the
> database as SQL text
> commands, then deletes the database and finally reads
> the SQL dump
> again. If you want to try that, make a copy of your
> tofu.db file first.
> Then start Sqlite like the example line above and:

>     sqlite> vacuum;

> https://www.sqlite.org/lang_vacuum.html


Thanks for replying. I downloaded Sqlite and tried that. It reduced
the size of my tofu.db from 1532 to 1432 KB but unfortunately GnuPG
still reports the same issue.

- --
Best regards

MFPA                  <mailto:2014-667rhzu3dc-lists-groups at riseup.net>

Beware the deadly donkey falling slowly from the sky
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQQzrO1O6RNO695qhQYXErxGGvd45AUCWYb9a18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNB
Q0VENEVFOTEzNEVFQkRFNkE4NTA2MTcxMkJDNDYxQUY3NzhFNAAKCRAXErxGGvd4
5BVrAQCDiwNBDNPN9AtQUd92U5hQkTiXCCFyDrQhSSsNDtDocgEA3lxrSm0oFBrp
8os/BV2NqI7772dSVa8omLB6IkiDzQWJAZMEAQEKAH0WIQSzrn7KmoyLMCaloPVr
fHTOsx8l8AUCWYb9a18UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0QjNBRTdFQ0E5QThDOEIzMDI2QTVBMEY1NkI3
Qzc0Q0VCMzFGMjVGMAAKCRBrfHTOsx8l8DkGB/oDmSfN/uPAeI+SGZOwPVOjrMSN
o/vm9urtqTMRfjv3xCU9qY9P8Lv3WEt6nCPWK3yCH1DOujjR1dis1muyI5aGAzvI
Pm7MjDTZhhawBVX3zc3JywIxPBxc3ZO+L2S6zMfywAjOQP5Zx0vKijj6PMptBRi+
jVAyfyBs403wGFyo7PWrACylJVP1tnNXBMUGhaN4Zlg+bGu8Il2voBK6DXuV1Vkz
YwtcgmAWUOF+AUIp/d09BVHGs9rWRywDFlTsPCoZZOfmHRUzHboTpAYqBljY1RJh
sPE7VFBLejJSSg39jj3VcC9cm+Sj2C8fVWo5YsWw9u33l8u1Jpq52VMwHVSS
=s6Fh
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list