Description of problem: totpcgi currently has a runtime dependency on python3-crypto, which I maintain in Fedora. Upstream of this package (https://www.pycrypto.org/) has long since stopped maintaining it and I would like to drop it from Fedora. Upstream of totpcgi has already switched to python-pycryptodome (see requirements.txt) but this cannot currently be packaged in Fedora because it would conflict with python-crypto due to it using the same namespace. However, python-pycryptodomex, which uses the "Cryptodome" rather than the "Crypto" namespace is available in Fedora and could be used. To use pycryptodomex, all that should be necessary is to change (in totpcgi/utils.py): from Crypto.Cipher import AES to: from Cryptodome.Cipher import AES and change the dependency from python3-crypto to python3-pycryptodomex. Please consider applying such a change in Fedora so that python-crypto gets nearer to being able to be retired.
Sounds reasonable to me.
FEDORA-2022-d6ba154ab4 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d6ba154ab4
FEDORA-2022-d6ba154ab4 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.