Add more comments to sample AP code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Anthony Wang 2023-01-19 23:45:44 +00:00
parent c66355280e
commit 67f570f5c9
Signed by: a
GPG key ID: 42A5B952E6DD8D38

View file

@ -156,6 +156,7 @@ from requests import post
with open('activity', 'rb') as f:
activity = f.read()
# Gory technical code to create signature
date = formatdate(usegmt=True)
digester = hashes.Hash(hashes.SHA256())
digester.update(activity)