MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / getSigningKey

Function getSigningKey

src/background/sync/s3.js:58–63  ·  view source on GitHub ↗
(secret, datestamp, region)

Source from the content-addressed store, hash-verified

56}
57
58async function getSigningKey(secret, datestamp, region) {
59 let key = await hmacSha256(`AWS4${secret}`, datestamp);
60 key = await hmacSha256(key, region);
61 key = await hmacSha256(key, 's3');
62 return hmacSha256(key, 'aws4_request');
63}
64
65async function signS3Request({
66 method,

Callers 1

signS3RequestFunction · 0.85

Calls 1

hmacSha256Function · 0.85

Tested by

no test coverage detected