summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-24 10:24:45 -0800
committerUlf Wiger <ulf@feuerlabs.com>2015-11-28 19:58:36 -0800
commit47101ccbdf9b39cea7b52b6024b72f3b9a2c0a5d (patch)
tree08a092e8201d36d4e095a08ac3b1a931e9739618 /priv
parent93439bcb44644c5f91d142b68e3f321007e2ce0b (diff)
downloadrvi_core-47101ccbdf9b39cea7b52b6024b72f3b9a2c0a5d.tar.gz
Added sample keys, certificates, and credentials.
Diffstat (limited to 'priv')
-rw-r--r--priv/sample_certificates/insecure_device_cert.crt16
-rw-r--r--priv/sample_certificates/insecure_device_cert.csr12
-rw-r--r--priv/sample_certificates/insecure_root_cert.crt16
-rw-r--r--priv/sample_certificates/insecure_root_cert.csr12
-rw-r--r--priv/sample_credentials/insecure_credential.json16
-rw-r--r--priv/sample_credentials/insecure_credential.jwt1
-rw-r--r--priv/sample_keys/insecure_device_key.pem15
-rw-r--r--priv/sample_keys/insecure_root_key.pem16
8 files changed, 104 insertions, 0 deletions
diff --git a/priv/sample_certificates/insecure_device_cert.crt b/priv/sample_certificates/insecure_device_cert.crt
new file mode 100644
index 0000000..a83e5a6
--- /dev/null
+++ b/priv/sample_certificates/insecure_device_cert.crt
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE-----
+MIICdzCCAeACAQEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAlVTMQ8wDQYD
+VQQIDAZPcmVnb24xETAPBgNVBAcMCFBvcnRsYW5kMQ8wDQYDVQQKDAZHRU5JVkkx
+IzAhBgNVBAsMGlJlbW90ZSBWZWhpY2xlIEludGVyYWN0aW9uMRkwFwYDVQQDDBBz
+YW1wbGVfcm9vdF9jZXJ0MB4XDTE1MTEyNDAwMTEzNFoXDTE2MTEyMzAwMTEzNFow
+gYQxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZPcmVnb24xETAPBgNVBAcMCFBvcnRs
+YW5kMQ8wDQYDVQQKDAZHRU5JVkkxIzAhBgNVBAsMGlJlbW90ZSBWZWhpY2xlIElu
+dGVyYWN0aW9uMRswGQYDVQQDDBJzYW1wbGVfZGV2aWNlX2NlcnQwgZ8wDQYJKoZI
+hvcNAQEBBQADgY0AMIGJAoGBAMxHUClqNzftrjrv7k6sSAGEL3zehFd1xiSmPkdd
+Gs6N7RsZtdJoO6MCYTHwnHmGUBvaFXrMcAygWBlIlnxhB5uc8SL7z2Z3ikOCXC4w
+y41DqdxZ4X7ksEvTSqrB3YJ264sijmOr6maBSmCDtsNAIaL0QNPrSnF50D37OgVw
+E2bPAgMBAAEwDQYJKoZIhvcNAQELBQADgYEAtYCSVpW5K1cjPpGeYAa4AHzG+aXX
+Hiqn0ot9Ow9T7Q5NCO75cokGy5Hzvx3hakFaipaLFD/tp6kmmV5F/Pr+klVztaCL
+VlcMT7l6clEBtZXVmvWUXakoJoai/UufNrgohZSUHfSxUWYXh09jBiN5U+wdCGO4
+798AEUGs4m3Rfok=
+-----END CERTIFICATE-----
diff --git a/priv/sample_certificates/insecure_device_cert.csr b/priv/sample_certificates/insecure_device_cert.csr
new file mode 100644
index 0000000..92f0e83
--- /dev/null
+++ b/priv/sample_certificates/insecure_device_cert.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBxTCCAS4CAQAwgYQxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZPcmVnb24xETAP
+BgNVBAcMCFBvcnRsYW5kMQ8wDQYDVQQKDAZHRU5JVkkxIzAhBgNVBAsMGlJlbW90
+ZSBWZWhpY2xlIEludGVyYWN0aW9uMRswGQYDVQQDDBJzYW1wbGVfZGV2aWNlX2Nl
+cnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMxHUClqNzftrjrv7k6sSAGE
+L3zehFd1xiSmPkddGs6N7RsZtdJoO6MCYTHwnHmGUBvaFXrMcAygWBlIlnxhB5uc
+8SL7z2Z3ikOCXC4wy41DqdxZ4X7ksEvTSqrB3YJ264sijmOr6maBSmCDtsNAIaL0
+QNPrSnF50D37OgVwE2bPAgMBAAGgADANBgkqhkiG9w0BAQsFAAOBgQBpXK0r7oQH
+tjXONLZCgN9JLZo7fMzXZEHY/aDZj6Cmu/IzNjHf+XpKXs0+vVb7sal9+cyZyOpn
+fsi+7fOFXxexrJPHzMxeip9aqz3J2Khdba8x0IoxFsyQJgIZmWKrYZLa4S6PASN5
+4Vwf5x8w4xm0o0ohGkKUWycUkR46/stVfA==
+-----END CERTIFICATE REQUEST-----
diff --git a/priv/sample_certificates/insecure_root_cert.crt b/priv/sample_certificates/insecure_root_cert.crt
new file mode 100644
index 0000000..ddc95a5
--- /dev/null
+++ b/priv/sample_certificates/insecure_root_cert.crt
@@ -0,0 +1,16 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIICfTCCAeYCCQDKj1afHejp2TANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMC
+VVMxDzANBgNVBAgMBk9yZWdvbjERMA8GA1UEBwwIUG9ydGxhbmQxDzANBgNVBAoM
+BkdFTklWSTEjMCEGA1UECwwaUmVtb3RlIFZlaGljbGUgSW50ZXJhY3Rpb24xGTAX
+BgNVBAMMEHNhbXBsZV9yb290X2NlcnQwHhcNMTUxMTI0MDAxMTAyWhcNMTYxMTIz
+MDAxMTAyWjCBgjELMAkGA1UEBhMCVVMxDzANBgNVBAgMBk9yZWdvbjERMA8GA1UE
+BwwIUG9ydGxhbmQxDzANBgNVBAoMBkdFTklWSTEjMCEGA1UECwwaUmVtb3RlIFZl
+aGljbGUgSW50ZXJhY3Rpb24xGTAXBgNVBAMMEHNhbXBsZV9yb290X2NlcnQwgZ8w
+DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL3AquND4A5bM1GCDLl4GG0qZZZR7CuQ
+3GjxDRWWOYZ6k/0SBHaRa3ztr4NoXC3imlQ3eEeQXCUBko5fxjusSCaZYtnTsfMX
+7eyORJ0ISbd8aQOgP+98nPntqxdDxm/2+pr/ERSJ9quknvtiYf02ZLa3Pzey4Drt
+QuBUtUXGZxP5AgMBAAEwDQYJKoZIhvcNAQELBQADgYEArGhXmzq4YxPbjkhhKl/T
+MnozrN/9gxhBmju6d/I8JWAotXwzdKDcR6VF041qQtlz1XNndO3zs+wC8R8HMOuA
+Opm03LN0ae6GU5pg1odUzvBMmLR3Ox1Y0Lhxo/eX19ZVAK63AIQSwM2GER1p9dHE
+jsUTodMEygTULLZ0yYJ9wkM=
+-----END TRUSTED CERTIFICATE-----
diff --git a/priv/sample_certificates/insecure_root_cert.csr b/priv/sample_certificates/insecure_root_cert.csr
new file mode 100644
index 0000000..9fd3ead
--- /dev/null
+++ b/priv/sample_certificates/insecure_root_cert.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBwzCCASwCAQAwgYIxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZPcmVnb24xETAP
+BgNVBAcMCFBvcnRsYW5kMQ8wDQYDVQQKDAZHRU5JVkkxIzAhBgNVBAsMGlJlbW90
+ZSBWZWhpY2xlIEludGVyYWN0aW9uMRkwFwYDVQQDDBBzYW1wbGVfcm9vdF9jZXJ0
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9wKrjQ+AOWzNRggy5eBhtKmWW
+UewrkNxo8Q0VljmGepP9EgR2kWt87a+DaFwt4ppUN3hHkFwlAZKOX8Y7rEgmmWLZ
+07HzF+3sjkSdCEm3fGkDoD/vfJz57asXQ8Zv9vqa/xEUifarpJ77YmH9NmS2tz83
+suA67ULgVLVFxmcT+QIDAQABoAAwDQYJKoZIhvcNAQELBQADgYEADQiQkD0shsGX
+Oe8RBtN4y3794SWMVuSBX0KbFhvSq9MtoFsVIBEzfTKJpuPdTg9H1Y2iHBReUa5X
+ZKagCDUVjw7UcTFZUi5u3ERM4g/yGYSMIfQn5pXzu5LdiCD3J5tbJQ8EEb3tAwzg
+eFOSyyF4M6p2TF0HTIM5pBKxUVHPqbM=
+-----END CERTIFICATE REQUEST-----
diff --git a/priv/sample_credentials/insecure_credential.json b/priv/sample_credentials/insecure_credential.json
new file mode 100644
index 0000000..b98a8a7
--- /dev/null
+++ b/priv/sample_credentials/insecure_credential.json
@@ -0,0 +1,16 @@
+{
+ "create_timestamp": 1448388244,
+ "destinations": [
+ "genivi.org/"
+ ],
+ "device_cert": "MIICdzCCAeACAQEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZPcmVnb24xETAPBgNVBAcMCFBvcnRsYW5kMQ8wDQYDVQQKDAZHRU5JVkkxIzAhBgNVBAsMGlJlbW90ZSBWZWhpY2xlIEludGVyYWN0aW9uMRkwFwYDVQQDDBBzYW1wbGVfcm9vdF9jZXJ0MB4XDTE1MTEyNDAwMTEzNFoXDTE2MTEyMzAwMTEzNFowgYQxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZPcmVnb24xETAPBgNVBAcMCFBvcnRsYW5kMQ8wDQYDVQQKDAZHRU5JVkkxIzAhBgNVBAsMGlJlbW90ZSBWZWhpY2xlIEludGVyYWN0aW9uMRswGQYDVQQDDBJzYW1wbGVfZGV2aWNlX2NlcnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMxHUClqNzftrjrv7k6sSAGEL3zehFd1xiSmPkddGs6N7RsZtdJoO6MCYTHwnHmGUBvaFXrMcAygWBlIlnxhB5uc8SL7z2Z3ikOCXC4wy41DqdxZ4X7ksEvTSqrB3YJ264sijmOr6maBSmCDtsNAIaL0QNPrSnF50D37OgVwE2bPAgMBAAEwDQYJKoZIhvcNAQELBQADgYEAtYCSVpW5K1cjPpGeYAa4AHzG+aXXHiqn0ot9Ow9T7Q5NCO75cokGy5Hzvx3hakFaipaLFD/tp6kmmV5F/Pr+klVztaCLVlcMT7l6clEBtZXVmvWUXakoJoai/UufNrgohZSUHfSxUWYXh09jBiN5U+wdCGO4798AEUGs4m3Rfok=",
+ "id": "xxx",
+ "iss": "genivi.org",
+ "sources": [
+ "genivi.org/"
+ ],
+ "validity": {
+ "start": 1448388244,
+ "stop": 1479924244
+ }
+}
diff --git a/priv/sample_credentials/insecure_credential.jwt b/priv/sample_credentials/insecure_credential.jwt
new file mode 100644
index 0000000..ed3def8
--- /dev/null
+++ b/priv/sample_credentials/insecure_credential.jwt
@@ -0,0 +1 @@
+eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnZW5pdmkub3JnIiwiZGV2aWNlX2NlcnQiOiJNSUlDZHpDQ0FlQUNBUUV3RFFZSktvWklodmNOQVFFTEJRQXdnWUl4Q3pBSkJnTlZCQVlUQWxWVE1ROHdEUVlEVlFRSURBWlBjbVZuYjI0eEVUQVBCZ05WQkFjTUNGQnZjblJzWVc1a01ROHdEUVlEVlFRS0RBWkhSVTVKVmtreEl6QWhCZ05WQkFzTUdsSmxiVzkwWlNCV1pXaHBZMnhsSUVsdWRHVnlZV04wYVc5dU1Sa3dGd1lEVlFRRERCQnpZVzF3YkdWZmNtOXZkRjlqWlhKME1CNFhEVEUxTVRFeU5EQXdNVEV6TkZvWERURTJNVEV5TXpBd01URXpORm93Z1lReEN6QUpCZ05WQkFZVEFsVlRNUTh3RFFZRFZRUUlEQVpQY21WbmIyNHhFVEFQQmdOVkJBY01DRkJ2Y25Sc1lXNWtNUTh3RFFZRFZRUUtEQVpIUlU1SlZra3hJekFoQmdOVkJBc01HbEpsYlc5MFpTQldaV2hwWTJ4bElFbHVkR1Z5WVdOMGFXOXVNUnN3R1FZRFZRUUREQkp6WVcxd2JHVmZaR1YyYVdObFgyTmxjblF3Z1o4d0RRWUpLb1pJaHZjTkFRRUJCUUFEZ1kwQU1JR0pBb0dCQU14SFVDbHFOemZ0cmpydjdrNnNTQUdFTDN6ZWhGZDF4aVNtUGtkZEdzNk43UnNadGRKb082TUNZVEh3bkhtR1VCdmFGWHJNY0F5Z1dCbElsbnhoQjV1YzhTTDd6MlozaWtPQ1hDNHd5NDFEcWR4WjRYN2tzRXZUU3FyQjNZSjI2NHNpam1PcjZtYUJTbUNEdHNOQUlhTDBRTlByU25GNTBEMzdPZ1Z3RTJiUEFnTUJBQUV3RFFZSktvWklodmNOQVFFTEJRQURnWUVBdFlDU1ZwVzVLMWNqUHBHZVlBYTRBSHpHK2FYWEhpcW4wb3Q5T3c5VDdRNU5DTzc1Y29rR3k1SHp2eDNoYWtGYWlwYUxGRC90cDZrbW1WNUYvUHIra2xWenRhQ0xWbGNNVDdsNmNsRUJ0WlhWbXZXVVhha29Kb2FpL1V1Zk5yZ29oWlNVSGZTeFVXWVhoMDlqQmlONVUrd2RDR080Nzk4QUVVR3M0bTNSZm9rPSIsInZhbGlkaXR5Ijp7InN0YXJ0IjoxNDQ4Mzg4MjQ0LCJzdG9wIjoxNDc5OTI0MjQ0fSwic291cmNlcyI6WyJnZW5pdmkub3JnLyJdLCJjcmVhdGVfdGltZXN0YW1wIjoxNDQ4Mzg4MjQ0LCJpZCI6Inh4eCIsImRlc3RpbmF0aW9ucyI6WyJnZW5pdmkub3JnLyJdfQ.LGYxuMdh2mvBSQmsaNa40ISeUvcYDS2wBHF2dsTA2T3NFssAk-l7IhTJGuZoqBjA0DoAbSK_lzY-XXShdceYYVpyF41GQprYEirxLqnL0f-KN__aTpCEs39GiPdUu3RqqXDrNcrHILzD8Rw0kB5dBxOGTfmDd-rFg1zb2gO2PW0 \ No newline at end of file
diff --git a/priv/sample_keys/insecure_device_key.pem b/priv/sample_keys/insecure_device_key.pem
new file mode 100644
index 0000000..b7ef22c
--- /dev/null
+++ b/priv/sample_keys/insecure_device_key.pem
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXAIBAAKBgQDMR1Apajc37a467+5OrEgBhC983oRXdcYkpj5HXRrOje0bGbXS
+aDujAmEx8Jx5hlAb2hV6zHAMoFgZSJZ8YQebnPEi+89md4pDglwuMMuNQ6ncWeF+
+5LBL00qqwd2CduuLIo5jq+pmgUpgg7bDQCGi9EDT60pxedA9+zoFcBNmzwIDAQAB
+AoGBAKjJ1+OQfvW4bzkFnOvmkEyoczCDD+jQSJtpvZXryUWYoay9zq1/MJ+dTMAd
+5rzHDRQmW48usvrL1l91ydoVtlkUSlB+9jToS88X0yMHpNaKzVZkN3IzK39XRNPy
+iMSLN08GAOusJJChM8ZMnJgQS+VlJ6EJg7S1pmmaxYNnHEJBAkEA9LeQLg9vHBJ7
+UIJ6nFNWexAUAjoxTwSmCDHIzhUikMdUnH4UlPlCJwCHpPZdZMCeGyLuxFzD5OPd
+JGpHfjF5IQJBANWycp4QlJ7iOZwU2SLsswFx61GWwTi9AmgWgiW4irFNendVQH2g
+mHdoeDuoRSg+crJRYbPhdNN/CfmKD+00Me8CQDFRrWUbBzGJKAEZyswmn489tkqc
+n8NlFHEiV23xJH45Lfw8DLnZYlOp76x3WmsrxrGBYM2CRJiks7TbFn2ASwECQFGD
+s1L2EisVMlKGZVl8HsAzW0cREX16I7vesiB/Z3BAlLGGdIY3R1FtKUfgZRj30TqR
+7on2O2EduYlVj8O0wEMCQHYGLthfTO7lc44ppN2SHP9TRIZEwo9T7J4L3bZJIcU5
+dni0oD2w6BRlPulqtcaqbXvaHPGKKfz3+cXk39imGRo=
+-----END RSA PRIVATE KEY-----
diff --git a/priv/sample_keys/insecure_root_key.pem b/priv/sample_keys/insecure_root_key.pem
new file mode 100644
index 0000000..17e73d3
--- /dev/null
+++ b/priv/sample_keys/insecure_root_key.pem
@@ -0,0 +1,16 @@
+-----BEGIN PRIVATE KEY-----
+MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAL3AquND4A5bM1GC
+DLl4GG0qZZZR7CuQ3GjxDRWWOYZ6k/0SBHaRa3ztr4NoXC3imlQ3eEeQXCUBko5f
+xjusSCaZYtnTsfMX7eyORJ0ISbd8aQOgP+98nPntqxdDxm/2+pr/ERSJ9quknvti
+Yf02ZLa3Pzey4DrtQuBUtUXGZxP5AgMBAAECgYA23HGL65/oBq47rqIHLZXCWjOs
+1lq17dgL70WdLCXNn7sRvBfWQA0XvZC1KYMdMRr1pmP8LNy3RlEdIMurjQ/+uIzm
+m3fBIMV0y8DTdMJGK7KxQ3Ae8nYC2peQT5lIQ0x0N97HjP/zDBNzP64aPBQvajsz
+c9Uw80KgPe46fcP30QJBAPj/iLIuKEeLTIkek3Pajo0B3o6Bo8c1PSPaSaTLtVYh
+9yUH1fN+Yl/2xOduokJAT2XARmgKkXh3j/ZRZphiiX8CQQDDFqRMLTU3hIrtWRB5
+0mWLW7qTls/4WeKAgEtjuiZhqSShhWNkz7oANJIYJHRFLGijAsiqUbu3bztkhIIC
+pG6HAkB12iSuCRDBhBoOkG1EGX79GJRpKM0G3Zj5njjbChvjD6J1YXcPj5MqTpc1
+3vRnnR63T0FDvzTJKvX1pOOFXqYrAkEAiC/oJd1xRv5Z1XLVU5WSmYRBbQJc0Cw/
+OCFXf5jVblubXL43Morod3g7fGsGV7u2mAU7e9puxpD5zyPJdnq/RQJBAJhHrkmy
+uYxAHYkkQsERMuMI1SQE+DZap8Yy4QL3Is2mlxqumzya0ztx6OdB1s5kQlfLguHn
+ITwcBCndByLBGis=
+-----END PRIVATE KEY-----