From be92b3aaf1734b82846486695ac6b8fcc932808d Mon Sep 17 00:00:00 2001 From: aritroCoder Date: Sun, 27 Aug 2023 01:35:24 +0530 Subject: [PATCH 1/4] completed credential signature data model Signed-off-by: aritroCoder --- spec/data_flow_issuance.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/spec/data_flow_issuance.md b/spec/data_flow_issuance.md index f5215dd..797bff3 100644 --- a/spec/data_flow_issuance.md +++ b/spec/data_flow_issuance.md @@ -451,14 +451,12 @@ Add the details about the credential signature data elements ::: -* `m_2` is the *TO BE ADDED*. It is constructed as follows: - * *TO BE ADDED* -* `a` is the *TO BE ADDED*. It is constructed as follows: - * *TO BE ADDED* -* `e` is the *TO BE ADDED*. It is constructed as follows: - * *TO BE ADDED* -* `v` is the *TO BE ADDED*. It is constructed as follows: - * *TO BE ADDED* +* `m_2` is a linkable identifier to the holder that is also called the `master_secret` in old versions. It is constructed as follows: + * $m_2 = H(i || \mathcal{H})$, where $i$ is an index assigned to the holder, and $\mathcal{H}$ is an identifier with which the [[ref: holder]] is known to the [[ref: issuer]]. +* `a` is the signature of the blinded known attributes. It's generation is given above. +* `e` is a random prime generated by the [[ref: issuer]] for creating signature. +* `v` is a number generated by the [[ref: holder]] to unblind the signature of the blinded attributes. It is constructed as follows: + * $v = v' + v''$, where $v'$ is the blinding factor which the holder has and $v''$ is the random number generated by the issuer. #### The Credential Signature Correctness Proof From 51596a597f812cefebb94ed0d4d1441753244d56 Mon Sep 17 00:00:00 2001 From: aritroCoder Date: Sun, 27 Aug 2023 01:41:29 +0530 Subject: [PATCH 2/4] removed todo section Signed-off-by: aritroCoder --- spec/data_flow_issuance.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/data_flow_issuance.md b/spec/data_flow_issuance.md index 797bff3..b42128f 100644 --- a/spec/data_flow_issuance.md +++ b/spec/data_flow_issuance.md @@ -445,11 +445,6 @@ community. The credential signature elements are constructed as follows: -::: todo - -Add the details about the credential signature data elements - -::: * `m_2` is a linkable identifier to the holder that is also called the `master_secret` in old versions. It is constructed as follows: * $m_2 = H(i || \mathcal{H})$, where $i$ is an index assigned to the holder, and $\mathcal{H}$ is an identifier with which the [[ref: holder]] is known to the [[ref: issuer]]. From acc161aa8759b758a699f3480c2b69e62ce86675 Mon Sep 17 00:00:00 2001 From: aritroCoder Date: Wed, 30 Aug 2023 23:34:35 +0530 Subject: [PATCH 3/4] fixed typo Signed-off-by: aritroCoder --- spec/data_flow_issuance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/data_flow_issuance.md b/spec/data_flow_issuance.md index b42128f..9e54264 100644 --- a/spec/data_flow_issuance.md +++ b/spec/data_flow_issuance.md @@ -451,7 +451,7 @@ The credential signature elements are constructed as follows: * `a` is the signature of the blinded known attributes. It's generation is given above. * `e` is a random prime generated by the [[ref: issuer]] for creating signature. * `v` is a number generated by the [[ref: holder]] to unblind the signature of the blinded attributes. It is constructed as follows: - * $v = v' + v''$, where $v'$ is the blinding factor which the holder has and $v''$ is the random number generated by the issuer. + * $v = v' + v''$, where $v'$ is the blinding factor which the holder has and $v''$ is a random number generated by the issuer. #### The Credential Signature Correctness Proof From 30b3fe0147dcfadf39384574d996b55b6feb8374 Mon Sep 17 00:00:00 2001 From: aritroCoder Date: Wed, 13 Sep 2023 12:26:58 +0530 Subject: [PATCH 4/4] added m_2 encoding Signed-off-by: aritroCoder --- spec/data_flow_issuance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/data_flow_issuance.md b/spec/data_flow_issuance.md index 9e54264..89cff02 100644 --- a/spec/data_flow_issuance.md +++ b/spec/data_flow_issuance.md @@ -446,7 +446,7 @@ community. The credential signature elements are constructed as follows: -* `m_2` is a linkable identifier to the holder that is also called the `master_secret` in old versions. It is constructed as follows: +* `m_2` is a linkable identifier to the holder encoded in base 10 that is also called the `master_secret` in old versions. It is constructed as follows: * $m_2 = H(i || \mathcal{H})$, where $i$ is an index assigned to the holder, and $\mathcal{H}$ is an identifier with which the [[ref: holder]] is known to the [[ref: issuer]]. * `a` is the signature of the blinded known attributes. It's generation is given above. * `e` is a random prime generated by the [[ref: issuer]] for creating signature.