Skip to content

Commit

Permalink
provisioning: Add expected example output
Browse files Browse the repository at this point in the history
Add the expected example output so that we can automatically test that
the example is working as intended.
  • Loading branch information
Patater committed Nov 20, 2019
1 parent 36affcf commit 3397325
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions tests/provisioning.log
Original file line number Diff line number Diff line change
@@ -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-----

0 comments on commit 3397325

Please sign in to comment.