Package: dgit
Version: 12.6
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainer,
the "dgit push-source" command no longer works since I put an SSH
certificate authority in my /etc/ssh/known_hosts file. I've also set
"dgit-distro.debian.upload-host" to "ssh-upload" (which is the
default SFTP profile of dput).
Interestingly, invoking "dput ssh-upload foo_source.changes"
directly works just fine, which is why I assume that this must be
somehow related to the way dgit invokes dput.
Relevant snippet from "dgit push-source" output follows:
Uploading cmake using sftp to ssh-upload (host: ssh.upload.debian.org;
directory: /srv/upload.debian.org/UploadQueue/)
running allowed-distribution: check whether a local profile permits uploads to
the target distribution
running protected-distribution: warn before uploading to distributions where a
special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
Logging into host ssh.upload.debian.org as roehling
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/paramiko/hostkeys.py", line 357, in
from_line
key_bytes = decodebytes(b(key))
File "/usr/lib/python3.13/base64.py", line 579, in decodebytes
return binascii.a2b_base64(s)
~~~~~~~~~~~~~~~~~~~^^^
binascii.Error: Invalid base64-encoded string: number of data characters (17)
cannot be 1 more than a multiple of 4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/dput", line 129, in <module>
upload_package(changes, args)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dput/uploader.py", line 323, in
invoke_dput
with uploader(profile['method'], profile,
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
simulate=args.simulate) as obj:
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/dput/uploader.py", line 170, in uploader
obj.initialize()
~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/dput/uploaders/sftp.py", line 184, in
initialize
self._sshclient.load_system_host_keys(fpath)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/lib/python3/dist-packages/paramiko/client.py", line 107, in
load_system_host_keys
self._system_host_keys.load(filename)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3/dist-packages/paramiko/hostkeys.py", line 95, in load
entry = HostKeyEntry.from_line(line, lineno)
File "/usr/lib/python3/dist-packages/paramiko/hostkeys.py", line 359, in
from_line
raise InvalidHostKey(line, e)
paramiko.hostkeys.InvalidHostKey: ('@cert-authority * ecdsa-sha2-nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK9rv7ZVNmjiCVZ3NxgRqTsfhwZtAkWpCyGI0hTlvoSbosxb1/zW4Zc2XTk5RwWcXPgD5P0X56vi8IxZpX7AoE8=',
Error('Invalid base64-encoded string: number of data characters (17) cannot be
1 more than a multiple of 4'))
dgit: failed command: dput ssh-upload '../cmake_3.31.5-2~bpo12+1_source.changes'
Cheers
Timo
- -- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dgit depends on:
ii apt 2.9.28
ii ca-certificates 20241223
ii coreutils 9.5-1+b1
ii curl 8.12.0+git20250209.89ed161+ds-1
ii devscripts 2.25.2
ii dpkg-dev 1.22.15
ii dput-ng [dput] 1.40
ii git [git-core] 1:2.47.2-0.1
ii git-buildpackage 0.9.37
ii libdpkg-perl 1.22.15
ii libjson-perl 4.10000-1
ii liblist-moreutils-perl 0.430-2
ii liblocale-gettext-perl 1.07-7+b1
ii libtext-csv-perl 2.05-1
ii libtext-glob-perl 0.11-3
ii libtext-iconv-perl 1.7-8+b4
ii libwww-curl-perl 4.17-11
ii perl [libdigest-sha-perl] 5.40.0-8
ii python3 3.13.1-2
Versions of packages dgit recommends:
ii distro-info-data 0.63
ii liburi-perl 5.30-1
ii openssh-client [ssh-client] 1:9.9p1-3
Versions of packages dgit suggests:
ii sbuild 0.88.3
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmew/P0ACgkQzIxr3RQD
9Mo5BRAAmnqfHsLmXyqTelDFeCtmTqpvlITC5SaetzuEs3+ZukbS+Q3/VL02TKxU
kb8RtHVBOV+Y0o5lAKwMLi6pYPdE0XKNZpj5+SFt0i0+CI+Aa77BYxWMHTenVCdg
hrjLiDPC0u6yIgp1noMgCegDthzSGRh9UJqK6TFqNqaJI+JcdpzRiF4meN6V/8vk
qbulFcIAHF6EcxGhjd5ixb3ow6GKqFuini79OBoikgOMaLMiMujyl3xIndnIbwOD
Sr2RVoHKhMqoDHilRS30Hx4VfwojK33cisKa2NHnSmSL+Viho/U2c0kTen1NSMBi
Ruq93A4iACT2q4M3ga2vUwDOqE6MqEjXJQhivZ3YCLI/Hq5QPZITi1v9FR3u/hSx
wzDPdURgFdEydTVMAl76752CcThNKvIFE6WT1YZR+Xp9He37IDQ7AzvzOQILl5NJ
17UHdNMCh6QUKj8sLQz61xWCGE2H+D3r3eAWoTmJXl+uQU4OL/6ssUx1ywS38B+x
q6Y7aNRmCyYc4MgL6/vvjhlsvNM5Vjl/8BgFQFGlOUjLxEgreeU1pUVJJwfFDOZU
rl9YBwnzgQsDFgX9/ESSyyZozkK/hJMZlxLV27EUS4P/smZb+g5LFIDkCyzqwouE
UmDzp59bdEG1q0xOcsOGM7Jk5VxftI3obj5IcaqjrlvWOyOcY4c=
=0TwR
-----END PGP SIGNATURE-----