- _OID_NAMES was moved to a different module by [1].
- default_backend() is silently ignored, so should be dropped[2].
- The new Rust backend does not accept mocked private keys
which caused failures with invalid private keys for tests.
[1]: 7b5634911c
[2]: https://cryptography.io/en/latest/faq/#faq-missing-backend
In RDO we are building wallaby on CentOS Stream which ships cryptography 36.0.1. It fails whithout this patch.
Change-Id: I44407703fbcf2da97c29a28043520c781ef4c3b2
(cherry picked from commit 0bf324278a)