From: Vikrant Garg <vikrant1garg@gmail.com>
To: qemu-devel@nongnu.org
Cc: Dorjoy Chowdhury <dorjoychy111@gmail.com>, graf@amazon.com
Subject: [Qemu Nitro Enclave] NSM virtio attestation response is always of size 0x3000
Date: Thu, 13 Feb 2025 15:31:57 +0530 [thread overview]
Message-ID: <CAKXOwk1_zPNBaQZyiHb8A5D+3euZuvjW__Cqi3_PKgad95rDKg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Hello All,
I am using the QEMU for emulating nitro enclave images. In my enclave
image, I have an attestation service implemented in Rust. This application
fetches attestations using IOCTL command. I have noticed that response from
the nsm virtio device is always of length 0x3000 (i.e. maximum NSM response
size). Instead, it should be the actual size of response bytes. Same case
is also happening with the attestation service implemented in python. On
the other hand, the same Rust attestation service is working with AWS nitro
enclaves. It looks like an NSM emulation issue.
I would like to confirm if this is the expected behaviour and need help on
further debugging.
Regards,
Vikrant
[-- Attachment #2: Type: text/html, Size: 808 bytes --]
next reply other threads:[~2025-02-13 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 10:01 Vikrant Garg [this message]
2025-02-13 10:30 ` [Qemu Nitro Enclave] NSM virtio attestation response is always of size 0x3000 Alexander Graf
2025-02-13 10:46 ` Vikrant Garg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKXOwk1_zPNBaQZyiHb8A5D+3euZuvjW__Cqi3_PKgad95rDKg@mail.gmail.com \
--to=vikrant1garg@gmail.com \
--cc=dorjoychy111@gmail.com \
--cc=graf@amazon.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).