Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase underhill_attestation lib unit test coverage #635

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
04612a6
Add disklayer_ram and disk_backend modules to underhill_attestation d…
mattbodd Jan 7, 2025
dcc1319
Add basic test
mattbodd Jan 7, 2025
080f5b0
Add dependency to crate
mattbodd Jan 8, 2025
6634a40
Add unit test for basic functionality
mattbodd Jan 8, 2025
c5986fd
Add failure to derive egress key when gsp response by id seed length …
mattbodd Jan 8, 2025
caa76ed
Add basic persist_all_key_protectors test and add overflow test for
mattbodd Jan 8, 2025
1c46efd
Add vmgs_format as dev dependency for underhill_attestation
mattbodd Jan 9, 2025
a0afd3f
Add various tests for persist_all_key_protectors
mattbodd Jan 9, 2025
2356a77
Fix spelling mistake
mattbodd Jan 9, 2025
17f248a
Add vmgs unlock tests
mattbodd Jan 9, 2025
71a1668
Add negative test for unlocking vmgs with new ingress key
mattbodd Jan 9, 2025
2386ad3
Add negative test for unlocking vmgs with existing ingress key
mattbodd Jan 9, 2025
e808b28
Apply clippy lints
mattbodd Jan 9, 2025
dd6cf17
Merge branch 'main' into dev/mboddewy/underhill_attestation_lib_unit_…
mattbodd Jan 9, 2025
30f72f4
Merge branch 'main' into dev/mboddewy/underhill_attestation_lib_unit_…
mattbodd Jan 9, 2025
f32e3ce
Resolve merge conflicts
mattbodd Jan 9, 2025
2c2a57e
Remove comment on overflow vulnerability in active kp index increment…
mattbodd Jan 10, 2025
f18ffa8
Merge branch 'main' into dev/mboddewy/underhill_attestation_lib_unit_…
mattbodd Jan 10, 2025
426fb3c
Split key_protectors_are_empty into key_protector_is_empty and key_pr…
mattbodd Jan 13, 2025
5276d7b
Add test for missing derived keys
mattbodd Jan 13, 2025
23d4f6f
Merge duplicate tests
mattbodd Jan 13, 2025
983709a
Rename test
mattbodd Jan 13, 2025
d073fb8
Update test to validate unlocking with egress key and non-persisted i…
mattbodd Jan 13, 2025
2948265
Clarify test naming
mattbodd Jan 13, 2025
f723ddf
Reorder tests
mattbodd Jan 13, 2025
4db54d9
Test cleanup
mattbodd Jan 13, 2025
16dc2d0
Prefer locked verb usage
mattbodd Jan 13, 2025
13adecb
Add clarifying test comments
mattbodd Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6891,6 +6891,7 @@ dependencies = [
"cvm_tracing",
"disk_backend",
"disklayer_ram",
"get_protocol",
"getrandom",
"guest_emulation_transport",
"guid",
Expand All @@ -6906,6 +6907,7 @@ dependencies = [
"time",
"tracing",
"vmgs",
"vmgs_format",
"zerocopy",
]

Expand Down
2 changes: 2 additions & 0 deletions openhcl/underhill_attestation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ zerocopy.workspace = true
[target.'cfg(target_os = "linux")'.dev-dependencies]
disklayer_ram.workspace = true
disk_backend.workspace = true
get_protocol.workspace = true
vmgs_format.workspace = true

[lints]
workspace = true
Loading
Loading