Displaying 3 results from an estimated 3 matches for "fatal_fr".
Did you mean:
fatal_f
2024 Jun 12
2
[Bug 3699] New: Fix lost quit messages
...3817
--> https://bugzilla.mindrot.org/attachment.cgi?id=3817&action=edit
Fix lost quit messages
We should immediately output the buffered data to stderr after jumping
out of the loop, rather than after sending the disconnect message,
because we may have no chance to output the data after fatal_fr().
--
You are receiving this mail because:
You are watching the assignee of the bug.
2024 Oct 12
1
A question about LDAP Public Key authentication with openssh 9.8p1
...pwnam() will return NULL
2. Back to the mm_answer_pwnamallow (in monitor.c), it will call fakepw()
to fake a struct passwd descriptor for such non-local user, as in the
bellow snippet of code:
if (pwent == NULL) {
if ((r = sshbuf_put_u8(m, 0)) != 0)
fatal_fr(r, "assemble fakepw");
authctxt->pw = fakepw();
goto out;
}
allowed = 1;
authctxt->pw = pwent;
authctxt->valid = 1;
Note that it will goto out to bailout immediately, that is to say, without
setting authctxt->va...
2024 Oct 14
2
[RFC] Preferentially TOFU certificate authorities rather than host keys
...hashed "host,ip" */
+ if (cert)
+ /* Certificates are host-specific */
+ hostp = host;
r = add_host_to_hostfile(user_hostfiles[0],
- hostline, host_key,
+ hostp, host_key,
options.hash_known_hosts);
}
} else {
@@ -1453,6 +1468,7 @@ fail:
fatal_fr(r, "decode key");
if ((r = sshkey_drop_cert(raw_key)) != 0)
fatal_r(r, "Couldn't drop certificate");
+ cert = host_key;
host_key = raw_key;
goto retry;
}
diff --git a/sshkey.c b/sshkey.c
index 73fb89ac2..903611937 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -1427...