From 9db6fe383dcdee6ce50c9ca48a4dc1aac85e020f Mon Sep 17 00:00:00 2001 From: Ivan Herman Date: Thu, 14 Mar 2024 12:56:36 +0100 Subject: [PATCH] Took care of the zkp diagram issues --- diagrams/zkp-cred-pres.drawio | 197 +++++++++--- diagrams/zkp-cred-pres.svg | 556 +++++++++++++++++++++++----------- 2 files changed, 527 insertions(+), 226 deletions(-) diff --git a/diagrams/zkp-cred-pres.drawio b/diagrams/zkp-cred-pres.drawio index d39f90bc1..d1b83389c 100644 --- a/diagrams/zkp-cred-pres.drawio +++ b/diagrams/zkp-cred-pres.drawio @@ -1,156 +1,261 @@ - + - + + + + + + + - + - + - + - + - + - + - + - - + + - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/diagrams/zkp-cred-pres.svg b/diagrams/zkp-cred-pres.svg index bcda9f098..9736e81e9 100644 --- a/diagrams/zkp-cred-pres.svg +++ b/diagrams/zkp-cred-pres.svg @@ -1,4 +1,6 @@ + + @@ -15,8 +17,7 @@ %3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%... - - + @@ -91,55 +92,7 @@ Verifiable Credential - - -
-
-
- - Context - -
- - Type - -
-
- - ID - -
-
- - … - -
-
-
-
-
- Context... -
- - -
-
-
- - Proof: - -
- - Common Link Secret - -
-
-
-
-
- Proof:... -
@@ -180,59 +133,18 @@ Derived Credential 1 - - -
-
-
- - Context - -
- - Type - -
-
- - ID - -
-
- - Issuer - -
-
- - Issue Date - -
-
-
-
-
- Context... -
- - Credential Subject: - -
- - ageOver 18 - -
+
- Credential Subject:... +    @@ -240,19 +152,12 @@
- - Proof: - -
- - Knowledge of Signature - -
+
- Proof:... +   
@@ -275,11 +180,43 @@ Derived Credential 2 + + -
+
+ +
+
+
+ +    + + + + + + + +
+
+
+ +
+
+
+
+   +
+ + + + +
+
+
Context @@ -295,66 +232,119 @@
- Issuer + …
+
+
+
+
+ Context... +
+ + + +
+
+
- Issue Date + Credential Subject:
+
+
+
- Context... + Credential Subjec...
- + -
+
-
- - Credential Subject: - +
- Degree + Given Name +
+
+
+ Family Name +
+
+ Birth Date +
+
+ …
- Credential Subject:... + Given Name... - + -
+
-
- - Proof: - +
- Knowledge of Signature + Proof:
+
+
+
- Proof:... + Proof: + - + -
+
-
+
+
+ + Signature + +
+
+ + Proof of Correctness + +
+
+ + Attributes + +
+
+ … +
+
+
+
+ + Signature... + + + + +
+
+
Context @@ -392,30 +382,40 @@
- Context... + Context... - + -
+
-
+
- Credential Subject: + Context
- Given Name + Type + +
+
+ + ID
- Family Name + Issuer
- Birth Date + Issue Date + +
+
+ + Expiration Date
@@ -427,49 +427,139 @@
- Credential Subject:... + Context... - + -
+
-
+
+
+ + Proof: + +
+
+
+
+
+
+
+ + Proof: + + + + + +
+
+
+
+ + Signature + +
+
+ + Proof of Correctness + +
+
+ + Attributes + +
+
+ … +
+
+
+
+
+ Signature... +
+ + + +
+
+
+
+ Credential Subject: +
+
+
+
+
+ Credential Subjec... +
+ + + +
+
+
+
+ University +
+
+ Department +
+
+ Degree Awarded +
+
+ … +
+
+
+
+
+ University... +
+ + + +
+
+
- Proof: + Context
- Signature + Type
- Proof of Correctness + ID
- Attributes + Issuer
- … + Issue Date
- Proof:... + Context...
- + -
+
-
+
Context @@ -493,92 +583,198 @@ Issue Date
+
+
+
+ + Context... + + + + +
+
+
- Expiration Date + Credential Subject:
- - … - +
- Context... + Credential Subjec...
- + -
+
-
- - Credential Subject: - +
- University + Degree
+
+
+
+ + Degree + + + + +
+
+
+
+ + Proof: + +
- - Department -
+
+
+
+
+ Proof: + +
+ + + +
+
+
- Degree Awarded + Knowledge of Signature
+
+
+
+
+ Knowledge of Signature +
+ + + +
+
+
+
+ + Proof: + +
+
+
+
+
+
+
+
+ Proof: + +
+ + + +
+
+
- … + Knowledge of Signature -
- Credential Subject:... + Knowledge of Signature
- + -
+
-
- - Proof: - +
- Signature + Credential Subject:
- - Proof of Correctness - +
+
+
+
+ + Credential Subjec... + + + + +
+
+
- - Attributes - + + Age Over 18 +
+
+
+
+
+ Age Over 18 +
+ + + +
+
+
- … + Proof:
+
+
+
+
+
+
+
+ Proof: + +
+ + + +
+
+
+
+ + Common Link Secret + +
- Proof:... + Common Link Secret