Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69545 - [john] python 3.9 - deprecated decodestring method was removed from base64 module

Attached to Project: Community Packages
Opened by Alexandre ZANNI (noraj) - Friday, 05 February 2021, 14:26 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 13:22 GMT
Task Type Bug Report
Category Upstream Bugs
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



Additional info:
* package version(s) 1.9.0.jumbo1-5
* link to upstream bug report:

Workaround to add in prepare():

sed 's/decodestring/decodebytes/' ""${srcdir}/run/"

Step to reproduce:

$ ssh2john ~/.ssh/id_rsa
Traceback (most recent call last):
File "/usr/bin/ssh2john", line 193, in <module>
File "/usr/bin/ssh2john", line 103, in read_private_key
data = base64.decodestring(data)
AttributeError: module 'base64' has no attribute 'decodestring'

More details in upstream bug report.
This task depends upon