Lines Matching refs:passphrase
75 static const char *pam_ssh_prompt = "SSH passphrase: ";
92 * directory, using the specified passphrase. If successful, returns a
96 pam_ssh_load_key(const char *dir, const char *kfn, const char *passphrase,
108 * If the key is unencrypted, OpenSSL ignores the passphrase, so
110 * a user to circumvent nullok by providing a dummy passphrase.
112 * with an empty passphrase, and if the key is not encrypted,
113 * accept only an empty passphrase.
116 if (key != NULL && !(*passphrase == '\0' && nullok)) {
121 key = key_load_private(fn, passphrase, &comment);
157 const char **kfn, *passphrase, *user;
182 /* get passphrase */
184 &passphrase, pam_ssh_prompt);
195 psk = pam_ssh_load_key(pwd->pw_dir, *kfn, passphrase, nullok);
208 * user for a new passphrase.