Skip to content

Commit

Permalink
Merge branch 'main' into arthurgousset/fix/webauthn-pcd
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgousset authored Dec 12, 2024
2 parents 13a07fc + 0707741 commit 44bbaf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/pod-gpc-example/src/podExample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ export async function podDemo(): Promise<boolean> {
// recreate it without signing again.
const loadedPOD = POD.load(sampleEntries, signature, signerPublicKey);
console.log("Loaded POD content ID", loadedPOD.contentID);
if (!loadedPOD.verifySignature()) {
throw new Error("Bad POD!");
}

//////////////////////////////////////////////////////////////////////////////
// POD contents can be serialized to/from a JSON-compatible format, which can
Expand Down

0 comments on commit 44bbaf0

Please sign in to comment.