Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Conversation

@haraldh
Copy link
Contributor

@haraldh haraldh commented Nov 13, 2020

Inject the secret and provide it with the get_attestation call.

Fixes: #159

@haraldh
Copy link
Contributor Author

haraldh commented Nov 18, 2020

@connorkuehl updated

@connorkuehl
Copy link
Contributor

This all looks good to me. Each time we get closer to an MVP it just further reinforces the point that I think perhaps our VM builder platform could be a little more modular, otherwise it just looks like it starts to "grow" things. I'm cogitating on that.

I'm wondering if at least in the hypervisor side the function parameters could be references instead of pointers, but I haven't looked around at the surrounding areas to see if the borrow checker would allow that.

@haraldh haraldh changed the title feat(shim-sev): Attestation syscall with dummy secret feat(shim-sev): Implement get_attestation for SEV Nov 19, 2020
@haraldh haraldh marked this pull request as ready for review November 19, 2020 15:06
@haraldh haraldh requested review from ambaxter and lkatalin and removed request for whitebrandy November 19, 2020 15:06
@enarxbot enarxbot assigned lkatalin and unassigned whitebrandy Nov 19, 2020
@haraldh haraldh marked this pull request as draft November 19, 2020 15:19
@haraldh haraldh marked this pull request as ready for review November 20, 2020 14:04
@haraldh haraldh force-pushed the sev_attestation branch 3 times, most recently from 6c8f307 to 244a2cc Compare November 23, 2020 15:48
@haraldh haraldh marked this pull request as draft November 23, 2020 15:48
@haraldh
Copy link
Contributor Author

haraldh commented Nov 23, 2020

Needs #188 first

@haraldh
Copy link
Contributor Author

haraldh commented Nov 26, 2020

Needs #188 and #192 first

@haraldh haraldh force-pushed the sev_attestation branch 2 times, most recently from 4c9fe41 to ea3574a Compare November 26, 2020 15:28
@haraldh haraldh force-pushed the sev_attestation branch 5 times, most recently from 5d2876b to c660278 Compare December 1, 2020 08:49
@haraldh haraldh marked this pull request as ready for review December 1, 2020 09:07
Inject the secret and provide it with the get_attestation call.

Signed-off-by: Harald Hoyer <[email protected]>
@haraldh
Copy link
Contributor Author

haraldh commented Dec 3, 2020

Rebased to current master.

@haraldh
Copy link
Contributor Author

haraldh commented Dec 3, 2020

@connorkuehl please re-review... you are still marked with requested changes

Copy link
Contributor

@lkatalin lkatalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not an expert on some of these details (esp. CBOR length), but looks okay to me.

@enarxbot enarxbot merged commit 539da6b into enarx-archive:master Dec 4, 2020
@haraldh haraldh deleted the sev_attestation branch December 10, 2020 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SEV shim should define/advertise where it wants private key ciphertext placed

7 participants