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:

    sqlite> vacuum;

/// Teemu Likonen   - .-..   <> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature

Gnupg-users mailing list

Reply via email to