Signature verification, fix keypair constructor, cleanup.

Why not update for empty secret?