Skip to content

Commit 480daf0

Browse files
committed
provisioning: Add expected example output
Add the expected example output so that we can automatically test that the example is working as intended.
1 parent 36affcf commit 480daf0

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

tests/provisioning.log

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Provisioning device...
2+
Erasing secure storage... done.
3+
Registering drivers... done.
4+
Initializing PSA Crypto... done.
5+
Registering factory-created keys... done.
6+
Generating keys within the secure element... done.
7+
Device provisioned
8+
9+
---------------------------------------------------------------------
10+
11+
Device public keys:
12+
Key ID 16:
13+
-----BEGIN PUBLIC KEY-----
14+
[0-9a-fA-F+/=]+
15+
[0-9a-fA-F+/=]+
16+
-----END PUBLIC KEY-----
17+
18+
Key ID 18:
19+
-----BEGIN PUBLIC KEY-----
20+
[0-9a-fA-F+/=]+
21+
[0-9a-fA-F+/=]+
22+
-----END PUBLIC KEY-----
23+
24+
Device-generated CSRs:
25+
Key ID 16:
26+
-----BEGIN CERTIFICATE REQUEST-----
27+
[0-9a-fA-F+/=]+
28+
[0-9a-fA-F+/=]+
29+
[0-9a-fA-F+/=]+
30+
[0-9a-fA-F+/=]+
31+
[0-9a-fA-F+/=]+
32+
[0-9a-fA-F+/=]+
33+
[0-9a-fA-F+/=]+
34+
-----END CERTIFICATE REQUEST-----
35+
36+
Key ID 18:
37+
-----BEGIN CERTIFICATE REQUEST-----
38+
[0-9a-fA-F+/=]+
39+
[0-9a-fA-F+/=]+
40+
[0-9a-fA-F+/=]+
41+
[0-9a-fA-F+/=]+
42+
[0-9a-fA-F+/=]+
43+
[0-9a-fA-F+/=]+
44+
[0-9a-fA-F+/=]+
45+
-----END CERTIFICATE REQUEST-----

0 commit comments

Comments
 (0)