HMAC SHA1 Digest in python
问题 I'm using the Moves API to get some fitness data. Instead of querying the API on a regular basis I would like to use the storyline notifications. It works, I get a request from the API but I'm unable to verify the hmac sha1 signature provided in the request. The Documentation says: All notification requests are signed with Base64 encoded HMAC-SHA1 signature. The signature is calculated as HMAC_SHA1(<your client secret>,<request body>|<timestamp>|<nonce>), in other words the client secret as