search for: xextendf

Displaying 4 results from an estimated 4 matches for "xextendf".

Did you mean: extends
2024 Oct 14
2
[RFC] Preferentially TOFU certificate authorities rather than host keys
...wn or explicitly accepted by user */ struct hostkeys *host_hostkeys, *ip_hostkeys; + struct sshkey *cert = NULL; u_int i; /* @@ -1189,13 +1190,20 @@ check_host_key(char *hostname, const struct ssh_conn_info *cinfo, "type are already known for this host."); } else xextendf(&msg1, "", "."); - fp = sshkey_fingerprint(host_key, options.fingerprint_hash, SSH_FP_DEFAULT); ra = sshkey_fingerprint(host_key, options.fingerprint_hash, SSH_FP_RANDOMART); if (fp == NULL || ra == NULL) fatal_f("sshkey_fingerprint fail...
2023 Feb 06
20
[Bug 3534] New: probable underflow calculating display width of file name
https://bugzilla.mindrot.org/show_bug.cgi?id=3534 Bug ID: 3534 Summary: probable underflow calculating display width of file name Product: Portable OpenSSH Version: -current Hardware: amd64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: scp
2025 Apr 29
1
Multiple allowed signer files in `ssh-keygen -Y verify`
...t;, + allowed_keys_files[i]); + continue; + } + /* Record matching principals one per line */ tmp = principals; while ((cp = strsep(&tmp, ",")) != NULL && *cp != '\0') - puts(cp); - } else { - fprintf(stderr, "No principal matched.\n"); + xextendf(&output, "\n", "%s", cp); + free(principals); } + if (output != NULL) { + printf("%s\n", output); + ret = 0; + } else + fprintf(stderr, "No principal matched.\n"); +done: sshbuf_free(sigbuf); sshbuf_free(abuf); sshkey_free(sign_key); - free(pr...
2025 Apr 23
1
Multiple allowed signer files in `ssh-keygen -Y verify`
Hello, I'm currently evaluating using `ssh-keygen -Y verify` to check OS artifacts (e.g. packages) and I noticed that the `-f allowed_signers_file` option can be passed only once. A side remark: technically it can be passed multiple times without a warning but the last invocation overrides all previous ones. Tested using: $ ssh-keygen -Y verify -f allowed_signers -f /dev/null -n file -s