rename setPassphrase
revert to setPassphrase
fix pubkey param. add test
fix interfase and loggin