Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

in the guest, the ccp module seems not used, and it's better to add the sev-guest module #36

Open
JustPlay opened this issue Oct 25, 2022 · 0 comments

Comments

@JustPlay
Copy link

i think, here it's better to add the sev-guest module

[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts# modprobe ccp
[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts# lsmod | grep 'ccp'
ccp 102400 0
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts# modprobe -r ccp
[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:~/sev/scripts# sev-guest-get-report -f /etc/ssh/ssh_host_rsa_key.pub -x guest_report.bin
Generating report using the following hash:
dd1d96e3e4c66ec3afb8dc90f1c57485e0ada6a65eb613d12198eacc972afb28
a569003d264ac0482ee452e045e5ffb1d1b69ca3ceab88a023791933698b036c

wrote vcek.cert
wrote ask.cert
wrote ark.cert
wrote guest_report.bin
[guest vm|ubuntu-22.04] root@bytedance:/sev/scripts# lsmod | grep 'ccp'
[guest vm|ubuntu-22.04] root@bytedance:
/sev/scripts#
[guest vm|ubuntu-22.04] root@bytedance:~/sev/scripts#

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant