Skip to content

Fix TSS formatting #803

Fix TSS formatting

Fix TSS formatting #803

Triggered via pull request January 23, 2024 20:52
Status Failure
Total duration 2m 37s
Artifacts

ci.yml

on: pull_request
ci  /  ...  /  set-go-matrix
ci / build / set-go-matrix
ci  /  ...  /  set-go-matrix
0s
ci / test / set-go-matrix
ci  /  actionlint
5s
ci / actionlint
ci  /  ...  /  lint
22s
ci / lint / lint
ci  /  ...  /  govulncheck
21s
ci / govulncheck / govulncheck
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Waiting for pending jobs
Matrix: ci / test / test
Fit to window
Zoom out
Zoom in

Annotations

13 errors
ci / test / test (stable): tpmkms/TestTPMKMS_CreateSigner/tpmkms_simulator_test.go#L591
tpmkms_simulator_test.go:591: Error Trace: /home/runner/work/crypto/crypto/kms/tpmkms/tpmkms_simulator_test.go:591 Error: Received unexpected error: failed getting signer for TSS2 PEM: failed creating TSS2 signer: invalid TSS2 key: public key is invalid Test: TestTPMKMS_CreateSigner/ok/signer-path
ci / test / test (stable): tpmkms/TestTPMKMS_CreateSigner/tpmkms_simulator_test.go#L592
tpmkms_simulator_test.go:592: Error Trace: /home/runner/work/crypto/crypto/kms/tpmkms/tpmkms_simulator_test.go:592 Error: Expected value not to be nil. Test: TestTPMKMS_CreateSigner/ok/signer-path ---
ci / test / test (stable): tpmkms/TestTPMKMS_CreateSigner/tpmkms_simulator_test.go#L591
tpmkms_simulator_test.go:591: Error Trace: /home/runner/work/crypto/crypto/kms/tpmkms/tpmkms_simulator_test.go:591 Error: Received unexpected error: failed getting signer for TSS2 PEM: failed creating TSS2 signer: invalid TSS2 key: public key is invalid Test: TestTPMKMS_CreateSigner/ok/signer-pem
ci / test / test (stable): tpmkms/TestTPMKMS_CreateSigner/tpmkms_simulator_test.go#L592
tpmkms_simulator_test.go:592: Error Trace: /home/runner/work/crypto/crypto/kms/tpmkms/tpmkms_simulator_test.go:592 Error: Expected value not to be nil. Test: TestTPMKMS_CreateSigner/ok/signer-pem ---
ci / test / test (stable): tpm_simulator_test.go#L383
tpm_simulator_test.go:383: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:383 Error: Not equal: expected: []byte{0x0, 0x1, 0x0, 0xb, 0x0, 0x5, 0x4, 0x72, 0x0, 0x0, 0x0, 0x10, 0x0, 0x14, 0x0, 0xb, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0xf0, 0xa5, 0xba, 0xe7, 0x7e, 0x18, 0x92, 0x78, 0x9, 0x72, 0x9f, 0x7b, 0xea, 0x9c, 0x21, 0x44, 0x77, 0x48, 0x27, 0x74, 0x88, 0x48, 0x26, 0xb1, 0x43, 0xa3, 0x7c, 0xd4, 0x54, 0x2a, 0x2b, 0xef, 0x70, 0x19, 0x40, 0x8d, 0x76, 0x9d, 0x62, 0x97, 0x63, 0xcd, 0x68, 0x79, 0xa4, 0x49, 0x33, 0x33, 0x47, 0xd4, 0xd7, 0x63, 0x46, 0xf, 0xba, 0xa7, 0x13, 0xbe, 0x3b, 0x84, 0x3c, 0x5f, 0x79, 0x9e, 0x34, 0x92, 0x3a, 0x73, 0x21, 0x9a, 0xa5, 0x79, 0x98, 0x60, 0x4d, 0x5a, 0xb8, 0x48, 0x79, 0x58, 0xc0, 0xdc, 0x28, 0x64, 0x6b, 0x1e, 0xf5, 0x8c, 0x62, 0x4b, 0xe8, 0x26, 0x21, 0x9e, 0xcf, 0x15, 0x42, 0xfe, 0x23, 0x5e, 0x3f, 0xb7, 0x8b, 0x86, 0x83, 0xef, 0xf5, 0x29, 0x6, 0x92, 0xa8, 0xb9, 0x5e, 0xa1, 0x36, 0x2e, 0xb7, 0x17, 0x83, 0x3d, 0x7, 0x88, 0xe5, 0xd1, 0x33, 0x38, 0x82, 0xdb, 0xdc, 0xfc, 0xf5, 0x2c, 0xa2, 0x2, 0x44, 0x3e, 0xe1, 0x63, 0xc, 0xc9, 0xea, 0x2a, 0xc8, 0xc5, 0x57, 0x34, 0x82, 0xd0, 0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b, 0x0, 0x93, 0xa6, 0x19, 0x58, 0xe1, 0x44, 0x89, 0xcc, 0x80, 0xe3, 0xf7} Diff: --- Expected +++ Actual @@ -1,20 +1,20 @@ -([]uint8) (len=280) { - 00000000 00 01 00 0b 00 05 04 72 00 00 00 10 00 14 00 0b |.......r........| - 00000010 08 00 00 00 00 00 01 00 f0 a5 ba e7 7e 18 92 78 |............~..x| - 00000020 09 72 9f 7b ea 9c 21 44 77 48 27 74 88 48 26 b1 |.r.{..!DwH't.H&.| - 00000030 43 a3 7c d4 54 2a 2b ef 70 19 40 8d 76 9d 62
ci / test / test (stable): tpm_simulator_test.go#L384
tpm_simulator_test.go:384: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:384 Error: Not equal: expected: []byte{0x0, 0x20, 0xf1, 0xff, 0x94, 0x94, 0xaf, 0xa4, 0xc6, 0x8e, 0xae, 0xb0, 0x8a, 0xf8, 0xf8, 0x35, 0x26, 0x2, 0x4b, 0xe5, 0x6, 0x5f, 0xca, 0x26, 0x1e, 0xbb, 0x43, 0xe3, 0x6d, 0x44, 0x9b, 0x4c, 0xbc, 0x99, 0x0, 0x10, 0xf5, 0x66, 0x7f, 0x5a, 0x26, 0x2a, 0x4f, 0x36, 0xde, 0xb7, 0x5b, 0x96, 0xab, 0xe7, 0xa, 0xcf, 0x1, 0xc6, 0xd8, 0x1d, 0x94, 0x9b, 0xb7, 0xed, 0xff, 0xf4, 0x5a, 0xb5, 0x5b, 0xea, 0xb4, 0xae, 0x87, 0x7a, 0x6e, 0x4b, 0xe9, 0x48, 0x27, 0x73, 0xd7, 0x84, 0x3d, 0xf9, 0x2b, 0x1c, 0x3a, 0x7c, 0x1e, 0x4c, 0x93, 0x59, 0xdb, 0x27, 0xb4, 0x50, 0x48, 0x59, 0xb7, 0x78, 0x7c, 0x19, 0x37, 0xd0, 0xa4, 0x79, 0x49, 0x1e, 0x17, 0x1a, 0x75, 0xd4, 0xad, 0x7f, 0x68, 0x3a, 0xc,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7, 0x9f, 0x4d, 0x10, 0xe0, 0x71, 0x55, 0x87, 0x4a, 0x14, 0xee, 0x52, 0x97, 0xbb, 0x2e, 0x6b, 0x76, 0x3, 0xe1, 0xd8, 0xd8, 0x53, 0x1c, 0x7c, 0x7b, 0xe2, 0x7a, 0x37, 0x51, 0x9a, 0xed, 0xce, 0x7a, 0xf5, 0x83, 0x19, 0x53, 0x5, 0xff, 0x6e, 0x3a, 0xb3, 0xec, 0x4, 0x42, 0x4b, 0xb2, 0x73, 0xf1, 0x7b, 0xe7, 0x1a, 0x7b, 0x3a, 0x4b, 0x1b, 0xed, 0xd5, 0xd9, 0x3c, 0x9c, 0xfd, 0xae, 0x9f, 0xa1, 0xe4, 0x79, 0xab, 0x91, 0xa2, 0x98, 0x18, 0x3c, 0x62, 0x0, 0x47, 0x30, 0xc6, 0xbf, 0x3, 0xb6, 0xd7, 0x90, 0x3b, 0x5b, 0xa4, 0xcc, 0x26, 0x3c, 0x6b, 0x58, 0x57, 0xb4, 0x64, 0xf9, 0xb4, 0x8, 0xac, 0x6c, 0xb6, 0x76, 0xb0, 0xb9, 0xf1, 0x99, 0x49, 0xa2, 0xe7, 0x1c, 0x4d, 0x2b, 0x63, 0xba, 0x65, 0x6b, 0x36, 0xd2, 0xf8, 0x31, 0x44, 0x7d, 0x2, 0xe3, 0xbd, 0x0, 0x34, 0xc1, 0x52, 0x45, 0xd2, 0xc0, 0xfc, 0xca, 0xe6, 0x79, 0x88, 0xab, 0xe7, 0xf1, 0xa4, 0x64, 0x80, 0x7f, 0xb8, 0xa6, 0x83, 0xc2, 0xc6, 0x55, 0xaf, 0x4e, 0x65, 0x66, 0x7, 0xa5, 0x32, 0x6a, 0x20, 0x4f, 0xab, 0x66, 0xdd, 0x19, 0xde, 0xb5, 0x23, 0x6e, 0x78, 0xa7, 0x58, 0xac, 0x53, 0x2a, 0xb1, 0xcb, 0x9f,
ci / test / test (stable): tpm_simulator_test.go#L388
tpm_simulator_test.go:388: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:388 Error: Received unexpected error: unsupported type in TPMT_PUBLIC: 0x534841323536 Test: TestAK_ToTSS2 ---
ci / test / test (stable): tpm_simulator_test.go#L700
tpm_simulator_test.go:700: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:700 Error: Not equal: expected: []byte{0x0, 0x23, 0x0, 0xb, 0x0, 0x4, 0x0, 0x72, 0x0, 0x0, 0x0, 0x10, 0x0, 0x18, 0x0, 0xb, 0x0, 0x3, 0x0, 0x10, 0x0, 0x20, 0x3e, 0x7, 0xf0, 0x99, 0xff, 0x49, 0x81, 0xba, 0xbb, 0xd1, 0x60, 0x67, 0xf8, 0xbb, 0x12, 0xeb, 0xf5, 0x16, 0x5e, 0xb0, 0x35, 0xc4, 0x4, 0x5a, 0x6c, 0x59, 0x49, 0x5a, 0xa8, 0x23, 0xbc, 0xe8, 0x0, 0x20, 0xaa, 0x6e, 0xc6, 0xe4, 0x0, 0x7b, 0xd8, 0x29, 0x49, 0x83, 0xb5, 0xd9, 0xa2, 0xe3, 0x2b, 0xd2, 0x12, 0x72, 0x74, 0xe7, 0x34, 0x3a, 0xaf, 0x88, 0x4, 0xd7, 0x4c, 0x20, 0x86, 0x1, 0x35, 0x84} actual : []byte{0x0, 0xb, 0x0, 0x4, 0x0, 0x72, 0x0, 0x0, 0x0, 0x10, 0x0, 0x18, 0x0, 0xb, 0x0, 0x3, 0x0, 0x10, 0x0, 0x20, 0x3e, 0x7, 0xf0, 0x99, 0xff, 0x49, 0x81, 0xba, 0xbb, 0xd1, 0x60, 0x67, 0xf8, 0xbb, 0x12, 0xeb, 0xf5, 0x16, 0x5e, 0xb0, 0x35, 0xc4, 0x4, 0x5a, 0x6c, 0x59, 0x49, 0x5a, 0xa8, 0x23, 0xbc, 0xe8, 0x0, 0x20, 0xaa, 0x6e, 0xc6, 0xe4, 0x0, 0x7b, 0xd8, 0x29, 0x49, 0x83, 0xb5, 0xd9, 0xa2, 0xe3, 0x2b, 0xd2, 0x12, 0x72, 0x74, 0xe7, 0x34, 0x3a, 0xaf, 0x88, 0x4, 0xd7, 0x4c, 0x20, 0x86, 0x1, 0x35, 0x84} Diff: --- Expected +++ Actual @@ -1,8 +1,8 @@ -([]uint8) (len=88) { - 00000000 00 23 00 0b 00 04 00 72 00 00 00 10 00 18 00 0b |.#.....r........| - 00000010 00 03 00 10 00 20 3e 07 f0 99 ff 49 81 ba bb d1 |..... >....I....| - 00000020 60 67 f8 bb 12 eb f5 16 5e b0 35 c4 04 5a 6c 59 |`g......^.5..ZlY| - 00000030 49 5a a8 23 bc e8 00 20 aa 6e c6 e4 00 7b d8 29 |IZ.#... .n...{.)| - 00000040 49 83 b5 d9 a2 e3 2b d2 12 72 74 e7 34 3a af 88 |I.....+..rt.4:..| - 00000050 04 d7 4c 20 86 01 35 84 |..L ..5.| +([]uint8) (len=86) { + 00000000 00 0b 00 04 00 72 00 00 00 10 00 18 00 0b 00 03 |.....r..........| + 00000010 00 10 00 20 3e 07 f0 99 ff 49 81 ba bb d1 60 67 |... >....I....`g| + 00000020 f8 bb 12 eb f5 16 5e b0 35 c4 04 5a 6c 59 49 5a |......^.5..ZlYIZ| + 00000030 a8 23 bc e8 00 20 aa 6e c6 e4 00 7b d8 29 49 83 |.#... .n...{.)I.| + 00000040 b5 d9 a2 e3 2b d2 12 72 74 e7 34 3a af 88 04 d7 |....+..rt.4:....| + 00000050 4c 20 86 01 35 84 |L ..5.| } Test: TestKey_ToTSS2
ci / test / test (stable): tpm_simulator_test.go#L701
tpm_simulator_test.go:701: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:701 Error: Not equal: expected: []byte{0x0, 0x20, 0x87, 0xff, 0x3, 0x5f, 0xb8, 0x19, 0xb8, 0xfc, 0xc3, 0x33, 0xb2, 0xd8, 0xfc, 0xb7, 0x89, 0x32, 0x3e, 0xa4, 0xed, 0x7f, 0x1d, 0x5a, 0xdb, 0x45, 0xf3, 0xd3, 0x75, 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 0xda, 0xa6, 0x1b, 0x9f, 0x16, 0x8e, 0x63, 0x26, 0x1b, 0x86, 0xde, 0xeb, 0x1a, 0xbe, 0x20, 0xa5, 0x78, 0x4a, 0xff, 0x99, 0x3a, 0x1f, 0x55, 0x6b, 0x55, 0xac, 0x74, 0xf1, 0xd9, 0xed, 0x3, 0x8c, 0x13, 0x20, 0xf0, 0x11} Diff: --- Expected +++ Actual @@ -1,10 +1,10 @@ -([]uint8) (len=126) { - 00000000 00 20 87 ff 03 5f b8 19 b8 fc c3 33 b2 d8 fc b7 |. ..._.....3....| - 00000010 89 32 3e a4 ed 7f 1d 5a db 45 f3 d3 75 39 0b 1b |.2>....Z.E..u9..| - 00000020 2f cf 00 10 48 b2 fb b4 83 55 ee ba 51 08 1a 9f |/...H....U..Q...| - 00000030 0a e7 ba e7 57 68 ea 17 34 59 7e 97 de d1 3a 38 |....Wh..4Y~...:8| - 00000040 e8 7d 4d 74 67 1f ec e2 5a 4b d8 af d0 a3 22 74 |.}Mtg...ZK...."t| - 00000050 56 ab e8 a3 db bd 37 c6 9e 77 da a6 1b 9f 16 8e |V.....7..w......| - 00000060 63 26 1b 86 de eb 1a be 20 a5 78 4a ff 99 3a 1f |c&...... .xJ..:.| - 00000070 55 6b 55 ac 74 f1 d9 ed 03 8c 13 20 f0 11 |UkU.t...... ..| +([]uint8) (len=124) { + 00000000 87 ff 03 5f b8 19 b8 fc c3 33 b2 d8 fc b7 89 32 |..._.....3.....2| + 00000010 3e a4 ed 7f 1d 5a db 45 f3 d3 75 39 0b 1b 2f cf |>....Z.E..u9../.| + 00000020 00 10 48 b2 fb b4 83 55 ee ba 51 08 1a 9f 0a e7 |..H....U..Q.....| + 00000030 ba e7 57 68 ea 17 34 59 7e 97 de d1 3a 38 e8 7d |..Wh..4Y~...:8.}| + 00000040 4d 74 67 1f ec e2 5a 4b d8 af d0 a3 22 74 56 ab |Mtg...ZK...."tV.| + 00000050 e8 a3 db bd 37 c6 9e 77 da a6 1b 9f 16 8e 63 26 |....7..w......c&| + 00000060 1b 86 de eb 1a be 20 a5 78 4a ff 99 3a 1f 55 6b |...... .xJ..:.Uk| + 00000070 55 ac 74 f1 d9 ed 03 8c 13 20 f0 11 |U.t...... ..| } Test: TestKey_ToTSS2
ci / test / test (stable): tpm_simulator_test.go#L706
tpm_simulator_test.go:706: Error Trace: /home/runner/work/crypto/crypto/tpm/tpm_simulator_test.go:706 Error: Received unexpected error: unsupported type in TPMT_PUBLIC: 0x534841323536 Test: TestKey_ToTSS2 ---
ci / test / test (stable)
Process completed with exit code 2.
ci / test / test (oldstable)
The job was canceled because "stable" failed.
ci / test / test (oldstable)
The operation was canceled.