Fix passphrase generation