Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 1/1] add ssh option FingerprintHash
- X-seq: zsh-workers 36000
- From: Christian Hesse <list@xxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: [PATCH 1/1] add ssh option FingerprintHash
- Date: Wed, 5 Aug 2015 22:55:32 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>, Christian Hesse <mail@xxxxxxxx>
- Dkim-filter: OpenDKIM Filter v2.9.2 mx.mylinuxtime.de 797E424E19
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eworm.de; s=mail; t=1438808145; bh=9qOoPFPWKF3N8cFRKFRWRXJnxhM+a/zjbYuKBoofGuA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=0B226nSok5tpOldZOniQYNjMnJffb0F7th0OAFkUmTqSVZNwhh1lLap6EgSDTCuMs li2O7YhGSe51DLQZ/Es1jKChcNQzCJf8Tz+5c3+vZHCBeiqM4Wr7N/LeRilLHJRAU8 BkvxdrhHyzk9xsNguUsk4c3hvHGLDsKnQ5u+h2zY=
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUZFRFENy6KVTKEd23CiGHeqofJvrX4+vdHgItOAAAACXBIWXMAAA3XAAAN1wFCKJt4AAACUklEQVQ4y2VUTZeqMAxNxXG2Io5uGd64L35unbF9ax0b3OLxgFs4PcLff0lBHeb1QIq5uelNCEJNq/TIFGyeC+iugH0WJr+B1MvzWASpuP4CYHOB0VfoDdddwA7OIFQIEHjXDiCtV5e9QX0WMu8AG0mB7g7WP4GqeqVdsi4vv/5kFBvaF/zD7zDquL4DxbrDGDyAsgNYOsJOYzth4Q9ZF6iLV+6TLAT1pi2kuvgAtZxSjoG8cL+8vIn251uoe1OOEWwbIPU04gHsmMsoxyyhYsD2FdIigF1yxaVbBuSOCAlCoX324I7wNMhrO1bhOLsRoA6DC6wQ5eQiSG5BiWQfM4gN+uItQTRDMaJUhVbGyKWCuaaUGSVFVKpl4PdoDn3yY8J+YxQxyhlHfoYOyPgyDcO+cSQK6Bvabjcy2nwRo3pxgA8jslnCuYw23ESOzHAPYwo4ITNQMaOO+RGPEGhSlPEZBh2jmBEjQ5cKbxmr0ruAe/WCriUxW76I8T3h7vqY5VR5wXLdERodg2rHEzdxxk5KpXTL4FwnarvndKM5/MWDY5CuBBdQ+3/0ivsUJHicuHd+Xh3jOdBL+FjSGq4SPCwco+orpWlERRTNo7BHCvbNXFVSIQMp+P5QsIL9upmr8kMTUOfxEHoanwzKRcNAe76WbjBwex/RkdHu48xT5YqP70DaMOhBcTHmAVDxLaBdle93oJy1QKFUh2GXT4am+YH/GGel1CeI98GdMXsytjCKIq/9cMrlgxFCROv+3/BU1fijNpcVD6DxE8VfLBaxUGr1D5usgDYdjwiPAAAAAElFTkSuQmCC
- In-reply-to: <CAHYJk3QF86_VkMGAwePxeQJRw+KG3CtGS3=EktwJDNzcRtzowQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1438800074-16795-1-git-send-email-list@eworm.de> <CAHYJk3QF86_VkMGAwePxeQJRw+KG3CtGS3=EktwJDNzcRtzowQ@mail.gmail.com>
Mikael Magnusson <mikachu@xxxxxxxxx> on Wed, 2015/08/05 21:38:
> On Wed, Aug 5, 2015 at 8:41 PM, Christian Hesse <list@xxxxxxxx> wrote:
> > From: Christian Hesse <mail@xxxxxxxx>
> >
> > Signed-off-by: Christian Hesse <mail@xxxxxxxx>
> > ---
> > Completion/Unix/Command/_ssh | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
> > index fb8fe57..b7b7e41 100644
> > --- a/Completion/Unix/Command/_ssh
> > +++ b/Completion/Unix/Command/_ssh
> > @@ -219,6 +219,10 @@ _ssh () {
> > _message -e 'escape character (or `none'\'')'
> > ret=0
> > ;;
> > + (#i)fingerprinthash=*)
> > + _values 'fingerprint hash algorithm' \
> > + md5 ripemd160 sha1 sha256 sha384 sha512 && ret=0
>
> Not sure how I missed that one, thanks. My manpage only lists md5 and
> sha256 as options, is it out of date?
Oh, no... The same here. man ssh_config(5) from OpenSSH 6.9 lists md5 and
sha256 only.
I looked at the source code to find all possible algorithm. Not sure why...
Probably because man ssh(1) lists the options, but no possible values.
I've sent a patch to the openssh mailing list [0] to update ssh_config.5.
Usually some time goes by until you get a response there... Until that
happens - do we want to match documentation or code?
[0]
http://lists.mindrot.org/pipermail/openssh-unix-dev/2015-August/034275.html
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
Attachment:
pgphPDUeG6Ger.pgp
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author