Skip to main content

Jeremy Cherfas

I get an error when trying to compute the signature:

Jeremys-iMac:~ jeremycherfas$ HMAC=$(echo -n "/status/edit" | openssl dgst -binary -sha256 -hmac 'MY-API' | base64 -w0)
base64: invalid option -- w

How do I use signed HTML?