Implementing basic logic for asking passphrase.