fix passphrase can be empty, thus private key is not encrypted