[Python-modules-team] Bug#994192: python3-srs uses no longer existing base64 functions (fixed upstream)
neonknight
debian-bugs at neonknight.ch
Mon Sep 13 15:27:24 BST 2021
Package: python3-srs
Version: 1.0.3-2
Severity: normal
srs = SRS.new(secret='secret')
srs.forward('foo at example.org', 'srs.example.com')
[..]
File "/usr/lib/python3/dist-packages/SRS/Base.py", line 250, in hash_create
hash = base64.encodestring(h.digest())
AttributeError: module 'base64' has no attribute 'encodestring'
However, issue seems to be fixed upstream:
https://github.com/sdgathman/pysrs/blob/master/SRS/Base.py#L250
-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-srs depends on:
ii python3 3.9.2-3
Versions of packages python3-srs recommends:
ii pysrs-bin 1.0.3-2
ii python3-bsddb3 6.2.9-1
python3-srs suggests no packages.
More information about the Python-modules-team
mailing list