search for: passphrase2

Displaying 2 results from an estimated 2 matches for "passphrase2".

Did you mean: passphrase
2013 May 29
2
Patch to discourage unencrypted key generation
...e \"I know\" to confirm that you want this: " ); + fflush(stdout); + + if (fgets(iknow, sizeof(iknow), stdin) == NULL) + exit(1); + if (strcmp("I know", iknow ) != 0) { + memset(passphrase1, 0, strlen(passphrase1)); + memset(passphrase2, 0, strlen(passphrase2)); + xfree(passphrase1); + xfree(passphrase2); + goto passphrase_again; + } + } + /* Clear the other copy of the passphrase. */ memset(passphrase2, 0, strlen(passphrase2)); xfree(passphrase2);
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
...int, BIGNUM *); int prime_test(FILE *, FILE *, u_int32_t, u_int32_t); +Options options; + +uid_t original_real_uid; + + static void ask_filename(struct passwd *pw, const char *prompt) { @@ -788,7 +795,7 @@ main(int ac, char **av) { char dotsshdir[MAXPATHLEN], comment[1024], *passphrase1, *passphrase2; - char out_file[MAXPATHLEN], *reader_id = NULL; + char out_file[MAXPATHLEN], *reader_id = NULL, buf[256]; char *resource_record_hostname = NULL; Key *private, *public; struct passwd *pw; @@ -812,7 +819,7 @@ seed_rng(); /* we need this for the home * directory. */ - pw = getpwuid(getui...