This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
seek, locate and destroy direct imports of pynacl #12325
Labels
good first issue
Good for newcomers
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
For reasons,
signedjson
generates instances of pynacl's SigningKey and VerifyKey and then monkey patches newalg
andversion
attributes onto them.We (Synapse) never use pynacl directly as far as I can see. There are a number of type hint instances which refer to
nacl.*
when they should instead refer tosignedjson.types.*
.I think we should
(Ideally, signedjson would have its own types/classes etc rather than resort to monkeypatching. But one thing at a time.)
Crossref: #12324.
inspiration
The text was updated successfully, but these errors were encountered: