summaryrefslogtreecommitdiff
path: root/docs/development
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2023-01-05 20:41:22 +0800
committerGitHub <noreply@github.com>2023-01-05 07:41:22 -0500
commit2aaa272c1287b5750fdd0bbf9843d1e64daa4fed (patch)
tree0c4c2277ccb658d75463a59c1ed4dec51899628f /docs/development
parent8554696b7a2fe0f04d4db9e39e03db8b399d04fc (diff)
downloadcryptography-2aaa272c1287b5750fdd0bbf9843d1e64daa4fed.tar.gz
add ssh certificate test vectors (#7984)
Diffstat (limited to 'docs/development')
-rw-r--r--docs/development/test-vectors.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index 256ee9d9a..32e1f01c0 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -823,6 +823,27 @@ using command-line tools from OpenSSH_7.6p1 package.
Password-protected RSA-2048 private key and corresponding public key.
Password is "password".
+Custom OpenSSH Certificate Test Vectors
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* ``p256-p256-duplicate-extension.pub`` - A certificate with a duplicate
+ extension.
+* ``p256-p256-non-lexical-extensions.pub`` - A certificate with extensions
+ in non-lexical order.
+* ``p256-p256-duplicate-crit-opts.pub`` - A certificate with a duplicate
+ critical option.
+* ``p256-p256-non-lexical-crit-opts.pub`` - A certificate with critical
+ options in non-lexical order.
+* ``dsa-p256.pub`` - A certificate with a DSA public key signed by a P256
+ CA.
+* ``p256-dsa.pub`` - A certificate with a P256 public key signed by a DSA
+ CA.
+* ``p256-p256-broken-signature-key-type.pub`` - A certificate with a P256
+ public key signed by a P256 CA, but the signature key type is set to
+ ``rsa-sha2-512``.
+* ``p256-p256-empty-principals.pub`` - A certificate with a P256 public
+ key signed by a P256 CA with an empty valid principals list.
+
Hashes
~~~~~~