This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script for explaining different parts of an enclave's signing material | |
function usage() { | |
echo >&2 | |
echo "Usage: $(basename "$0") [flags] <path_to_signing_material.dat>" >&2 | |
echo >&2 | |
echo " -c,--color=MODE: MODE is one of always, never, auto [default]." >&2 | |
echo " If in a tty, --color=auto produces color codes." >&2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ func UseDefaultSevGuest() bool { | |
} | |
func message(d Device, command uintptr, req *labi.SnpUserGuestRequest) error { | |
- result, err := d.Ioctl(command, req) | |
- if err != nil { | |
- // The ioctl could have failed with a firmware error that | |
- // indicates a problem certificate length. We need to | |
- // communicate that specifically. | |
- if req.FwErr != 0 { |
OlderNewer