RAUC: add a demo cert for bundle signing
This was generated by running:
openssl req -x509 -newkey rsa:4096 -keyout rauc-key.pem -out rauc-cert.pem \
-days 3650 -nodes -subj "/O=CzechLight/CN=rauc-demo"
Storing it in Git is obviously terribly insecure, which means that this
certificate can only ever be used for throwaway examples and *not* for
anything real (ha ha).
Change-Id: Ib6ac081f665e837f94d41346778a12a9aac588fb
diff --git a/crypto/rauc-cert.pem b/crypto/rauc-cert.pem
new file mode 100644
index 0000000..cdce245
--- /dev/null
+++ b/crypto/rauc-cert.pem
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFJTCCAw2gAwIBAgIJAI1TVLrnVNVVMA0GCSqGSIb3DQEBCwUAMCkxEzARBgNV
+BAoMCkN6ZWNoTGlnaHQxEjAQBgNVBAMMCXJhdWMtZGVtbzAeFw0xNzEwMjAxMzE2
+MTdaFw0yNzEwMTgxMzE2MTdaMCkxEzARBgNVBAoMCkN6ZWNoTGlnaHQxEjAQBgNV
+BAMMCXJhdWMtZGVtbzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANUd
+qbvuH/iHq6NqGJdXscJKvqO3MAt6JaGv/juO3NzqN4m34xJ7oAzhf2+T8rd7YW9+
+mHkdpFX/MrdJZc6TFai/+JoJ+9QiPi3rIzBhuCDOLY6b5AQ2laW0EfH8uPHp5TuM
+9kpUws09hLu5afdv7v+LTocALj8plYcE6M00XVJEp14GZXHmATS+b6mTG2u3Iipq
+AOXqAK4xCbeMREK13zJzhlSoCpcMkB2OXbwygE9GoCO8BybAv52ZNdMlWO9LLB9Z
+bSLj6QPaXL4XHujypBTdcnudnzjKCav0NXL4lOFECIBctYZqaNIY8eT1b/QGVrXt
+Y6MTNYQ0ZCh/UkfcbmHQM0JUb8GqyL4nHejHEsYRzasP4iaWstAzZA0usj04IEyH
+eod9yDcZkQigbpzKp4UhYyXnOa4nQ0V/nKQty9g6iVqg3EahsJWypmpmnAdhimKe
+ctnlNsZv+wbuRCvx0/aeY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
+-----END CERTIFICATE-----
diff --git a/crypto/rauc-key.pem b/crypto/rauc-key.pem
new file mode 100644
index 0000000..8b30cba
--- /dev/null
+++ b/crypto/rauc-key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQDVHam77h/4h6uj
+ahiXV7HCSr6jtzALeiWhr/47jtzc6jeJt+MSe6AM4X9vk/K3e2Fvfph5HaRV/zK3
+SWXOkxWov/iaCfvUIj4t6yMwYbggzi2Om+QENpWltBHx/Ljx6eU7jPZKVMLNPYS7
+uWn3b+7/i06HAC4/KZWHBOjNNF1SRKdeBmVx5gE0vm+pkxtrtyIqagDl6gCuMQm3
+jERCtd8yc4ZUqAqXDJAdjl28MoBPRqAjvAcmwL+dmTXTJVjvSywfWW0i4+kD2ly+
+Fx7o8qQU3XJ7nZ84ygmr9DVy+JThRAiAXLWGamjSGPHk9W/0Bla17WOjEzWENGQo
+f1JH3G5h0DNCVG/Bqsi+Jx3oxxLGEc2rD+ImlrLQM2QNLrI9OCBMh3qHfcg3GZEI
+oG6cyqeFIWMl5zmuJ0NFf5ykLcvYOolaoNxGobCVsqZqZpwHYYpinnLZ5TbGb/sG
+7kQr8dP2nmG15eVUajzAL1Kg1LmlxWEbro3A6nKxHnalNnJnLGIkkx1assWtX5HV
+bz4EEDIgZehgqWAtnLG7mYbdeCJtMuLCOGVFGgNR5L84/CBmApPHmHBJ6JVtx1QT
+O/sw5VaSQz3T19AL7LbX5b/oh8ctVnG8W39cF7dTuJ0TbRf9CWpBjqMvJq7NEffe
+esLPalus4oW49dfhLwxdFsATVrJy7QIDAQABAoICAQCfVJcClsw2PhBXk0mhVIHk
+lYcj1SBJZF/gGzkChBOh4kX1Y5KTzfNhzfE9lSngfZDiD46k9kFXvfzHxUsk/xgx
+WpzdZVtuRM+h+usLD/PeKucqeGgnsjt9cDv+ZAhNbKXiOMgl2GrvkO+8fam4wWm4
+igkCq2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