Changing an incorrect key

To correct an incorrect key in .smatdb, run these commands:

  1. sqlite3 this.smatdb
  2. PRAGMA KEY = ‘wrong key (2nd site name?)’
  3. PRAGMA REKEY = ‘correct key (1st site name?)’
  4. .quit