You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarity on DERIVE_CONTEXT_OUTPUT_ARGS when EXPORT_CDI is set #79
From my understanding, NEW_CONTEXT_HANDLE at DERIVE_CONTEXT_OUTPUT_ARGS struct, if EXPORT_CDI=true, are referring to an already destroyed context. It may need some explanation that what the expectation would be. One may think that they can store the new context handle and try to update it recursively, which in my opinion should not be possible.
Second, it is not obvious to tell whether NEW_CERTIFICATE contains INPUT_DATA and INPUT_TYPE of the node when EXPORT_CDI=true and CREATE_CERTIFICATE=true.
Activity
zhalvorsen commentedon Feb 24, 2026
#94 offers some clarity. As for the reference implementation, https://github.com/chipsalliance/caliptra-dpe/blob/337f7e4151f60add8e97445f71fc1393afc661a8/dpe/src/commands/derive_context.rs#L348 shows the invalid context handle being set in the response.