zsh-workers
 help / color / mirror / code / Atom feed
From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 1/1] autocompletion: make ssh aware of ed25519
Date: Wed, 29 Jan 2014 13:02:02 -0500	[thread overview]
Message-ID: <20140129180202.GA88615@redoubt.spodhuis.org> (raw)
In-Reply-To: <20140129163922.GE27889@sym.noone.org>

On 2014-01-29 at 17:39 +0100, Axel Beckert wrote:
> On Wed, Jan 29, 2014 at 04:51:18PM +0100, Christian Neukirchen wrote:
> > Perhaps it would be better to parse the output of "ssh -Q cipher" and
> > "ssh -Q key", but "ssh -Q" is not supported by older versions of OpenSSH
> > (neither is ed25519 there...).
> 
> ed25519 is not yet supported by any released version of OpenSSH. It
> will be supported by the upcoming 6.5 release.

This is a suggestion without code/patch to back it up, so my voice
counts for very little, but ...

Perhaps a trade-off which avoids offering unusable completions to older
systems is to code for two modes: "ssh -Q supported" and "ssh -Q not
supported" and to _only_ statically configure in zsh's completion those
completion values which existed _before_ "ssh -Q" was added.  This
provides a finite bound to data-value churn in zsh's completion.

-Phil


      reply	other threads:[~2014-01-29 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29  8:14 Christian Hesse
2014-01-29 15:51 ` Christian Neukirchen
2014-01-29 16:39   ` Axel Beckert
2014-01-29 18:02     ` Phil Pennock [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140129180202.GA88615@redoubt.spodhuis.org \
    --to=zsh-workers+phil.pennock@spodhuis.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).