From 9d306d20dc3f5840cc2a8c8cf281c53bbef020cc Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Fri, 31 Aug 2018 07:45:18 -0300 Subject: [PATCH] Add sample encryption keys This adds both RSA (pub + private) keys and a base64 encoded AES-128 secret key, which should be used as sample keys in encrypted image tests. Signed-off-by: Fabio Utzig --- enc-aes128kw.b64 | 1 + enc-rsa2048-priv.pem | 27 +++++++++++++++++++++++++++ enc-rsa2048-pub.pem | 9 +++++++++ 3 files changed, 37 insertions(+) create mode 100644 enc-aes128kw.b64 create mode 100644 enc-rsa2048-priv.pem create mode 100644 enc-rsa2048-pub.pem diff --git a/enc-aes128kw.b64 b/enc-aes128kw.b64 new file mode 100644 index 00000000..ed2c9fb3 --- /dev/null +++ b/enc-aes128kw.b64 @@ -0,0 +1 @@ +0VoElcTCqP8weM5Jtfyy3Q== diff --git a/enc-rsa2048-priv.pem b/enc-rsa2048-priv.pem new file mode 100644 index 00000000..a2bf0cb1 --- /dev/null +++ b/enc-rsa2048-priv.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAtCYUST0WEzptnISpi2oQIGHvSASkSyTzADKsIuAwJ3AY5VXI +uAU0A7D4pZbSSFjvcLAJ2+NYYu+ZYwGyicSz9p5iv03CitDJTUOj2OUd7GJjCOIg +pfx40D50yKQbNq179QauTVGbQM4wT2zq+el06gbunOQUaCC5PecRFIslo/9MivNT +7ms+7zTNaj9iaMD/eEyww+aWYfwfGPF6guKPNagrhhakRvusfkHbAgWRbd/B3hOV +nPmeXnK6pyWT+9zoq4ZFiEct7e7ul57OXZsEBEB8y3w9LHSrpMxko1yVPdSi3JKy +yBjL+QA5gY+PQMLfmSmsisI72KTyra90wBHHmQIDAQABAoIBAEJHgE8x2l1YsdtU +M8zHSQehAJhOnOPIxF7eRdbPBOh9pas61I5f27M/+TtzMgrMLcwX+IieLHa6EIUM +qtNlO5EQ1OPtiBXqmyWCLVYvdcLyr90k1T48lX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wDBUDeUvKb+gCNS/5bm5xzrft6AEJinqCVVVAyhw== +-----END RSA PRIVATE KEY----- diff --git a/enc-rsa2048-pub.pem b/enc-rsa2048-pub.pem new file mode 100644 index 00000000..adc2adba --- /dev/null +++ b/enc-rsa2048-pub.pem @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtCYUST0WEzptnISpi2oQ +IGHvSASkSyTzADKsIuAwJ3AY5VXIuAU0A7D4pZbSSFjvcLAJ2+NYYu+ZYwGyicSz +9p5iv03CitDJTUOj2OUd7GJjCOIgpfx40D50yKQbNq179QauTVGbQM4wT2zq+el0 +6gbunOQUaCC5PecRFIslo/9MivNT7ms+7zTNaj9iaMD/eEyww+aWYfwfGPF6guKP +NagrhhakRvusfkHbAgWRbd/B3hOVnPmeXnK6pyWT+9zoq4ZFiEct7e7ul57OXZsE +BEB8y3w9LHSrpMxko1yVPdSi3JKyyBjL+QA5gY+PQMLfmSmsisI72KTyra90wBHH +mQIDAQAB +-----END PUBLIC KEY-----