Skip to content

Instantly share code, notes, and snippets.

@mikewebb70
Created October 12, 2021 02:45
Show Gist options
  • Save mikewebb70/92e378cb2be680fe8c1b9ef6919a2e77 to your computer and use it in GitHub Desktop.
Save mikewebb70/92e378cb2be680fe8c1b9ef6919a2e77 to your computer and use it in GitHub Desktop.
Supermicro IPMI License Key (for updating BIOS) = HMAC-SHA1-96(INPUT: MAC address of BMC, SECRET KEY: 85 44 E3 B4 7E CA 58 F9 58 30 43 F8)
echo -n 'bmc-mac' \
| xxd -r -p \
| openssl dgst -sha1 -mac HMAC -macopt hexkey:8544E3B47ECA58F9583043F8 \
| awk '{print $2}' \
| cut -c 1-24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment