We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
signingKey
1 parent f0d9719 commit 060571cCopy full SHA for 060571c
lib/tdf3/src/assertions.ts
@@ -43,7 +43,7 @@ export type AssertionPayload = {
43
* @returns the hexadecimal string representation of the hash
44
*/
45
export async function hash(a: Assertion): Promise<string> {
46
- const result = canonicalizeEx(a, { exclude: ['binding', 'hash', 'sign', 'verify'] });
+ const result = canonicalizeEx(a, { exclude: ['binding', 'hash', 'sign', 'verify', 'signingKey'] });
47
48
const hash = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(result));
49
return hex.encodeArrayBuffer(hash);
0 commit comments