summaryrefslogtreecommitdiffstats
path: root/src/tests/dejagnu/pkinit-certs
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2013-01-10 18:30:04 -0500
committerGreg Hudson <ghudson@mit.edu>2013-04-24 17:41:54 -0400
commitf42477d27dc4f6c482a23a8c29d416d830277d04 (patch)
tree66a2fce5d405a5a8513291b313c8d78124229045 /src/tests/dejagnu/pkinit-certs
parentb5d76a1b42673fa06d989b7795a79a59dda4d178 (diff)
downloadkrb5-f42477d27dc4f6c482a23a8c29d416d830277d04.tar.gz
krb5-f42477d27dc4f6c482a23a8c29d416d830277d04.tar.xz
krb5-f42477d27dc4f6c482a23a8c29d416d830277d04.zip
Add various client-authenticating PKINIT tests
Add tests for non-anonymous PKINIT: * FILE: with no password * FILE: with a password * DIR: with no password * DIR: with a password * PKCS12: with no password * PKCS12: with a password * PKCS11: with a password, if soft-pkcs11.so is found via ctypes [ghudson@mit.edu: reformatted to 79 columns; removed intermediate success() calls]
Diffstat (limited to 'src/tests/dejagnu/pkinit-certs')
-rw-r--r--src/tests/dejagnu/pkinit-certs/privkey-enc.pem30
-rw-r--r--src/tests/dejagnu/pkinit-certs/user-enc.p12bin0 -> 3029 bytes
-rw-r--r--src/tests/dejagnu/pkinit-certs/user.p12bin0 -> 3104 bytes
-rw-r--r--src/tests/dejagnu/pkinit-certs/user.pem32
4 files changed, 62 insertions, 0 deletions
diff --git a/src/tests/dejagnu/pkinit-certs/privkey-enc.pem b/src/tests/dejagnu/pkinit-certs/privkey-enc.pem
new file mode 100644
index 0000000000..9f7816f179
--- /dev/null
+++ b/src/tests/dejagnu/pkinit-certs/privkey-enc.pem
@@ -0,0 +1,30 @@
+-----BEGIN RSA PRIVATE KEY-----
+Proc-Type: 4,ENCRYPTED
+DEK-Info: DES-EDE3-CBC,91CA660D6286E453
+
+DpJ5bo/AN37NcxTNv0Z4d5YomWqyryqYhuA43FlzWWKubld4Gp+owAv5BUd4VLx7
+Efq23ODfuiuh5zna/ZXnY+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aWmRb3Y7i6jbVrh8d6KV
+xqLse0Vkaip4Lgf/VUWOTvlfHz9nLD0xR6OUPeQ3jxGdhLxmcYec1oRj1aVMlp6f
+PyC6TN+NlPEtv6KWWB9OMc420DGOWllvS5+zsm7Ff7/5TkXlWmlhfhrkyQVy8NOe
+/3ygPbpSfCFjJMwdbEX+ic/Qjk04f3CluP3FYiIG/Pd6ny6rclrhPHg08X6+sciU
+Rj7QtoFpVsDvde2QO0depdoysAG1j1a+sas2lYNPG8hdzbPe20xIJCmF0fWfdxOy
+BxxtKzpq46S8xKLfxAMvKrZNuZy5xhs3JMUjpxTIam7ZiQXd752LdzGx2s4CII6d
+mkeQ/d32TDACAxyEK8es4Mcm3IoCAq/NjIU/ICwGDeOmfDUpsV2TMrg+aKMKcwUE
+UK4bMXercw7Cs0C3o6mdCTFrTtsihHNTrbb7yyN83XK76niSc+LREbuJ8T0vp1Yh
+-----END RSA PRIVATE KEY-----
diff --git a/src/tests/dejagnu/pkinit-certs/user-enc.p12 b/src/tests/dejagnu/pkinit-certs/user-enc.p12
new file mode 100644
index 0000000000..107480c6d2
--- /dev/null
+++ b/src/tests/dejagnu/pkinit-certs/user-enc.p12
Binary files differ
diff --git a/src/tests/dejagnu/pkinit-certs/user.p12 b/src/tests/dejagnu/pkinit-certs/user.p12
new file mode 100644
index 0000000000..a7c2baddf6
--- /dev/null
+++ b/src/tests/dejagnu/pkinit-certs/user.p12
Binary files differ
diff --git a/src/tests/dejagnu/pkinit-certs/user.pem b/src/tests/dejagnu/pkinit-certs/user.pem
new file mode 100644
index 0000000000..e6beefcde7
--- /dev/null
+++ b/src/tests/dejagnu/pkinit-certs/user.pem
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFkjCCBHqgAwIBAgIIYo5oQQ6iySowDQYJKoZIhvcNAQEFBQAwgacxCzAJBgNV
+BAYTAlVTMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMRIwEAYDVQQHEwlDYW1icmlk
+Z2UxDD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