search for: do_change_comment

Displaying 5 results from an estimated 5 matches for "do_change_comment".

2002 May 01
0
[Bug 231] New: ssh-keygen has fatal error while updating comment in RSA1 key
...ndom bytes (error 604389476)" This happens because somewhere between 3.0.2p1 and 3.1p1 (the two versions I examined), the calls to the init_rng() and seed_rng() in the main function got moved from near the beginning of the function to after where all the options are processed. The function do_change_comment() handles the comment changing and is called during option processing. do_change_comment() calls a function save the key file, which uses the random number generator, which has not been initialized or seeded and therefore the random number generator reports an error. The simplest fix, in my op...
2019 Aug 06
2
[PATCH v2] Remove sshkey_load_private()
...te(identity_file, old_passphrase, - &private, &comment); + r = sshkey_load_private_type(KEY_UNSPEC, identity_file, + old_passphrase, &private, &comment); explicit_bzero(old_passphrase, strlen(old_passphrase)); free(old_passphrase); if (r != 0) @@ -1461,7 +1463,7 @@ do_change_comment(struct passwd *pw, const char *identity_comment) ask_filename(pw, "Enter file in which the key is"); if (stat(identity_file, &st) == -1) fatal("%s: %s", identity_file, strerror(errno)); - if ((r = sshkey_load_private(identity_file, "", + if ((r = sshkey_loa...
2010 Mar 03
2
Viewing cetificate details
Hi, I don't see any way to view the details of a certificate once it is generated. Having such a capability would be very handy for debugging purposes to check what constraints, principals, and validity interval are associated with a given cert. -- Iain Morgan
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...RP_ALLOW_STDIN); ??? ??? ?r = sshkey_load_private(identity_file, old_passphrase, -?? ??? ???? &private, &comment); +?? ??? ???? &private, &comment, NULL); ??? ??? ?freezero(old_passphrase, strlen(old_passphrase)); ??? ??? ?if (r != 0) ??? ??? ??? ?goto badkey; @@ -1525,7 +1541,7 @@ do_change_comment(struct passwd *pw, const char *identity_comment) ??? ?if (stat(identity_file, &st) == -1) ??? ??? ?fatal("%s: %s", identity_file, strerror(errno)); ??? ?if ((r = sshkey_load_private(identity_file, "", -?? ???? &private, &comment)) == 0) +?? ???? &private, &co...
2003 Sep 06
20
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615 ------- Additional Comments From dtucker at zip.com.au 2003-09-06 12:51 ------- Created an attachment (id=387) --> (http://bugzilla.mindrot.org/attachment.cgi?id=387&action=view) Move libgen test after dirname test Looked at this again, I think the reason it's not working is libgen has already been detected before the dirname test,