Bugzilla – Attachment 3274 Details for
Bug 3003
[PATCH] ssh-keygen does not print ASCII art fingerprint of knonw_hosts entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against current CVS version
ssh-keygen.patch (text/plain), 664 bytes, created by
Ville Sinisalo
on 2019-05-05 08:56:26 AEST
(
hide
)
Description:
patch against current CVS version
Filename:
MIME Type:
Creator:
Ville Sinisalo
Created:
2019-05-05 08:56:26 AEST
Size:
664 bytes
patch
obsolete
>--- ssh-keygen.c 2019-05-05 01:19:30.917826766 +0300 >+++ ssh-keygen.patched.c 2019-05-05 01:31:36.781161367 +0300 >@@ -1187,8 +1187,14 @@ > known_hosts_hash(l, ctx); > else if (print_fingerprint) { > fp = sshkey_fingerprint(l->key, fptype, rep); >+ ra = sshkey_fingerprint(l->key, fingerprint_hash, SSH_FP_RANDOMART); >+ if (fp == NULL || ra == NULL) >+ fatal("%s: sshkey_fingerprint failed", __func__); > mprintf("%s %s %s %s\n", ctx->host, > sshkey_type(l->key), fp, l->comment); >+ if (log_level_get() >= SYSLOG_LEVEL_VERBOSE) >+ printf("%s\n", ra); >+ free(ra); > free(fp); > } else > fprintf(ctx->out, "%s\n", l->line);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3003
:
3274
|
3275
|
3276
|
3289