From 7991076e17af7605c9a79c78b6c553ffe2bf37dd Mon Sep 17 00:00:00 2001 From: Chloe Cai <93294344+rollerchloe@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:40:32 +0800 Subject: [PATCH] docs: update flowcharts in oa-verify readme (#278) --- diagram/verifiable-docs-did.light.svg | 3965 +------------------------ diagram/verifiable-docs-eth.light.svg | 3602 +--------------------- 2 files changed, 8 insertions(+), 7559 deletions(-) diff --git a/diagram/verifiable-docs-did.light.svg b/diagram/verifiable-docs-did.light.svg index e7a2f5c..f205589 100644 --- a/diagram/verifiable-docs-did.light.svg +++ b/diagram/verifiable-docs-did.light.svg @@ -1,3961 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
Verify OA documents issued using DID
Start
Recompute the merkle root
Same
merkle root in the document?
✅ Passes the Document Integrity check
Corresponding
DNS TXT record on the issuer domain?
No
✅ Passes the 
Issuance Identity 
check
Extract wallet public key
Verification is
successful

❌ Fails the Document Integrity check
Issuance Status
Document Integrity
Issuance Identity
Yes
Yes
Yes
No

❌ Fails the
Issuance Status 
check

❌ Fails the
Issuance Identity 
check
Passes all
three checks?
Verification fails
No
Yes
✅ Passes the Issuance Status 
check
Recover public key using merkle root and signature
Same public key in
the document & neither
target hash nor merkle root
in the revocation store or
OCSP responder?
No
\ No newline at end of file diff --git a/diagram/verifiable-docs-eth.light.svg b/diagram/verifiable-docs-eth.light.svg index 8b1e46a..17ece79 100644 --- a/diagram/verifiable-docs-eth.light.svg +++ b/diagram/verifiable-docs-eth.light.svg @@ -1,3598 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
Verify OA documents issued using Ethereum
Start
Recompute the merkle root
Same
merkle root in the document?
✅ Passes the Document Integrity check
Corresponding
DNS TXT record on the issuer domain?
No
✅ Passes the 
Issuance Identity 
check
Verification is
successful

❌ Fails the Document Integrity check
Issuance Status
Document Integrity
Issuance Identity
Yes
Yes
Yes
No

❌ Fails the
Issuance Status 
check

❌ Fails the
Issuance Identity 
check
Passes all
three checks?
Verification fails
No
Yes
✅ Passes the Issuance Status 
check
Extract merkle root
No
Merkle root
in document store &
not in revocation
store?
Extract document store address and issuer domain
\ No newline at end of file