[Pkg-libvirt-maintainers] Bug#928646: libguestfs-tools: virt-builder --ssh-inject does not accept public keys with cardno:NNNN
Elena ``of Valhalla''
valhalla at debian.org
Wed May 8 09:52:49 BST 2019
Package: libguestfs-tools
Version: 1:1.40.2-2
Severity: normal
Tags: upstream
Dear Maintainer,
I tried to create an image using ``virt-builder [various parameters]
--ssh-inject root:string:"$(ssh-add -L)"`` and a key whose secret part
is saved on a smartcard, and got an error:
virt-builder: error: invalid ssh-inject selector ‘string:ssh-rsa
AAAA[my public key] cardno:XXXXXXXXXXXX; see the man page
I tried again by copypasting the string itself and manually changing the
last bit to a fake user at host and it worked.
I think that keys in the former format should be supported as well.
Thanks,
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libguestfs-tools depends on:
ii curl 7.64.0-2
ii libc6 2.28-10
ii libconfig9 1.5-0.4
ii libfuse2 2.9.9-1
ii libguestfs-perl 1:1.40.2-2
ii libguestfs0 1:1.40.2-2
ii libintl-perl 1.26-2
ii libjansson4 2.12-1
ii liblzma5 5.2.4-1
ii libncurses6 6.1+20181013-2
ii libpcre3 2:8.39-12
ii libreadline7 7.0-5
ii libstring-shellquote-perl 1.04-1
ii libsys-virt-perl 5.0.0-1
ii libtinfo6 6.1+20181013-2
ii libvirt0 5.0.0-2
ii libwin-hivex-perl 1.3.18-1
ii libxml2 2.9.4+dfsg1-7+b3
Versions of packages libguestfs-tools recommends:
ii gnupg 2.2.12-1
libguestfs-tools suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list