Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/tdf3/src/assertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type AssertionPayload = {
* @returns the hexadecimal string representation of the hash
*/
export async function hash(a: Assertion): Promise<string> {
const result = canonicalizeEx(a, { exclude: ['binding', 'hash', 'sign', 'verify'] });
const result = canonicalizeEx(a, { exclude: ['binding', 'hash', 'sign', 'verify', 'signingKey'] });

const hash = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(result));
return hex.encodeArrayBuffer(hash);
Expand Down
Loading