Displaying 7 results from an estimated 7 matches for "host_hash".
2019 Apr 01
2
Call for testing: OpenSSH 8.0 [AIX Fail]
....c:2314:6: warning: implicit declaration of function 'getpeereid'; did you mean 'getpcred'? [-Wimplicit-function-declaratio ]
Does AIX7 have getpeereid? If not, the prototype should come from
openbsd-compat.h, if so maybe we need to add a header?
> hostfile.c: In function 'host_hash':
> hostfile.c:151:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 1020 [-Wformat-truncation=]
> snprintf(encoded, sizeof(encoded), "%s%s%c%s", HASH_MAGIC, uu_salt,
not sure yet.
.
> gcc -O2 -mcpu=po...
2024 Oct 14
2
[RFC] Preferentially TOFU certificate authorities rather than host keys
...onst struct sshkey *key, int store_hash)
{
- int r, success = 0;
+ int r, success = 0, cert = sshkey_is_cert(key);
char *hashed_host = NULL, *lhost;
lhost = xstrdup(host);
lowercase(lhost);
+ if (cert)
+ fprintf(f, "%s ", CA_MARKER);
+
if (store_hash) {
if ((hashed_host = host_hash(lhost, NULL, 0)) == NULL) {
error_f("host_hash failed");
@@ -457,7 +460,9 @@ write_host_entry(FILE *f, const char *host, const char *ip,
}
free(hashed_host);
free(lhost);
- if ((r = sshkey_write(key, f)) == 0)
+ if ((cert && (r = sshca_write(key, f)) == 0))
+ success =...
2012 Dec 27
3
[PATCH] hostfile: list known names (if any) for new hostkeys
...name matches. */
- if (match_hostname(host, cp, (u_int) (cp2 - cp)) != 1) {
+ /* Check if the host name matches if we're looking for a host. */
+ if (lookup_host && match_hostname(lookup_host, cp, (u_int) (cp2 - cp)) != 1) {
if (*cp != HASH_DELIM)
continue;
- hashed_host = host_hash(host, cp, (u_int) (cp2 - cp));
+ hashed_host = host_hash(lookup_host, cp, (u_int) (cp2 - cp));
if (hashed_host == NULL) {
debug("Invalid hashed host line %lu of %s",
linenum, path);
@@ -283,7 +280,17 @@ load_hostkeys(struct hostkeys *hostkeys, const char *host, const c...
2007 Oct 10
0
PATCH: incorrect behaviour of 'ssh-keygen -HF'
...sh-4.7p1/ssh-keygen.c Mon Feb 19 12:10:25 2007
+++ openssh-4.7p1-patched/ssh-keygen.c Wed Oct 10 17:38:05 2007
@@ -598,7 +598,7 @@
}
static void
-print_host(FILE *f, char *name, Key *public, int hash)
+print_host(FILE *f, const char *name, Key *public, int hash)
{
if (hash && (name = host_hash(name, NULL, 0)) == NULL)
fatal("hash_host failed");
@@ -726,7 +726,7 @@
printf("# Host %s found: "
"line %d type %s\n", name,
num, key_type(public));
- print_host(out, cp, public, hash_hosts);
+ print_host(out, name, public, hash_ho...
2018 Oct 11
13
Call for testing: OpenSSH 7.9
Hi,
OpenSSH 7.9p1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This is a bugfix release.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is also available via git using the
instructions at
2019 Oct 01
9
Call for testing: OpenSSH 8.1
Hi,
OpenSSH 8.1p1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This is a bugfix release.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is also available via git using the
instructions at
2019 Mar 27
26
Call for testing: OpenSSH 8.0
Hi,
OpenSSH 8.0p1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is also available via git using the
instructions at