Home | History | Annotate | Download | only in pam_ssh

Lines Matching defs:passphrase

80 static const char *pam_ssh_prompt = "SSH passphrase: ";
97 * directory, using the specified passphrase. If successful, returns a
101 pam_ssh_load_key(const char *dir, const char *kfn, const char *passphrase,
114 * If the key is unencrypted, OpenSSL ignores the passphrase, so
116 * a user to circumvent nullok by providing a dummy passphrase.
118 * with an empty passphrase, and if the key is not encrypted,
119 * accept only an empty passphrase.
122 if (r == 0 && !(*passphrase == '\0' && nullok)) {
129 r = sshkey_load_private(fn, passphrase, &key, &comment);
167 const char **kfn, *passphrase, *user;
193 /* get passphrase */
195 &passphrase, pam_ssh_prompt);
206 psk = pam_ssh_load_key(pwd->pw_dir, *kfn, passphrase, nullok);
219 * user for a new passphrase.