aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-09-07 11:22:51 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2019-09-06 22:22:51 -0500
commitb5b6bd13a22ee48eec55817867a2c8737addeee0 (patch)
treeb35fea98a38ef18daa097d88a496c2f2502eea0f /docs
parentca723c42d0e48c4a17aaed2505c2a5be80e1165f (diff)
downloadcryptography-b5b6bd13a22ee48eec55817867a2c8737addeee0.tar.gz
cryptography-b5b6bd13a22ee48eec55817867a2c8737addeee0.tar.bz2
cryptography-b5b6bd13a22ee48eec55817867a2c8737addeee0.zip
fix coverage by adding two artificial DSA public keys (#4984)
* fix coverage by adding two artificial DSA public keys One key removes the optional parameters from the structure to cover a branch conditional, and the other key has its BITSTRING padding value set to a non-zero value. * lexicographic? never heard of it
Diffstat (limited to 'docs')
-rw-r--r--docs/development/test-vectors.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index f4387215..7584881a 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -86,6 +86,11 @@ Custom asymmetric vectors
* ``asymmetric/PEM_Serialization/dsa_public_key.pem`` and
``asymmetric/DER_Serialization/dsa_public_key.der`` - Contains a DSA 2048 bit
key generated using OpenSSL from ``dsa_private_key.pem``.
+* ``asymmetric/DER_Serialization/dsa_public_key_no_params.der`` - Contains a
+ DSA public key with the optional parameters removed.
+* ``asymmetric/DER_Serialization/dsa_public_key_invalid_bit_string.der`` -
+ Contains a DSA public key with the bit string padding value set to 2 rather
+ than the required 0.
* ``asymmetric/PKCS8/unenc-dsa-pkcs8.pem`` and
``asymmetric/DER_Serialization/unenc-dsa-pkcs8.der`` - Contains a DSA 1024
bit key generated using OpenSSL.