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

Bug#509058: openssh-client: ssh-keygen does not read from stdin



Package: openssh-client
Version: 1:5.1p1-4
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reading from stdin is either broken or not properly supported in
ssh-keygen.  It appears that ssh-keygen will read from a file
redirection, but not from a pipeline:

servo:/tmp/cdtemp.laHoFb 0$ ssh-keygen -l -f id_rsa.pub 
1024 23:ff:58:10:19:b6:5d:4f:c9:92:28:00:57:2c:5a:c8 id_rsa.pub (RSA)
servo:/tmp/cdtemp.laHoFb 0$ ssh-keygen -l -f /dev/stdin <id_rsa.pub 
1024 23:ff:58:10:19:b6:5d:4f:c9:92:28:00:57:2c:5a:c8 /dev/stdin (RSA)
servo:/tmp/cdtemp.laHoFb 0$ cat id_rsa.pub | ssh-keygen -l -f /dev/stdin
/dev/stdin is not a public key file.
servo:/tmp/cdtemp.laHoFb 1$ 

This bug has been reported upstream (bug 1477), but I thought it would
be prudent to report it here as well, as this is a feature I would
really like to see working.

jamie.

[0] https://bugzilla.mindrot.org/show_bug.cgi?id=1477

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser               3.110              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  dpkg                  1.14.23            Debian package management system
ii  libc6                 2.7-16             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libedit2              2.11~20080614-1    BSD editline and history libraries
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libncurses5           5.6+20080830-2     shared libraries for terminal hand
ii  libssl0.9.8           0.9.8g-14          SSL shared libraries
ii  passwd                1:4.1.1-6          change and administer password and
ii  zlib1g                1:1.2.3.3.dfsg-12  compression library - runtime

Versions of packages openssh-client recommends:
ii  openssh-blacklist             0.4.1      list of default blacklisted OpenSS
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.3-2  X authentication utility

Versions of packages openssh-client suggests:
ii  gtk-led-askpass [ssh-askpass 0.10-2      GTK+ password dialog suitable for 
pn  keychain                     <none>      (no description available)
pn  libpam-ssh                   <none>      (no description available)
ii  ssh-askpass                  1:1.2.4.1-7 under X, asks user for a passphras

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBAgAGBQJJSXhKAAoJEO00zqvie6q8heQP/R0gJ8q9AOCSfQAzfOyrTrWv
hu0+kjNNg7SrgOqSKtbbAlc2EtEfG3T6FfoN0pJrWm6/D+OOb/NpDIKsaTa17sNd
koIMZlqzlJPcltb1f+M0xiLycFZZ0X61VVZqHtH8UcfKfYaMql5xZrRP54zaaBnp
VGnVnij5Ds9Lcd3TY7UHrTV8V7Wsr5Bb+TiLqW7j3XnsyVbEoMucNTM0WN/JUN1Z
sh8fDR2OG1mk24R2Fu1dtvdSYKwFGMdcXTpN9cdydU3i/R3pgRZwga5z10HL8bcJ
cQ66K1SGf7utNST10q5nKgvyv+Tg3RTRtPlXJuNwtYO9OREBeSLevAjcaprrBTGs
K7k7APcumoPU4R5tCslJQwwASPiH1Tr52AHDE0BR33ivieVdkZQOpe+PKssTLwKl
z8mCOBLJeyAcWDL/28QggG/l78x+wCxWffaQeGlL52P8tOmb228aiIrLbKVmx9EG
0B0UCq57ciosOt+vQbzmRJ07p2nerS91VW0eJ/Vp1Zu7HfyiIcnX0M/ncxf1gWAE
LEuaY/1/s0zbyLHTnFRrNLDe+zdZlashwTLPWasskfvFUakmkNInCa7Yd9CJlOft
Z2k02xzOxMuphryrTjOh1U1oJeunaqbiAaViR1ha2amPD7dXlfEuu06W9dNPHoh2
YKGJZjJaJuvKtx5bwk+g
=9huF
-----END PGP SIGNATURE-----



Reply to: