9elements / converged-security-suite

Converged Security Suite for Intel & AMD platform security features
https://www.9esec.io
BSD 3-Clause "New" or "Revised" License
58 stars 15 forks source link

Add tool amd-suite #361

Closed xaionaro closed 1 year ago

xaionaro commented 1 year ago
[xaionaro@void converged-security-suite]$ go run ./cmd/amd-suite/
Usage: amd-suite <command>

AMD PSP and PSB management tool

Flags:
  -h, --help     Show context-sensitive help.
      --debug    Enable debug mode

Commands:
  show-keys                       Shows all key known to the system, together with their origin
  validate-psp-entries            Validates signatures of PSP entries
  validate-rtm
  output-firmware                 Outputs information about the firmware and PSP/BIOS structure
  dump-psp-entry                  Dump an entry from PSP Directory to a file on the filesystem
  dump-bios-entry                 Dump an entry from BIOS Directory to a file on the filesystem
  patch-psp-entry                 take a path on the filesystem pointing to a dump of an PSP entry and re-apply it to the firmware
  patch-bios-entry                take a path on the filesystem pointing to a dump of an BIOS entry and re-apply it to the firmware
  output-security-tokens-entry    output security tokens of all APCB (including backup) entries in specified BIOS directory
  set-security-token              sets a APCB security token

Run "amd-suite <command> --help" for more information on a command.

amd-suite: error: expected one of "show-keys",  "validate-psp-entries",  "validate-rtm",  "output-firmware",  "dump-psp-entry",  ...
exit status 1
xaionaro commented 1 year ago

Forgot to emphasize. This PR has a dependency on: https://github.com/linuxboot/fiano/pull/413