Lines Matching refs:password

48     /* Construct absolute pathname to user's password file. */
58 right thing for a GUI is to just store the password in
86 * from a ~/.cvsroot password file and return a pointer to the password if the
97 * char *password as a pointer into linebuf
110 char *password = NULL;
144 error (0, 0, "warning: skipping invalid entry in password file at line %d",
151 password = p + 1;
158 error (0, errno, "warning: unable to convert version number in password file at line %d",
165 error (0, 0, "warning: skipping entry with invalid version string in password file at line %d",
170 error (0, 0, "warning: skipping entry with unknown version (%lu) in password file at line %d",
190 error (0, 0, "warning: skipping invalid entry in password file at line %d", linenumber);
198 error (0, 0, "warning: skipping invalid entry in password file at line %d", linenumber);
205 password = p + 1;
211 return password;
224 * Search the password file and depending on the value of operation:
227 * password_entry_lookup Return the password
254 * the password -- someday we might provide something more secure than
266 * newpassword prescrambled new password, for password_entry_add_mode
271 * pointer to a copy of the password string otherwise, which the caller is
290 char *password = NULL;
307 /* Yes, the method below reads the user's password file twice when we have
325 password = password_entry_parseline (cvsroot_canonical, 1, line,
327 if (password != NULL)
345 if (password != NULL)
348 p = strchr (password, '\n');
351 password = xstrdup (password);
361 if (operation == password_entry_delete && password == NULL)
372 * mode and the line we found contains the same password we're supposed to
375 if (!noexec && password != NULL && (operation == password_entry_delete
377 && strcmp (password, newpassword))))
414 * user's password file accidentally
453 * different password, append the new line
456 && (password == NULL || strcmp (password, newpassword)))
470 if (password)
472 free (password);
473 password = NULL;
481 return password;
488 * password anyhow in case that's what we would have found
509 /* Prompt for a password, and store it in the file "CVS/.cvspass".
540 if (current_parsed_root->password)
542 typed_password = scramble (current_parsed_root->password);
547 tmp = getpass ("CVS password: ");
553 if (!tmp) error (1, errno, "login: Failed to read password.");
559 * confirms the new password with the server), instead of
577 /* Free the password returned by get_cvs_password() and also free the
579 * about the in-memory copy of the password and overwrite it with zero
583 free_cvs_password (char *password)
585 if (password && password != cvs_password)
587 memset (password, 0, strlen (password));
588 free (password);
599 /* Returns the _scrambled_ password in freshly allocated memory. The server
600 * must descramble before hashing and comparing. If password file not found,
601 * or password not found in the file, just return NULL.
606 if (current_parsed_root->password)
607 return scramble (current_parsed_root->password);
611 password. */
617 /* In previous versions of CVS one could specify a password in