This repository was archived by the owner on Apr 20, 2025. It is now read-only.
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
Key Generation Unittest: Public and Private keys are assigned the wrong way around #188
Closed
Description
Most test cases in the tests.test_key.KeyGenTest
test class are like
priv, pub = rsa.key.newkeys(...)
but it should be
pub, priv = rsa.key.newkeys(...)
In most test cases this is not a problem since only some common aspects are tested, but it is still formally wrong and might introduce bugs in some cases.
Metadata
Metadata
Assignees
Labels
No labels