Dmitrii Okunev
9e8b4def11
[dumpregisters] Dump registers in a human-readable YAML
2022-05-03 16:26:01 +02:00
Dmitrii Okunev
ec7b2c5e5d
[pcr0tool] Add a comparator with TPM EventLog
...
Added flag "-compare-with-eventlog" to verb "sum" of pcr0tool. The
option allows to compare the expected measurements with actual
measurements from TPM EventLog and print all the found mismatches.
Also the comparator tries to restore the original value of PCR0_DATA
through bruteforcing.
Signed-off-by: Dmitrii Okunev <xaionaro@fb.com>
2022-05-03 16:26:01 +02:00
Dmitrii Okunev
9c65fff579
Add a fake Intel CBnT image
2022-05-03 16:26:01 +02:00
Christopher Meis
75262471ac
Bump up fiano version to make it all work again
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2022-02-10 12:30:39 +01:00
dependabot[bot]
ca50b7c31b
Bump github.com/google/go-attestation from 0.2.2 to 0.4.0
...
Bumps [github.com/google/go-attestation](https://github.com/google/go-attestation ) from 0.2.2 to 0.4.0.
- [Release notes](https://github.com/google/go-attestation/releases )
- [Commits](https://github.com/google/go-attestation/compare/v0.2.2...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-attestation
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 13:28:32 +01:00
Dmitrii Okunev
380880c5d2
Upgrade fiano version
2022-01-19 14:12:58 +00:00
Dmitrii Okunev
e2a02949f4
Switch pkg/intel to fiano's version
2022-01-14 12:41:27 +00:00
Ilya
4cce7faa88
Update linuxboot/fiano dependency
...
Signed-off-by: Ilya <rihter007@inbox.ru>
2021-12-20 21:13:37 +00:00
Dmitrii Okunev
72758502a8
Update github.com/9elements/go-linux-lowlevel-hw
...
Signed-off-by: Dmitrii Okunev <xaionaro@fb.com>
2021-12-15 14:25:25 +00:00
Ilya
2275e28131
Use Fiano's bytes package
...
Signed-off-by: Ilya <rihter007@inbox.ru>
2021-12-14 20:58:27 +00:00
Kai Michaelis
64721cf96e
Remove use of cpuid.
...
Use the hwapi get fetch cpuid values instead of cpuid pkg
2021-09-22 16:04:33 +02:00
Dmitrii Okunev
c7015c20e7
optimize(pcr): Do not invoke empty logger
2021-08-25 19:33:11 +01:00
Christopher Meis
31b35ec01b
Remove hwapi package
...
Add go-linux-lowlevel-hw as dependency
Integrate new dependency
Pray for salvation
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2021-08-13 09:05:17 +02:00
Dmitrii Okunev
be74de6728
Merge branch 'master' into fix/pcr0_detect_txt_enabled
2021-05-06 12:07:27 +01:00
Christopher Meis
2bcdfc299e
Add support for additional IBBs
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2021-05-06 08:41:14 +02:00
Dmitrii Okunev
ef778f1c63
fix(log): Disable fiano logging
2021-05-04 21:05:36 +01:00
Dmitrii Okunev
ff05d25ae8
bugfixes: Make it buildable again
...
Co-authors:
* Ilya <ilyaarzamartsev@fb.com>
2021-04-01 10:52:03 +02:00
Dmitrii Okunev
fa2d888f81
Make KeyAndSignature optional in PrettyString
...
Signed-off-by: Dmitrii Okunev <xaionaro@fb.com>
2021-03-29 10:48:37 +02:00
Philipp Deppenwiese
b4a16efb31
Fix crypto routines, add SM2/SM3 support, parsing issues
2021-03-29 10:48:37 +02:00
Philipp Deppenwiese
62149904e9
Increase go module version to 1.13
2021-03-29 10:48:37 +02:00
Philipp Deppenwiese
6efe5694d4
Add Intel CBnT support
...
Update go-tpm library
Rework txt-suite cmd parsing to kong cmd line parser
Rework txt-prov cmd parsing to kong cmd line parser
2021-03-29 10:48:37 +02:00
Philipp Deppenwiese
99e89e826c
Introduce API versioning
2020-10-12 16:50:48 +02:00
Christopher Meis
3b0c0b4b38
Removed go-tss dependency, implemented reduced code in hwapi
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-09-17 16:21:57 +02:00
Philipp Deppenwiese
090b56f03b
Update git modules
2020-09-09 22:55:49 +02:00
Philipp Deppenwiese
5c440f7322
Fix TPM connection and remove TPMNVRAMLocked test from legacy test group
2020-09-09 22:25:01 +02:00
Christopher Meis
4f2e7d822e
Update dep intel-go/cpuid
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-09-08 15:11:04 +02:00
Philipp Deppenwiese
bd0cdc25dd
Fix provisioning tooling
2020-09-03 17:17:19 +02:00
Christopher Meis
3ceb9f1205
Finalizing txt provisioning
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-08-31 15:01:37 +02:00
Christopher Meis
d29acf6f4d
Introduce txt-prov for provisioning a tpm2 from userspace
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-08-04 10:02:06 +02:00
Christopher Meis
5c9dabb3f2
Update go-tpm ( #141 )
...
Update go-tpm
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-07-27 07:50:40 +02:00
Christopher Meis
b50bfc2e82
Update Go-TPM dependency
...
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
2020-07-20 12:11:02 +02:00
Patrick Rudolph
a3305e48ea
GLOBAL: Unbrick
...
Rename packages to match new name as original package doesn't exists any more.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2020-07-14 11:23:27 +02:00
Christopher Meis
a26e4b16ce
introduce go-tss
2020-07-06 13:54:56 +02:00
Philipp Deppenwiese
41ef762864
Fix tpm 1.2/2.0 tests
2020-06-23 14:46:40 +02:00
Christopher Meis
09258d49a0
Introduced modules as dependency manager
2019-09-27 10:30:10 +02:00