Your message dated Tue, 30 Dec 2025 09:35:02 +0000
with message-id <[email protected]>
and subject line Bug#1123071: fixed in python-pyspnego 0.10.2-3
has caused the Debian Bug report #1123071,
regarding python3-pyspnego: Deprecation warning when using python module
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1123071: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123071
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pyspnego
Version: 0.10.2-2
Severity: minor
X-Debbugs-Cc: [email protected]
Hi,
I'm using this module in the context of ansible, where I control a
Windows machine via winrm. When using this module, I get a rather noisy
deprecation warning on any task I call against the VM:
$ ansible -m win_ping win11test
[WARNING]: WorkerProcess for [win11test/TASK: win_ping] errantly sent data
directly to stderr instead of using Display:
/usr/lib/python3/dist-packages/spnego/_ntlm_raw/crypto.py:46:
CryptographyDeprecationWarning: ARC4 has been moved to
cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from
this module in 48.0.0.
arc4 = algorithms.ARC4(self._key)
win11test | SUCCESS => {
"changed": false,
"ping": "pong"
}
This can trivially be fixed by updating the import similar to what
upstream merged:
https://github.com/jborean93/pyspnego/pull/87/files#diff-79833740d82004c75cf28de2e216fb0b0c11f7a271470f9a9503bb374e85ba4fR36
For testing/unstable just packaging the latest should suffice.
If you don't have the time I'm happy to prepare an upload to fix it in
trixie.
Greets,
Lee
-- System Information:
Debian Release: 13.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.57+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pyspnego depends on:
ii python3 3.13.5-1
ii python3-cryptography 43.0.0-3
ii python3-gssapi 1.9.0-1+b2
python3-pyspnego recommends no packages.
python3-pyspnego suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-pyspnego
Source-Version: 0.10.2-3
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-pyspnego, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-pyspnego package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 30 Dec 2025 10:12:47 +0100
Source: python-pyspnego
Architecture: source
Version: 0.10.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1123071
Changes:
python-pyspnego (0.10.2-3) unstable; urgency=medium
.
* Fix cryptography import (Closes: #1123071).
Checksums-Sha1:
6427e6f976c684624d50ad8579ebda97e0ca0f66 2293 python-pyspnego_0.10.2-3.dsc
1db56f3735a533a578de9f447f1984497a5ada16 3056
python-pyspnego_0.10.2-3.debian.tar.xz
05b30d639df8cec9a26df28a7e1a04541d33df8d 8299
python-pyspnego_0.10.2-3_amd64.buildinfo
Checksums-Sha256:
7e0113a18936d6ef1aab987e83ee477cc62b7971be2488b17069a9ca36f156db 2293
python-pyspnego_0.10.2-3.dsc
392c7d46b8ff66cabea3899d7259f44a9a9e746e62bdc8fd152398b649529361 3056
python-pyspnego_0.10.2-3.debian.tar.xz
ca674da90b4b722bb92684b82bd5999fbe721579bdee172268a8192566a832d0 8299
python-pyspnego_0.10.2-3_amd64.buildinfo
Files:
243e3ccfe8e87b412d67945c082b0394 2293 python optional
python-pyspnego_0.10.2-3.dsc
c2e6f144bca0f684c7cdba43947436f5 3056 python optional
python-pyspnego_0.10.2-3.debian.tar.xz
42781a6541c2dfb08b8cc3f4c3b69c30 8299 python optional
python-pyspnego_0.10.2-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmlTmDAACgkQ1BatFaxr
Q/5LGA//Y1LJsl4Jo9gxzOoO3QPE7wpHGD0sytl2vjvtbZnDYBcTbTIt31yBoxpO
XpC+K/UkeNz6SL04ZwgxZartR1WjawsKqt4prcH45zxojqVFfDhnNN4rxl5cTR2F
6M1gqQX1bG66c6IrrEi9Y5eGzTiixXa39wbI1NXb2KPtWOgK7gvsxOitFj22MgOK
gdU+aGUSiBoGKWYrg+OBtcR/R+tJ67R0lxFmNr+7hjep6vUteiWmLcDKaB8C+VSW
H1BN8TWBR8G1HHXyv7wLKDUB87qJIMUs2ViVuy6FWrPZIOpJn+C5d0w6wFWHUcBS
i+LAK6Q797P+Wg4CjJu4TvSb+TYUIo67X1WfFkVoN8gHOvUD5rwE5XzHz89jBVAr
MOIXmo3sNDntrUQCMBoF6UBcT8vVqjSeluj8rhI05tndx5odCO6hLlZ4doFjpAcJ
+bZHRGcWDmkd3a1HzH7X6qR9MwJOtvCuZ5PE+FRBBWrGLkrEe1wqUT9ek4pX9c4b
DLC4rKSlBjfruU8nW91ia2Mevk4SXeYHWH6lxUoIR7pzYSYXrd0IzzZFIm3PNHNw
xny/QeFT2hD0KKGot/aTIhljZKA0MsAQD416c2JcRqHCtBQEREB9JsVRTfgxzqRG
+4iwvgozA/x6VlWxVfdbAVb9HTphGgjQDOS4fXNuga0P1WE4Aps=
=/w/k
-----END PGP SIGNATURE-----
pgpYR979Y6oMS.pgp
Description: PGP signature
--- End Message ---