From 3397325dcf08bc397e7405fe19ec71a295a09913 Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Wed, 20 Nov 2019 12:55:16 +0000 Subject: [PATCH] provisioning: Add expected example output Add the expected example output so that we can automatically test that the example is working as intended. --- tests/provisioning.log | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tests/provisioning.log diff --git a/tests/provisioning.log b/tests/provisioning.log new file mode 100644 index 0000000..ee1f6ab --- /dev/null +++ b/tests/provisioning.log @@ -0,0 +1,45 @@ +Provisioning device... + Erasing secure storage... done. + Registering drivers... done. + Initializing PSA Crypto... done. + Registering factory-created keys... done. + Generating keys within the secure element... done. +Device provisioned + +--------------------------------------------------------------------- + +Device public keys: + Key ID 16: +-----BEGIN PUBLIC KEY----- +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +-----END PUBLIC KEY----- + + Key ID 18: +-----BEGIN PUBLIC KEY----- +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +-----END PUBLIC KEY----- + +Device-generated CSRs: + Key ID 16: +-----BEGIN CERTIFICATE REQUEST----- +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +-----END CERTIFICATE REQUEST----- + + Key ID 18: +-----BEGIN CERTIFICATE REQUEST----- +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +[0-9a-fA-F+/=]+ +-----END CERTIFICATE REQUEST-----