TOFU db corruption detected
tlikonen at iki.fi
Sat Aug 5 17:30:12 CEST 2017
MFPA [2017-08-05 15:56:02+01] wrote:
> How do I "rebuild" the TOFU database to get rid of the corruption?
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:
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the Gnupg-users