So due to problems with my hostname I just changed it. The problem with that is that in the tripwire configuration I left the hostname variable within the name of the dbfile and the local keyfile as it was. (like {$hostname}-abc.key)
First I tried simply renaming the files to match my new hostname. That didn't work.
I then used a backup and updated the tripwire configuration file as described here without that hostname-variable to match my old hostname.
This also didn't work as I get:
Error: Policy file does not match policy used to create database.
Exiting...
How can this be fixed without having to reinitialize the tripwire database? I still have an untouched (but moved and hence potentially differing ownership?) backup of my tripwire files. Maybe chown and alike could be used to solve this? I'm running Debian 9.1 with KDE.
And on a related note: where can I find a hash of the siggen file? It was missing after compilation so I had to copy it from another compilation that worked. Not sure if that warrants a separate question.