Hello,

I can confirm that the autopkgtest does not pass the latest tinyssh version 
(20220222).
The problem is related to the openssh upgrade from 8.8 -> 8.9.

openssh-8.8p1# ./ssh test@127.0.0.1 "cat >/tmp/testfile2" < /tmp/testfile1 && 
echo OK || echo BAD
OK

openssh-8.9p1# ./ssh test@127.0.0.1 "cat >/tmp/testfile2" < /tmp/testfile1 && 
echo OK || echo BAD
client_loop: send disconnect: Broken pipe
BAD

"""
 tinysshd: VjEOjvCa: BUG:  (protocol error){sshcrypto_cipher_chachapoly.c:88}
"""
Tinyssh receives too large packet (32784 bytes), instead of maxpacket ( 32768 
bytes) and
immediately closes the connection.

I have to look deeper where the bug is, if in tinyssh or in openssh client.

Jan




> On 5. 3. 2022, at 13:04, Colin Watson <cjwat...@debian.org> wrote:
> 
> Package: tinyssh
> Version: 20190101-1
> Severity: important
> 
> tinyssh's autopkgtests are failing with OpenSSH 8.9 in unstable.  See
> e.g.:
> 
>  
> https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/t/tinyssh/20220226_180547_e244f@/log.gz
> 
>  autopkgtest [18:05:25]: test 06transfer: preparing testbed
>  Reading package lists...
>  Building dependency tree...
>  Reading state information...
>  Starting pkgProblemResolver with broken count: 0
>  Starting 2 pkgProblemResolver with broken count: 0
>  Done
>  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>  1 not fully installed or removed.
>  After this operation, 0 B of additional disk space will be used.
>  Setting up autopkgtest-satdep (0) ...
>  (Reading database ... 66551 files and directories currently installed.)
>  Removing autopkgtest-satdep (0) ...
>  autopkgtest [18:05:28]: test 06transfer: [-----------------------
>  1048576+0 records in
>  1048576+0 records out
>  1048576 bytes (1.0 MB, 1.0 MiB) copied, 2.42825 s, 432 kB/s
>  Warning: Permanently added '[127.0.0.1]:10000' (ED25519) to the list of 
> known hosts.
>  tinysshd: VjEOjvCa: BUG:  (protocol error){sshcrypto_cipher_chachapoly.c:88}
>  client_loop: send disconnect: Broken pipe
>  ssh transfer failed
>  autopkgtest [18:05:31]: test 06transfer: -----------------------]
>  autopkgtest [18:05:31]: test 06transfer:  - - - - - - - - - - results - - - 
> - - - - - - -
>  06transfer           FAIL non-zero exit status 1
> 
> I see that there's a new upstream release of tinyssh not yet in Debian,
> though I haven't checked whether that fixes this problem.  Do you need
> help with sponsorship?
> 
> -- 
> Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to