From c098d80524a6f120ccb03f39767dfb2024c7366b Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Sun, 10 Apr 2022 01:55:57 +0200 Subject: [PATCH] Adding private key of termca. It is the worst thing I can do, but first I need to develop the secure channel, which uses the private key of device. Later, I will figure out how to generate the private key and certificate during initialization, but it will be difficult, as it needs to be signed by the CA. Signed-off-by: Pol Henarejos --- src/hsm/cvcerts.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hsm/cvcerts.h b/src/hsm/cvcerts.h index bdd4089..7f3dc3d 100644 --- a/src/hsm/cvcerts.h +++ b/src/hsm/cvcerts.h @@ -38,4 +38,10 @@ static const unsigned char dica[] = { 0xb7,0x33,0x70,0xd6,0x00,0xff,0x73,0x0c,0x5d }; +static const unsigned char termca_pk[] = { + 0x18, 0x00, + 0xD9,0xE5,0x1B,0x79,0xF2,0x80,0x49,0x2B,0x35,0xFC,0x8C,0xC4,0xFC,0x5C,0xF4,0x72, + 0x25,0xC7,0x5B,0x08,0xFD,0xBC,0xE1,0x13 +}; + #endif