mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
- grunk@cvs.openbsd.org 2008/06/12 21:14:46
[ssh-keygen.c] make ssh-keygen -lf show the key type just as ssh-add -l would do it ok djm@ markus@
This commit is contained in:
parent
babc1d5f73
commit
b68fb4ad21
@ -129,6 +129,10 @@
|
|||||||
[clientloop.c]
|
[clientloop.c]
|
||||||
I was coalescing expected global request confirmation replies at
|
I was coalescing expected global request confirmation replies at
|
||||||
the wrong end of the queue - fix; prompted by markus@
|
the wrong end of the queue - fix; prompted by markus@
|
||||||
|
- grunk@cvs.openbsd.org 2008/06/12 21:14:46
|
||||||
|
[ssh-keygen.c]
|
||||||
|
make ssh-keygen -lf show the key type just as ssh-add -l would do it
|
||||||
|
ok djm@ markus@
|
||||||
- (dtucker) [clientloop.c serverloop.c] channel_register_filter now
|
- (dtucker) [clientloop.c serverloop.c] channel_register_filter now
|
||||||
takes 2 more args. with djm@
|
takes 2 more args. with djm@
|
||||||
|
|
||||||
@ -4293,4 +4297,4 @@
|
|||||||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4990 2008/06/12 22:56:01 dtucker Exp $
|
$Id: ChangeLog,v 1.4991 2008/06/12 22:57:27 dtucker Exp $
|
||||||
|
12
ssh-keygen.c
12
ssh-keygen.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: ssh-keygen.c,v 1.169 2008/06/11 22:20:46 grunk Exp $ */
|
/* $OpenBSD: ssh-keygen.c,v 1.170 2008/06/12 21:14:46 grunk Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -525,7 +525,8 @@ do_fingerprint(struct passwd *pw)
|
|||||||
if (public != NULL) {
|
if (public != NULL) {
|
||||||
fp = key_fingerprint(public, fptype, rep);
|
fp = key_fingerprint(public, fptype, rep);
|
||||||
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
||||||
printf("%u %s %s\n", key_size(public), fp, comment);
|
printf("%u %s %s (%s)\n", key_size(public), fp, comment,
|
||||||
|
key_type(public));
|
||||||
if (log_level >= SYSLOG_LEVEL_VERBOSE)
|
if (log_level >= SYSLOG_LEVEL_VERBOSE)
|
||||||
printf("%s\n", ra);
|
printf("%s\n", ra);
|
||||||
key_free(public);
|
key_free(public);
|
||||||
@ -589,8 +590,8 @@ do_fingerprint(struct passwd *pw)
|
|||||||
comment = *cp ? cp : comment;
|
comment = *cp ? cp : comment;
|
||||||
fp = key_fingerprint(public, fptype, rep);
|
fp = key_fingerprint(public, fptype, rep);
|
||||||
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
||||||
printf("%u %s %s\n", key_size(public), fp,
|
printf("%u %s %s (%s)\n", key_size(public), fp,
|
||||||
comment ? comment : "no comment");
|
comment ? comment : "no comment", key_type(public));
|
||||||
if (log_level >= SYSLOG_LEVEL_VERBOSE)
|
if (log_level >= SYSLOG_LEVEL_VERBOSE)
|
||||||
printf("%s\n", ra);
|
printf("%s\n", ra);
|
||||||
xfree(ra);
|
xfree(ra);
|
||||||
@ -619,7 +620,8 @@ print_host(FILE *f, const char *name, Key *public, int hash)
|
|||||||
rep = print_bubblebabble ? SSH_FP_BUBBLEBABBLE : SSH_FP_HEX;
|
rep = print_bubblebabble ? SSH_FP_BUBBLEBABBLE : SSH_FP_HEX;
|
||||||
fp = key_fingerprint(public, fptype, rep);
|
fp = key_fingerprint(public, fptype, rep);
|
||||||
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
|
||||||
printf("%u %s %s\n%s\n", key_size(public), fp, name, ra);
|
printf("%u %s %s (%s)\n%s\n", key_size(public), fp, name,
|
||||||
|
key_type(public), ra);
|
||||||
xfree(ra);
|
xfree(ra);
|
||||||
xfree(fp);
|
xfree(fp);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user