Fix private key part decryption
Fix db on systems without GDBM compatibility.
Temp fix.
Move verification / signing to key objects.