Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/python-asyncssh.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1684338544.679293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e9f8e2331e73415d82c559a8d71bb2a5', '-D', '/var/lib/mock/rhel+epel-9-s390x-1684338544.679293/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/python-asyncssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1655164800 Wrote: /builddir/build/SRPMS/python-asyncssh-2.9.0-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/python-asyncssh.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1684338544.679293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '241f942e1abb416dad339a43eff4d061', '-D', '/var/lib/mock/rhel+epel-9-s390x-1684338544.679293/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ljiivwwt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/python-asyncssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1655164800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8nxqhT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asyncssh-2.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/asyncssh-2.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd asyncssh-2.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/tcp-fwd-test-fix.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.khcEOY + umask 022 + cd /builddir/build/BUILD + cd asyncssh-2.9.0 + sed -i '1,1s@^#!.*$@#!/usr/bin/python3@' examples/callback_client.py examples/callback_client2.py examples/callback_client3.py examples/callback_math_server.py examples/chat_server.py examples/check_exit_status.py examples/chroot_sftp_server.py examples/direct_client.py examples/direct_server.py examples/editor.py examples/gather_results.py examples/listening_client.py examples/local_forwarding_client.py examples/local_forwarding_client2.py examples/local_forwarding_server.py examples/math_client.py examples/math_server.py examples/redirect_input.py examples/redirect_local_pipe.py examples/redirect_remote_pipe.py examples/redirect_server.py examples/remote_forwarding_client.py examples/remote_forwarding_client2.py examples/remote_forwarding_server.py examples/reverse_client.py examples/reverse_server.py examples/scp_client.py examples/set_environment.py examples/set_terminal.py examples/sftp_client.py examples/show_environment.py examples/show_terminal.py examples/simple_cert_server.py examples/simple_client.py examples/simple_keyed_server.py examples/simple_scp_server.py examples/simple_server.py examples/simple_sftp_server.py examples/stream_direct_client.py examples/stream_direct_server.py examples/stream_listening_client.py + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/asyncssh copying asyncssh/mac.py -> build/lib/asyncssh copying asyncssh/asn1.py -> build/lib/asyncssh copying asyncssh/listener.py -> build/lib/asyncssh copying asyncssh/x11.py -> build/lib/asyncssh copying asyncssh/gss_win32.py -> build/lib/asyncssh copying asyncssh/scp.py -> build/lib/asyncssh copying asyncssh/eddsa.py -> build/lib/asyncssh copying asyncssh/agent_win32.py -> build/lib/asyncssh copying asyncssh/public_key.py -> build/lib/asyncssh copying asyncssh/editor.py -> build/lib/asyncssh copying asyncssh/sftp.py -> build/lib/asyncssh copying asyncssh/sk_ecdsa.py -> build/lib/asyncssh copying asyncssh/agent_unix.py -> build/lib/asyncssh copying asyncssh/process.py -> build/lib/asyncssh copying asyncssh/packet.py -> build/lib/asyncssh copying asyncssh/forward.py -> build/lib/asyncssh copying asyncssh/sk.py -> build/lib/asyncssh copying asyncssh/sk_eddsa.py -> build/lib/asyncssh copying asyncssh/agent.py -> build/lib/asyncssh copying asyncssh/dsa.py -> build/lib/asyncssh copying asyncssh/pbe.py -> build/lib/asyncssh copying asyncssh/ecdsa.py -> build/lib/asyncssh copying asyncssh/socks.py -> build/lib/asyncssh copying asyncssh/gss_unix.py -> build/lib/asyncssh copying asyncssh/saslprep.py -> build/lib/asyncssh copying asyncssh/keysign.py -> build/lib/asyncssh copying asyncssh/pkcs11.py -> build/lib/asyncssh copying asyncssh/kex_dh.py -> build/lib/asyncssh copying asyncssh/connection.py -> build/lib/asyncssh copying asyncssh/kex.py -> build/lib/asyncssh copying asyncssh/stream.py -> build/lib/asyncssh copying asyncssh/known_hosts.py -> build/lib/asyncssh copying asyncssh/kex_rsa.py -> build/lib/asyncssh copying asyncssh/pattern.py -> build/lib/asyncssh copying asyncssh/__init__.py -> build/lib/asyncssh copying asyncssh/session.py -> build/lib/asyncssh copying asyncssh/constants.py -> build/lib/asyncssh copying asyncssh/channel.py -> build/lib/asyncssh copying asyncssh/compression.py -> build/lib/asyncssh copying asyncssh/subprocess.py -> build/lib/asyncssh copying asyncssh/client.py -> build/lib/asyncssh copying asyncssh/rsa.py -> build/lib/asyncssh copying asyncssh/version.py -> build/lib/asyncssh copying asyncssh/config.py -> build/lib/asyncssh copying asyncssh/encryption.py -> build/lib/asyncssh copying asyncssh/server.py -> build/lib/asyncssh copying asyncssh/gss.py -> build/lib/asyncssh copying asyncssh/misc.py -> build/lib/asyncssh copying asyncssh/logging.py -> build/lib/asyncssh copying asyncssh/auth.py -> build/lib/asyncssh copying asyncssh/auth_keys.py -> build/lib/asyncssh creating build/lib/asyncssh/crypto copying asyncssh/crypto/umac.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/ed.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/kdf.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/dsa.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/cipher.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/ec_params.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/__init__.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/rsa.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/x509.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/chacha.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/ec.py -> build/lib/asyncssh/crypto copying asyncssh/crypto/misc.py -> build/lib/asyncssh/crypto copying asyncssh/py.typed -> build/lib/asyncssh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sC9069 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x ++ dirname /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x + cd asyncssh-2.9.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x running install running install_lib creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/py.typed -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh creating /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/misc.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/ec.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/chacha.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/x509.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/rsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/__init__.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/ec_params.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/cipher.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/dsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/kdf.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/ed.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/crypto/umac.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto copying build/lib/asyncssh/auth_keys.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/auth.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/logging.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/misc.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/gss.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/server.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/encryption.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/config.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/version.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/rsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/client.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/subprocess.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/compression.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/channel.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/constants.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/session.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/__init__.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/pattern.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/kex_rsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/known_hosts.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/stream.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/kex.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/connection.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/kex_dh.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/pkcs11.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/keysign.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/saslprep.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/gss_unix.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/socks.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/ecdsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/pbe.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/dsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/agent.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/sk_eddsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/sk.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/forward.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/packet.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/process.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/agent_unix.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/sk_ecdsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/sftp.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/editor.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/public_key.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/agent_win32.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/eddsa.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/scp.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/gss_win32.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/x11.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/listener.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/asn1.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh copying build/lib/asyncssh/mac.py -> /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/misc.py to misc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/ec.py to ec.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/chacha.py to chacha.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/x509.py to x509.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/rsa.py to rsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/ec_params.py to ec_params.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/cipher.py to cipher.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/dsa.py to dsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/kdf.py to kdf.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/ed.py to ed.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/crypto/umac.py to umac.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/auth_keys.py to auth_keys.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/auth.py to auth.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/logging.py to logging.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/misc.py to misc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/gss.py to gss.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/server.py to server.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/encryption.py to encryption.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/config.py to config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/version.py to version.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/rsa.py to rsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/client.py to client.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/subprocess.py to subprocess.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/compression.py to compression.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/channel.py to channel.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/constants.py to constants.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/session.py to session.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/pattern.py to pattern.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/kex_rsa.py to kex_rsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/known_hosts.py to known_hosts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/stream.py to stream.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/kex.py to kex.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/connection.py to connection.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/kex_dh.py to kex_dh.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/pkcs11.py to pkcs11.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/keysign.py to keysign.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/saslprep.py to saslprep.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/gss_unix.py to gss_unix.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/socks.py to socks.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/ecdsa.py to ecdsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/pbe.py to pbe.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/dsa.py to dsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/agent.py to agent.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/sk_eddsa.py to sk_eddsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/sk.py to sk.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/forward.py to forward.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/packet.py to packet.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/process.py to process.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/agent_unix.py to agent_unix.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/sk_ecdsa.py to sk_ecdsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/sftp.py to sftp.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/editor.py to editor.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/public_key.py to public_key.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/agent_win32.py to agent_win32.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/eddsa.py to eddsa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/scp.py to scp.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/gss_win32.py to gss_win32.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/x11.py to x11.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/listener.py to listener.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/asn1.py to asn1.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh/mac.py to mac.cpython-39.pyc writing byte-compilation script '/tmp/tmpqygnl201.py' /usr/bin/python3 /tmp/tmpqygnl201.py removing /tmp/tmpqygnl201.py running install_egg_info running egg_info writing asyncssh.egg-info/PKG-INFO writing dependency_links to asyncssh.egg-info/dependency_links.txt writing requirements to asyncssh.egg-info/requires.txt writing top-level names to asyncssh.egg-info/top_level.txt reading manifest file 'asyncssh.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'asyncssh.egg-info/SOURCES.txt' Copying asyncssh.egg-info to /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9/site-packages/asyncssh-2.9.0-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.9.0-5.el9 --unique-debug-suffix -2.9.0-5.el9.s390x --unique-debug-src-base python-asyncssh-2.9.0-5.el9.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/asyncssh-2.9.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.u4GLJ5 + umask 022 + cd /builddir/build/BUILD + cd asyncssh-2.9.0 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing asyncssh.egg-info/PKG-INFO writing dependency_links to asyncssh.egg-info/dependency_links.txt writing requirements to asyncssh.egg-info/requires.txt writing top-level names to asyncssh.egg-info/top_level.txt reading manifest file 'asyncssh.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'asyncssh.egg-info/SOURCES.txt' running build_ext ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR test_attrs (tests.test_sftp._TestSFTPAttrs) Test encoding and decoding of SFTP attributes ... ok test_illegal_attrs (tests.test_sftp._TestSFTPAttrs) Test decoding illegal SFTP attributes value ... ok ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR test_encryption_algs (tests.test_encryption._TestEncryption) Unit test encryption algorithms ... ok test_unavailable_cipher (tests.test_encryption._TestEncryption) Test registering encryption that uses an unavailable cipher ... ok ERROR test_bidi (tests.test_saslprep._TestSASLPrep) Test passing strings with bidirectional characters ... ok test_map_to_nothing (tests.test_saslprep._TestSASLPrep) Test passing strings with characters that map to nothing ... ok test_map_to_whitespace (tests.test_saslprep._TestSASLPrep) Test passing strings with characters that map to whitespace ... ok test_nonstring (tests.test_saslprep._TestSASLPrep) Test passing a non-string value ... ok test_normalization (tests.test_saslprep._TestSASLPrep) Test Unicode normalization form KC conversions ... ok test_prohibited (tests.test_saslprep._TestSASLPrep) Test passing strings with prohibited characters ... ok test_unassigned (tests.test_saslprep._TestSASLPrep) Test passing strings with unassigned code points ... ok test_asn1 (tests.test_asn1._TestASN1) Unit test ASN.1 module ... ok ERROR test_mac_algs (tests.test_mac._TestMAC) Unit test MAC algorithms ... ok test_umac_wrapper (tests.test_mac._TestMAC) Unit test some unused parts of the UMAC wrapper code ... skipped 'umac not available' test_cert_authority_with_subject (tests.test_auth_keys._TestAuthorizedKeys) Test error when cert-authority is used with subject ... ok test_errors (tests.test_auth_keys._TestAuthorizedKeys) Test various authorized key parsing errors ... ok test_file (tests.test_auth_keys._TestAuthorizedKeys) Test reading authorized keys from file ... ok test_matches (tests.test_auth_keys._TestAuthorizedKeys) Test authorized keys matching ... ok test_non_root_ca (tests.test_auth_keys._TestAuthorizedKeys) Test error on non-root X.509 CA ... ok test_options (tests.test_auth_keys._TestAuthorizedKeys) Test authorized keys returned option values ... ok test_subject_match (tests.test_auth_keys._TestAuthorizedKeys) Test match on X.509 subject name ... ok test_subject_option_match (tests.test_auth_keys._TestAuthorizedKeys) Test match on X.509 subject in options ... ok test_subject_option_mismatch (tests.test_auth_keys._TestAuthorizedKeys) Test failed match on X.509 subject in options ... ok test_append_string (tests.test_config._TestClientConfig) Test appending a string config option to a list ... ok test_append_string_list (tests.test_config._TestClientConfig) Test appending multiple string config options to a list ... ok test_blank_and_comment (tests.test_config._TestClientConfig) Test blank and comment lines ... ok test_client_errors (tests.test_config._TestClientConfig) Test client config errors ... ok test_config_disabled (tests.test_config._TestClientConfig) Test config loading being disabled ... ok test_config_list (tests.test_config._TestClientConfig) Test reading multiple config files ... ok test_equals (tests.test_config._TestClientConfig) Test config option with equals instead of space ... ok test_errors (tests.test_config._TestClientConfig) Test config errors ... ok test_get_compression_algs (tests.test_config._TestClientConfig) Test getting compression algorithms ... ok test_host_key_alias (tests.test_config._TestClientConfig) Test setting HostKeyAlias ... ok test_include (tests.test_config._TestClientConfig) Test include config option ... ok test_invalid_percent_expansion (tests.test_config._TestClientConfig) Test invalid percent expansion ... ok test_match_all (tests.test_config._TestClientConfig) Test a match block which always matches ... ok test_percent_expansion (tests.test_config._TestClientConfig) Test token percent expansion ... ok test_port_already_set (tests.test_config._TestClientConfig) Test that port is ignored if set outside of the config ... ok test_set_address_family (tests.test_config._TestClientConfig) Test address family config option ... ok test_set_and_match_hostname (tests.test_config._TestClientConfig) Test setting and matching hostname ... ok test_set_and_match_user (tests.test_config._TestClientConfig) Test setting and matching user ... ok test_set_bool (tests.test_config._TestClientConfig) Test boolean config option ... ok test_set_int (tests.test_config._TestClientConfig) Test integer config option ... ok test_set_rekey_limit (tests.test_config._TestClientConfig) Test rekey limit config option ... ok test_set_remote_command (tests.test_config._TestClientConfig) Test setting a remote command ... ok test_set_request_tty (tests.test_config._TestClientConfig) Test pseudo-terminal request config option ... ok test_set_string (tests.test_config._TestClientConfig) Test string config option ... ok test_set_string_list (tests.test_config._TestClientConfig) Test string list config option ... ok test_set_string_none (tests.test_config._TestClientConfig) Test string config option ... ok test_uid_percent_expansion (tests.test_config._TestClientConfig) Test UID token percent expansion where available ... ok test_unknown (tests.test_config._TestClientConfig) Test unknown config option ... ok test_user_already_set (tests.test_config._TestClientConfig) Test that user is ignored if set outside of the config ... ok test_client_options (tests.test_config._TestOptions) Test client connection options ... ok test_server_options (tests.test_config._TestOptions) Test server connection options ... ok test_blank_and_comment (tests.test_config._TestServerConfig) Test blank and comment lines ... ok test_config_disabled (tests.test_config._TestServerConfig) Test config loading being disabled ... ok test_config_list (tests.test_config._TestServerConfig) Test reading multiple config files ... ok test_equals (tests.test_config._TestServerConfig) Test config option with equals instead of space ... ok test_errors (tests.test_config._TestServerConfig) Test config errors ... ok test_get_compression_algs (tests.test_config._TestServerConfig) Test getting compression algorithms ... ok test_include (tests.test_config._TestServerConfig) Test include config option ... ok test_match_address (tests.test_config._TestServerConfig) Test matching on client address ... ok test_match_all (tests.test_config._TestServerConfig) Test a match block which always matches ... ok test_match_local_address (tests.test_config._TestServerConfig) Test matching on local address ... ok test_match_local_port (tests.test_config._TestServerConfig) Test matching on local port ... ok test_match_user (tests.test_config._TestServerConfig) Test matching on user ... ok test_reload (tests.test_config._TestServerConfig) Test update of match options ... ok test_set_address_family (tests.test_config._TestServerConfig) Test address family config option ... ok test_set_bool (tests.test_config._TestServerConfig) Test boolean config option ... ok test_set_int (tests.test_config._TestServerConfig) Test integer config option ... ok test_set_rekey_limit (tests.test_config._TestServerConfig) Test rekey limit config option ... ok test_set_string (tests.test_config._TestServerConfig) Test string config option ... ok test_unknown (tests.test_config._TestServerConfig) Test unknown config option ... ok test_auth (tests.test_sk._TestSKAuthCTAP1) Test authenticating with a CTAP 1 security key ... skipped 'security key support not available' test_auth_ctap1_error (tests.test_sk._TestSKAuthCTAP1) Test security key returning a CTAP 1 error ... skipped 'security key support not available' test_enroll_ctap1_error (tests.test_sk._TestSKAuthCTAP1) Test generating key returning a CTAP 1 error ... skipped 'security key support not available' test_sk_unsupported_alg (tests.test_sk._TestSKAuthCTAP1) Test unsupported security key algorithm ... skipped 'security key support not available' test_auth (tests.test_sk._TestSKAuthCTAP2) Test authenticating with a CTAP 2 security key ... skipped 'security key support not available' test_auth_ctap2_error (tests.test_sk._TestSKAuthCTAP2) Test security key returning a CTAP 2 error ... skipped 'security key support not available' test_enroll_ctap2_error (tests.test_sk._TestSKAuthCTAP2) Test generating key returning a CTAP 2 error ... skipped 'security key support not available' test_enroll_pin_invalid (tests.test_sk._TestSKAuthCTAP2) Test generating key while providing invalid PIN ... skipped 'security key support not available' test_enroll_pin_required (tests.test_sk._TestSKAuthCTAP2) Test generating key without providing a required PIN ... skipped 'security key support not available' test_enroll_with_pin (tests.test_sk._TestSKAuthCTAP2) Test generating key with a PIN ... skipped 'security key support not available' test_enroll_without_pin (tests.test_sk._TestSKAuthCTAP2) Test generating key without a PIN ... skipped 'security key support not available' test_enroll_key_not_found (tests.test_sk._TestSKAuthKeyNotFound) Test generating key with no security key found ... skipped 'security key support not available' test_auth_cred_not_found (tests.test_sk._TestSKAuthMultipleKeys) Test authenticating with security credential not found ... skipped 'security key support not available' test_koad_resident_user_match (tests.test_sk._TestSKAuthResidentKeys) Test loading resident keys matching a specific user ... skipped 'security key support not available' test_load_resident (tests.test_sk._TestSKAuthResidentKeys) Test loading resident keys ... skipped 'security key support not available' test_load_resident_ctap2_error (tests.test_sk._TestSKAuthResidentKeys) Test getting resident keys returning a CTAP 2 error ... skipped 'security key support not available' test_load_resident_no_match (tests.test_sk._TestSKAuthResidentKeys) Test loading resident keys with no user match ... skipped 'security key support not available' test_load_resident_pin_invalid (tests.test_sk._TestSKAuthResidentKeys) Test getting resident keys while providing invalid PIN ... skipped 'security key support not available' test_load_resident_user_match (tests.test_sk._TestSKAuthResidentKeys) Test loading resident keys matching a specific user ... skipped 'security key support not available' test_no_resident_keys (tests.test_sk._TestSKAuthResidentKeys) Test retrieving empty list of resident keys ... skipped 'security key support not available' test_pin_not_set (tests.test_sk._TestSKAuthResidentKeys) Test getting resident keys from a key with no configured PIN ... skipped 'security key support not available' test_auth_without_touch (tests.test_sk._TestSKAuthTouchNotRequired) Test authenticating with a security key without touch ... skipped 'security key support not available' test_auth_touch_required (tests.test_sk._TestSKAuthTouchRequiredECDSA) Test auth failing with a security key not providing touch ... skipped 'security key support not available' test_cert_auth_cert_touch_not_required (tests.test_sk._TestSKCertAuthTouchNotRequired) Test authenticating with a security key cert not requiring touch ... skipped 'security key support not available' test_cert_auth_cert_touch_required (tests.test_sk._TestSKCertAuthTouchNotRequired) Test cert auth failing with a security key cert requiring touch ... skipped 'security key support not available' test_cert_auth_cert_touch_required (tests.test_sk._TestSKCertAuthTouchRequired) Test cert auth failing with a security key cert requiring touch ... skipped 'security key support not available' test_cert_auth_touch_required (tests.test_sk._TestSKCertAuthTouchRequired) Test cert auth failing with a security key requiring touch ... skipped 'security key support not available' test_sk_host_auth (tests.test_sk._TestSKHostAuth) Test a server using a security key as a host key ... skipped 'security key support not available' test_sk_host_auth (tests.test_sk._TestSKHostCertAuth) Test a server host using a security key host certificate ... skipped 'security key support not available' test_pause_async_file_reader (tests.test_process._TestAsyncFileRedirection) Test pausing and resuming reading from an aiofile ... skipped 'Async file I/O not available' test_stdin_aiofile (tests.test_process._TestAsyncFileRedirection) Test with stdin redirected to an aiofile ... skipped 'Async file I/O not available' test_stdin_binary_aiofile (tests.test_process._TestAsyncFileRedirection) Test with stdin redirected to an aiofile in binary mode ... skipped 'Async file I/O not available' test_stdout_aiofile (tests.test_process._TestAsyncFileRedirection) Test with stdout redirected to an aiofile ... skipped 'Async file I/O not available' test_stdout_binary_aiofile (tests.test_process._TestAsyncFileRedirection) Test with stdout redirected to an aiofile in binary mode ... skipped 'Async file I/O not available' ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR test_bytes (tests.test_known_hosts._TestKnownHosts) Test match against byte string ... ok test_callable (tests.test_known_hosts._TestKnownHosts) Test match using callable ... ok test_file (tests.test_known_hosts._TestKnownHosts) Test match against file ... ok test_incomplete_hash (tests.test_known_hosts._TestKnownHosts) Test for line with incomplete host hash ... ok test_invalid_hash (tests.test_known_hosts._TestKnownHosts) Test for line with invalid host hash ... ok test_invalid_key (tests.test_known_hosts._TestKnownHosts) Test for line with invaid key ... ok test_invalid_marker (tests.test_known_hosts._TestKnownHosts) Test for line with invaid marker ... ok test_match (tests.test_known_hosts._TestKnownHosts) Test known host matching ... ok test_missing_key (tests.test_known_hosts._TestKnownHosts) Test for line with missing key data ... ok test_missing_key_with_tag (tests.test_known_hosts._TestKnownHosts) Test for line with tag with missing key data ... ok test_no_addr (tests.test_known_hosts._TestKnownHosts) Test match without providing addr ... ok test_no_match (tests.test_known_hosts._TestKnownHosts) Test for cases where no match is found ... ok test_no_port (tests.test_known_hosts._TestKnownHosts) Test match without providing port ... ok test_scoped_addr (tests.test_known_hosts._TestKnownHosts) Test match on scoped addresses ... ok test_tuple (tests.test_known_hosts._TestKnownHosts) Test passing already constructed tuple of keys ... ok test_unknown_hash_type (tests.test_known_hosts._TestKnownHosts) Test for line with unknown host hash type ... ok test_client_auth_methods (tests.test_auth._TestAuth) Test client auth methods ... ok test_gss_auth (tests.test_auth._TestAuth) Unit test GSS authentication ... ok test_hostbased_auth (tests.test_auth._TestAuth) Unit test host-based authentication ... ERROR test_kbdint_auth (tests.test_auth._TestAuth) Unit test keyboard-interactive authentication ... ok test_null_auth (tests.test_auth._TestAuth) Unit test null authentication ... ok test_password_auth (tests.test_auth._TestAuth) Unit test password authentication ... ok test_publickey_auth (tests.test_auth._TestAuth) Unit test public key authentication ... ERROR test_server_auth_methods (tests.test_auth._TestAuth) Test server auth methods ... ok test_curve25519dh_errors (tests.test_kex._TestKex) Unit test error conditions in Curve25519DH key exchange ... ok test_curve448dh_errors (tests.test_kex._TestKex) Unit test error conditions in Curve448DH key exchange ... ok test_dh_errors (tests.test_kex._TestKex) Unit test error conditions in DH key exchange ... ok test_dh_gex (tests.test_kex._TestKex) Unit test old DH group exchange request ... test_dh_gex_errors (tests.test_kex._TestKex) Unit test error conditions in DH group exchange ... ok test_dh_gex_old (tests.test_kex._TestKex) Unit test old DH group exchange request ... test_ecdh_errors (tests.test_kex._TestKex) Unit test error conditions in ECDH key exchange ... ok test_gss_errors (tests.test_kex._TestKex) Unit test error conditions in GSS key exchange ... ok test_key_exchange_algs (tests.test_kex._TestKex) Unit test key exchange algorithms ... test_rsa_errors (tests.test_kex._TestKex) Unit test error conditions in RSA key exchange ... ok test_packet (tests.test_packet._TestPacket) Unit test SSH packet module ... ok test_unicode (tests.test_packet._TestPacket) Unit test encoding of UTF-8 string ... ok ERROR test_add_keys_failure (tests.test_agent._TestAgent) Test failure adding keys to the agent ... ok test_add_nonlocal (tests.test_agent._TestAgent) Test failure when adding a non-local key to an agent ... ok test_add_remove_keys (tests.test_agent._TestAgent) Test adding and removing keys ... ok test_add_remove_smartcard_keys (tests.test_agent._TestAgent) Test adding and removing smart card keys ... ok test_add_sk_keys (tests.test_agent._TestAgent) Test adding U2F security keys ... skipped 'security key support not available' test_confirm (tests.test_agent._TestAgent) Test confirmation of key ... ERROR test_connection (tests.test_agent._TestAgent) Test opening a connection to the agent ... ok test_connection_failed (tests.test_agent._TestAgent) Test failure in opening a connection to the agent ... ok test_double_close (tests.test_agent._TestAgent) Test calling close more than once on the agent ... ok test_errors (tests.test_agent._TestAgent) Test getting error responses from SSH agent ... ok test_get_keys (tests.test_agent._TestAgent) Test getting keys from the agent ... ok test_get_sk_keys (tests.test_agent._TestAgent) Test getting U2F security keys ... skipped 'security key support not available' test_lock (tests.test_agent._TestAgent) Test lock and unlock ... ERROR test_no_auth_sock (tests.test_agent._TestAgent) Test failure when no auth sock is set ... ok test_query_extensions (tests.test_agent._TestAgent) Test query of supported extensions ... ok test_reconnect (tests.test_agent._TestAgent) Test reconnecting to the agent after closing it ... ERROR test_set_certificate (tests.test_agent._TestAgent) Test setting certificate on an existing keypair ... ERROR test_sign (tests.test_agent._TestAgent) Test signing a block of data using the agent ... ERROR test_unknown_key (tests.test_agent._TestAgent) Test failure when signing with an unknown key ... ok test_load_keys (tests.test_pkcs11._TestPKCS11Auth) Test loading keys and certs from PKCS#11 tokens ... skipped 'pkcs11 support not available' test_load_keys_without_certs (tests.test_pkcs11._TestPKCS11Auth) Test loading keys without certs from PKCS#11 tokens ... skipped 'pkcs11 support not available' test_match_key_id (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 key id ... skipped 'pkcs11 support not available' test_match_key_id_bytes (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 key id as bytes ... skipped 'pkcs11 support not available' test_match_key_label (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 key label ... skipped 'pkcs11 support not available' test_match_token_label (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 token label ... skipped 'pkcs11 support not available' test_match_token_serial (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 token serial number ... skipped 'pkcs11 support not available' test_match_token_serial_bytes (tests.test_pkcs11._TestPKCS11Auth) Test matching on PKCS#11 token serial number as bytes ... skipped 'pkcs11 support not available' test_pkcs11_auth (tests.test_pkcs11._TestPKCS11Auth) Test authenticating with PKCS#11 token ... skipped 'pkcs11 support not available' test_pkcs11_load_keys (tests.test_pkcs11._TestPKCS11Auth) Test authenticating with explicitly loaded PKCS#11 keys ... skipped 'pkcs11 support not available' test_pkcs11_with_replaced_cert (tests.test_pkcs11._TestPKCS11Auth) Test authenticating with a PKCS#11 with replaced cert ... skipped 'pkcs11 support not available' test_key_not_found (tests.test_pkcs11._TestPKCS11TokenNotFound) Test PKCS#11 with no token found ... skipped 'pkcs11 support not available' test_compression_algs (tests.test_compression.TestCompression) Unit test compression algorithms ... ok test_keys (tests.test_public_key.TestDSA) Check keys and certificates ... Error running command: ssh-keygen -e -f certout -m rfc4716 > cert @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'certout' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "certout": bad permissions Error running command: ssh-keygen -e -f certout -m rfc4716 > cert @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'certout' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "certout": bad permissions Error running command: ssh-keygen -e -f usercert -m rfc4716 > cert @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'usercert' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "usercert": bad permissions Error running command: ssh-keygen -i -f certout -m rfc4716 > cert do_convert_from_ssh2: parse key: error in libcrypto Error running command: ssh-keygen -e -f hostcert -m rfc4716 > cert @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'hostcert' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "hostcert": bad permissions Error running command: ssh-keygen -i -f certout -m rfc4716 > cert do_convert_from_ssh2: parse key: error in libcrypto test_keys (tests.test_public_key.TestECDSA) Check keys and certificates ... ok test_keys (tests.test_public_key.TestEd25519) Check keys and certificates ... ok test_keys (tests.test_public_key.TestEd448) Check keys and certificates ... ok test_keys (tests.test_public_key.TestRSA) Check keys and certificates ... test_keys (tests.test_public_key.TestSKECDSA) Check keys and certificates ... skipped 'security key support not available' test_keys (tests.test_public_key.TestSKEd25519) Check keys and certificates ... skipped 'security key support not available' test_ec_explicit (tests.test_public_key._TestPublicKeyTopLevel) Test EC certificate with explcit parameters ... ok test_ec_explicit_unknown (tests.test_public_key._TestPublicKeyTopLevel) Import EC key with unknown explicit parameters ... ok test_generate_errors (tests.test_public_key._TestPublicKeyTopLevel) Test errors in private key and certificate generation ... ok test_pad_error (tests.test_public_key._TestPublicKeyTopLevel) Test for missing RFC 1423 padding on PBE decrypt ... ok test_public_key (tests.test_public_key._TestPublicKeyTopLevel) Test public key top-level functions ... ok test_public_key_algorithm_mismatch (tests.test_public_key._TestPublicKeyTopLevel) Test algorihm mismatch in SSH public key ... ok test_rsa_decrypt_error (tests.test_public_key._TestPublicKeyTopLevel) Test RSA decryption error ... ok test_rsa_encrypt_error (tests.test_public_key._TestPublicKeyTopLevel) Test RSA encryption error ... ok test_x509_certificate_hashes (tests.test_public_key._TestPublicKeyTopLevel) Test X.509 certificate hash algorithms ... ERROR test_comment (tests.test_x509._TestX509) Test X.509 certificate generation with comment ... ok test_exact_name_pattern (tests.test_x509._TestX509) Test X.509 distinguished name exact match ... ok test_expired_intermediate (tests.test_x509._TestX509) Test failed validation of expired X.509 intermediate CA ... ok test_expired_self (tests.test_x509._TestX509) Test failed validation of expired X.509 certificate ... ok test_generate (tests.test_x509._TestX509) Test X.509 certificate generation ... ok test_generate_ca (tests.test_x509._TestX509) Test X.509 CA certificate generation ... ok test_host_principal_match (tests.test_x509._TestX509) Test validation of host principal ... ok test_host_principal_mismatch (tests.test_x509._TestX509) Test failed validation due to host principal mismatch ... ok test_host_principals (tests.test_x509._TestX509) Test X.509 certificate generation with host principals ... ok test_incomplete_chain (tests.test_x509._TestX509) Test failed validation of incomplete X.509 certificate chain ... ok test_invalid_attribute (tests.test_x509._TestX509) Test X.509 distinguished name with invalid attributes ... ok test_multiple_attrs_in_rdn (tests.test_x509._TestX509) Test multiple attributes in a relative distinguished name ... ok test_name (tests.test_x509._TestX509) Test X.509 distinguished name generation ... ok test_not_yet_valid_self (tests.test_x509._TestX509) Test failed validation of not-yet-valid X.509 certificate ... ok test_prefix_pattern (tests.test_x509._TestX509) Test X.509 distinguished name prefix match ... ok test_principal_in_common_name (tests.test_x509._TestX509) Test X.509 certificate generation with user principals ... ok test_purpose_mismatch (tests.test_x509._TestX509) Test failed validation due to purpose mismatch ... ok test_serial (tests.test_x509._TestX509) Test X.509 certificate generation with serial number ... ok test_unknown_hash (tests.test_x509._TestX509) Test X.509 certificate generation with unknown hash ... ok test_untrusted_self (tests.test_x509._TestX509) Test failed validation of untrusted X.509 self-signed certificate ... ok test_user_principal_match (tests.test_x509._TestX509) Test validation of user principal ... ok test_user_principal_mismatch (tests.test_x509._TestX509) Test failed validation due to user principal mismatch ... ok test_user_principals (tests.test_x509._TestX509) Test X.509 certificate generation with user principals ... ok test_valid_chain (tests.test_x509._TestX509) Test validation of X.509 certificate chain ... ok test_valid_self (tests.test_x509._TestX509) Test validation of X.509 self-signed certificate ... ok ====================================================================== ERROR: setUpClass (tests.test_forward._TestAsyncTCPForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_forward._TestAsyncUNIXForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_forward._TestSOCKSForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_forward._TestTCPForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_forward._TestUNIXForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSCP) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 4513, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSCPAsync) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 4513, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSCPAttrs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 4513, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSCPErrors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 4513, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSCPIOError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 4513, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTP) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPAsync) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPCallable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPChown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPChroot) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPEOFDuringCopy) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPFileType) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPIOError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPLargeListDir) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPLongname) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPNonstandardSymlink) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPNotImplemented) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPOpenError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPReadEOFWithAttrs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPServerProperties) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPSmallBlockSize) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPStatVFS) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_sftp._TestSFTPUnknownError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_sftp.py", line 605, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_stream._TestStream) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_x11._TestX11) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_x11.py", line 268, in setUpClass super().setUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_process._TestProcessBasic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_process._TestProcessPipes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_process._TestProcessRedirection) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_process._TestProcessSocketPair) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_subprocess._TestSubprocess) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestCallbackHostBasedAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestClientLoginTimeout) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestGSSAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestGSSFQDN) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestGSSServerAuthDisabled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestGSSServerError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestHostBasedAsyncServerAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestHostBasedAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestKbdintAsyncServerAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestKbdintAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestKbdintPasswordServerAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestKeysignHostBasedAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestLimitedHostBasedSignatureAlgs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestLimitedPublicKeySignatureAlgs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestNullAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPasswordAsyncServerAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPasswordAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPreloadedAuthorizedKeys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPreloadedAuthorizedKeysFileList) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPublicKeyAsyncServerAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestPublicKeyAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestServerLoginTimeoutDisabled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestServerLoginTimeoutExceeded) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestSetAuthorizedKeys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestX509Auth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestX509AuthDisabled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestX509Disabled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestX509Subject) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection_auth._TestX509Untrusted) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_channel._TestChannel) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_channel._TestChannelNoAgentForwarding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_channel._TestChannelNoPTY) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnection) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionAbort) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionAsyncAcceptor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionKeepalive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionReverse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionReverseAsyncAcceptor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionReverseFailed) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestConnectionServerCerts) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestCustomClientVersion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestCustomServerVersion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestDuringAuth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestExpiredServerHostCertificate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestHostKeyAlias) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_connection.py", line 1958, in asyncSetUpClass await super().asyncSetUpClass() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestInvalidAuthBanner) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestListenerContextManager) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestReverseDNS) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestServerInternalError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestServerNoHostKey) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestServerWithoutCert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestServerX509Chain) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_connection._TestServerX509Self) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorDisabled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorEncodingNone) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorOutputWrap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorRegisterKey) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorSoftEOF) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_editor._TestEditorUnlimitedLength) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_hostbased_auth (tests.test_auth._TestAuth) Unit test host-based authentication ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_auth.py", line 518, in test_hostbased_auth cert = hkey.generate_host_certificate(hkey, 'host') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 803, in generate_host_certificate return self._generate_certificate(host_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_publickey_auth (tests.test_auth._TestAuth) Unit test public key authentication ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_auth.py", line 542, in test_publickey_auth cert = ckey.generate_user_certificate(ckey, 'name') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex (tests.test_kex._TestKex) [Old DH group exchange] (size=b'1024-1536') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 303, in test_dh_gex await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex (tests.test_kex._TestKex) [Old DH group exchange] (size=b'1536-3072') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 303, in test_dh_gex await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex (tests.test_kex._TestKex) [Old DH group exchange] (size=b'2560-2560') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 303, in test_dh_gex await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex (tests.test_kex._TestKex) [Old DH group exchange] (size=b'2560-4096') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 303, in test_dh_gex await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex (tests.test_kex._TestKex) [Old DH group exchange] (size=b'9216-9216') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 303, in test_dh_gex await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex_old (tests.test_kex._TestKex) [Old DH group exchange] (size=b'1024') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 283, in test_dh_gex_old await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_dh_gex_old (tests.test_kex._TestKex) [Old DH group exchange] (size=b'2048') Unit test old DH group exchange request ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 283, in test_dh_gex_old await self._check_kex(b'dh-gex-sha1-' + size) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'curve25519-sha256') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'curve25519-sha256@libssh.org') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'curve448-sha512') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'ecdh-sha2-nistp521') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'ecdh-sha2-nistp384') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'ecdh-sha2-nistp256') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'ecdh-sha2-1.3.132.0.10') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group-exchange-sha256') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group-exchange-sha224@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group-exchange-sha384@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group-exchange-sha512@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group-exchange-sha1') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group14-sha256') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group15-sha512') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group16-sha512') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group17-sha512') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group18-sha512') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group14-sha256@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group14-sha224@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group15-sha256@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group15-sha384@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group16-sha384@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group16-sha512@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group18-sha512@ssh.com') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group14-sha1') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'diffie-hellman-group1-sha1') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'rsa2048-sha256') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_rsa.py", line 141, in _process_secret sig = host_key.sign(h) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'rsa1024-sha1') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_rsa.py", line 141, in _process_secret sig = host_key.sign(h) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-1024-1536') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-1536-3072') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-2560-2560') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-2560-4096') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-9216-9216') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-1024') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_key_exchange_algs (tests.test_kex._TestKex) (alg=b'dh-gex-sha1-2048') Unit test key exchange algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 258, in test_key_exchange_algs await self._check_kex(alg) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 242, in _check_kex self.assertEqual((await client_conn.get_key()), File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 95, in get_key return await self._key_waiter File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 227, in _run_task await coro File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 265, in _process_packets self.process_packet(data) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_kex.py", line 78, in process_packet self._kex.process_packet(pkttype, None, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/packet.py", line 237, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 267, in _process_init self._perform_reply(host_key, host_key.public_data) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/kex_dh.py", line 237, in _perform_reply self._send_reply(key_data, key.sign(h)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 2226, in sign return self._key.sign(data, self.sig_algorithm) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: setUpClass (tests.test_logging._TestLogging) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 368, in setUpClass cls.loop.run_until_complete(cls.asyncSetUpClass()) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/server.py", line 121, in asyncSetUpClass ckey_cert = ckey.generate_user_certificate(ckey, 'name', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_confirm (tests.test_agent._TestAgent) Test confirmation of key ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 52, in agent_wrapper await func(self, agent) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 392, in test_confirm sig = await agent_key.sign_async(b'test') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 172, in sign_async return await self._agent.sign(self.key_public_data, data, self._flags) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 312, in sign raise ValueError('Unable to sign with requested key') ValueError: Unable to sign with requested key ====================================================================== ERROR: test_lock (tests.test_agent._TestAgent) Test lock and unlock ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 52, in agent_wrapper await func(self, agent) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 414, in test_lock sig = await agent_key.sign_async(b'test') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 172, in sign_async return await self._agent.sign(self.key_public_data, data, self._flags) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 312, in sign raise ValueError('Unable to sign with requested key') ValueError: Unable to sign with requested key ====================================================================== ERROR: test_reconnect (tests.test_agent._TestAgent) Test reconnecting to the agent after closing it ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 52, in agent_wrapper await func(self, agent) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 233, in test_reconnect sig = await agent_key.sign_async(b'test') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 172, in sign_async return await self._agent.sign(self.key_public_data, data, self._flags) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 312, in sign raise ValueError('Unable to sign with requested key') ValueError: Unable to sign with requested key ====================================================================== ERROR: test_set_certificate (tests.test_agent._TestAgent) Test setting certificate on an existing keypair ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 52, in agent_wrapper await func(self, agent) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 200, in test_set_certificate cert = key.generate_user_certificate(key, 'name') File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_sign (tests.test_agent._TestAgent) Test signing a block of data using the agent ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 81, in async_wrapper return self.loop.run_until_complete(coro(self, *args, **kwargs)) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 52, in agent_wrapper await func(self, agent) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_agent.py", line 186, in test_sign await agent.add_keys([(key, cert)]) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/agent.py", line 393, in add_keys raise ValueError('Unable to add key') ValueError: Unable to add key ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export OpenSSH user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1668, in check_openssh_certificate self.export_openssh_certificate(CERT_TYPE_USER, self.usercert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 726, in export_openssh_certificate run('ssh-keygen -e -f certout -m rfc4716 > cert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -e -f certout -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export OpenSSH host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1674, in check_openssh_certificate self.export_openssh_certificate(CERT_TYPE_HOST, self.hostcert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 726, in export_openssh_certificate run('ssh-keygen -e -f certout -m rfc4716 > cert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -e -f certout -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import RFC4716 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1689, in check_rfc4716_certificate self.import_rfc4716_certificate(CERT_TYPE_USER, 'usercert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 765, in import_rfc4716_certificate run('ssh-keygen -e -f %s -m rfc4716 > cert' % cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -e -f usercert -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export RFC4716 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1692, in check_rfc4716_certificate self.export_rfc4716_certificate(CERT_TYPE_USER, self.usercert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 782, in export_rfc4716_certificate run('ssh-keygen -i -f certout -m rfc4716 > cert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -i -f certout -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import RFC4716 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1695, in check_rfc4716_certificate self.import_rfc4716_certificate(CERT_TYPE_HOST, 'hostcert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 765, in import_rfc4716_certificate run('ssh-keygen -e -f %s -m rfc4716 > cert' % cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -e -f hostcert -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export RFC4716 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1698, in check_rfc4716_certificate self.export_rfc4716_certificate(CERT_TYPE_HOST, self.hostcert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 782, in export_rfc4716_certificate run('ssh-keygen -i -f certout -m rfc4716 > cert') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/util.py", line 192, in run return subprocess.check_output(cmd, shell=True, File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'ssh-keygen -i -f certout -m rfc4716 > cert' returned non-zero exit status 255. ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import DER X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1704, in check_der_x509_certificate self.import_der_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 794, in import_der_x509_certificate self.check_certificate(cert_type, 'der') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export DER X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1707, in check_der_x509_certificate self.export_der_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 804, in export_der_x509_certificate self.check_certificate(cert_type, 'der') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import DER X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1710, in check_der_x509_certificate self.import_der_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 794, in import_der_x509_certificate self.check_certificate(cert_type, 'der') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export DER X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1713, in check_der_x509_certificate self.export_der_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 804, in export_der_x509_certificate self.check_certificate(cert_type, 'der') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import PEM X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1719, in check_pem_x509_certificate self.import_pem_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 825, in import_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export PEM X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1722, in check_pem_x509_certificate self.export_pem_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 835, in export_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import PEM X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1725, in check_pem_x509_certificate self.import_pem_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 825, in import_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export PEM X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1728, in check_pem_x509_certificate self.export_pem_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 835, in export_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import PEM X.509 trusted user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1731, in check_pem_x509_certificate self.import_pem_x509_certificate(CERT_TYPE_USER, self.userx509, File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 825, in import_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import PEM X.509 trusted host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1735, in check_pem_x509_certificate self.import_pem_x509_certificate(CERT_TYPE_HOST, self.hostx509, File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 825, in import_pem_x509_certificate self.check_certificate(cert_type, 'pem') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import OpenSSH X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1742, in check_openssh_x509_certificate self.import_openssh_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 841, in import_openssh_x509_certificate self.check_certificate(cert_type, 'openssh') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export OpenSSH X.509 user certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1745, in check_openssh_x509_certificate self.export_openssh_x509_certificate(CERT_TYPE_USER, self.userx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 851, in export_openssh_x509_certificate self.check_certificate(cert_type, 'openssh') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Import OpenSSH X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1748, in check_openssh_x509_certificate self.import_openssh_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 841, in import_openssh_x509_certificate self.check_certificate(cert_type, 'openssh') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestDSA) [Export OpenSSH X.509 host certificate] (alg_name='ssh-dss') Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 1751, in check_openssh_x509_certificate self.export_openssh_x509_certificate(CERT_TYPE_HOST, self.hostx509) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 851, in export_openssh_x509_certificate self.check_certificate(cert_type, 'openssh') File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 418, in check_certificate self.validate_x509(cert) File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 221, in validate_x509 self.assertIsNone(cert.validate_chain([], [self.rootx509], [], 'any', File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1928, in validate_chain self.x509_cert.validate([c.x509_cert for c in trust_store], File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 312, in validate raise ValueError(str(exc)) from None ValueError: [7, 0, 'certificate signature failure'] ====================================================================== ERROR: test_keys (tests.test_public_key.TestRSA) (alg_name='ssh-rsa', key_size=1024) Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 2016, in test_keys self.usercert = self.privca.generate_user_certificate( File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_keys (tests.test_public_key.TestRSA) (alg_name='ssh-rsa', key_size=2048) Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 2016, in test_keys self.usercert = self.privca.generate_user_certificate( File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_keys (tests.test_public_key.TestRSA) (alg_name='ssh-rsa', key_size=3072) Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 2016, in test_keys self.usercert = self.privca.generate_user_certificate( File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_keys (tests.test_public_key.TestRSA) (alg_name='ssh-rsa', exponent=3) Check keys and certificates ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 2016, in test_keys self.usercert = self.privca.generate_user_certificate( File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 746, in generate_user_certificate return self._generate_certificate(user_key, version, serial, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 347, in _generate_certificate return cert_handler.generate(self, algorithm, key, serial, cert_type, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1593, in generate data += String(signing_key.sign(data, signing_key.algorithm)) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 557, in sign self.sign_ssh(data, sig_algorithm))) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/rsa.py", line 242, in sign_ssh return String(self._key.sign(data, _hash_algs[sig_algorithm])) File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/rsa.py", line 134, in sign return priv_key.sign(data, PKCS1v15(), hashes[hash_name]()) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ====================================================================== ERROR: test_x509_certificate_hashes (tests.test_public_key._TestPublicKeyTopLevel) Test X.509 certificate hash algorithms ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.9.0/tests/test_public_key.py", line 2346, in test_x509_certificate_hashes cert = privkey.generate_x509_user_certificate( File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 875, in generate_x509_user_certificate return self._generate_x509_certificate(user_key, subject, issuer, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 389, in _generate_x509_certificate return SSHX509Certificate.generate(self, key, subject, issuer, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/public_key.py", line 1890, in generate x509_cert = generate_x509_certificate(signing_key.pyca_key, File "/builddir/build/BUILD/asyncssh-2.9.0/asyncssh/crypto/x509.py", line 408, in generate_x509_certificate cert = builder.sign(cast(PyCAPrivateKey, signing_key), hash_alg) File "/usr/lib64/python3.9/site-packages/cryptography/x509/base.py", line 881, in sign return rust_x509.create_x509_certificate(self, private_key, algorithm) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 501, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 244, in _rsa_sig_sign pkey_ctx = _rsa_sig_setup( File "/usr/lib64/python3.9/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 213, in _rsa_sig_setup raise UnsupportedAlgorithm( cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ---------------------------------------------------------------------- Ran 216 tests in 353.509s FAILED (errors=170, skipped=51) Test failed: error: Test failed: Processing files: python3-asyncssh-2.9.0-5.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Yisvzi Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aEs3Sx Provides: python-asyncssh = 2.9.0-5.el9 python3-asyncssh = 2.9.0-5.el9 python3.9-asyncssh = 2.9.0-5.el9 python3.9dist(asyncssh) = 2.9 python3dist(asyncssh) = 2.9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 python3.9dist(cryptography) >= 2.8 python3.9dist(typing-extensions) >= 3.6 Obsoletes: python-asyncssh < 2.9.0-5.el9 python39-asyncssh < 2.9.0-5.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x + : + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd asyncssh-2.9.0 + DOCDIR=/builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/doc/python3-asyncssh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/doc/python3-asyncssh + cp -pr README.rst /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/doc/python3-asyncssh + cp -pr examples /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/doc/python3-asyncssh + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd asyncssh-2.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/licenses/python3-asyncssh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/licenses/python3-asyncssh + cp -pr LICENSE /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/licenses/python3-asyncssh + cp -pr COPYRIGHT /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x/usr/share/licenses/python3-asyncssh + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/RPMS/python3-asyncssh-2.9.0-5.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j8pMem + umask 022 + cd /builddir/build/BUILD + cd asyncssh-2.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-asyncssh-2.9.0-5.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0