Displaying 3 results from an estimated 3 matches for "passphrase1".
Did you mean:
passphrase
2013 May 29
2
Patch to discourage unencrypted key generation
...ff -ruN ssh-orig/ssh-keygen.c ssh/ssh-keygen.c
--- ssh-orig/ssh-keygen.c 2013-02-10 17:32:10.000000000 -0600
+++ ssh/ssh-keygen.c 2013-05-29 13:57:50.555791814 -0500
@@ -2585,6 +2585,23 @@
printf("Passphrases do not match. Try again.\n");
goto passphrase_again;
}
+ if (strcmp(passphrase1, "" ) == 0) {
+ char iknow[7];
+ printf("Empty passphrases are a potential security risk. \n" );
+ printf("Type \"I know\" to confirm that you want this: " );
+ fflush(stdout);
+
+ if (fgets(iknow, sizeof(iknow), stdin) == NULL)
+...
2002 Oct 16
2
ssh-keygen opens NULL filename
Hi,
it's impossible to use -f option with ssh-keygen with version 3.5p1:
$ ./ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
Generating public/private dsa key pair.
open failed: No such file or directory.
Saving the key failed: .
$
--
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS /
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
...(FILE *, int, 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 =...