blank passphrase check added, needs to be tested