[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#234574: Can't load rsa keys in ssh-agent using ssh-add undergnome-terminal and locale set to UTF-8



severity 234574 wishlist
thanks

On Wed, Feb 25, 2004 at 01:40:56AM +0100, Christian Marillat wrote:
> reassign 234574 ssh
> retitle ssh: doesn't work if locale is changed to utf-8

When you fix the syntax of this control command, please use a less
misleading title. ssh itself quite clearly *does* work in UTF-8 locales
(for instance, I'm using it like that right now); this report is talking
about ssh-add and friends.

> Raphaël "\"SurcouF\" Bordet" <surcouf@choranche.grotte.org> writes:
> > Le mar 24/02/2004 à 23:36, Christian Marillat a écrit :
> >> Could you reply to my previous e-mail ? This bug is reproducible with
> >> xterm ? Do you have french characters in your passphrase ?
> >
> > Yes I can:
> > you're right: this bug is reproductible with xterm
> > and I have french characters in my passphrase.
> > So, this bug is not related to gnome-terminal, sorry.
> 
> Then does this mean that ssh need a --charset option like in gpg or it
> is a normal feature ? I reassign this bug to the ssh package.

Hmm. A --charset option would be a useful feature, I suppose. However,
you should be able to simulate this by setting the SSH_ASKPASS
environment variable to point to a script that looks something like this
(untested):

  #! /bin/sh
  set -e
  ssh-askpass | iconv -f UTF-8 -t ISO-8859-1

You can probably make that convert from the current LC_CTYPE with a
little more effort, too.

Of course, you can also use 'ssh-keygen -p' to change the passphrases of
your existing keys to whatever's convenient.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]




Reply to: