Original reported in the Gpg4win Forum:
If I try to import or create a key I get a SQL database disk image is malformed error
How do i find the sql disk image?See below error log
C:/Projects/HMCTS/Steven Oliver-Public.asc (imported with gpg)
gpg: DBG: kbx_client_data_cmd: finished command with error: SQL database disk image is malformed
gpg: keydb_get_keyblock failed: Value not found
gpg: error writing keyring ‘[keyboxd]’: SQL database disk image is malformed
gpg: error reading ‘-&12’: SQL database disk image is malformed
gpg: import from ‘-&12’ failed: SQL database disk image is malformed
gpg: Total number processed: 0
C:/Projects/HMCTS/Steven Oliver-Public.asc (imported with gpgsm)
gpgsm: total number processed: 0
gpgsm: error importing certificate: End of file
We probably need some way to recover from that or find out how this could have happened and prevent this in the future.