forked from rarimo/passport-identity-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement zk proof verification flow. Refactor registration to use EC…
…DSA for Brainpool. Minor improvements
- Loading branch information
Showing
30 changed files
with
934 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,38 @@ | ||
allOf: | ||
- $ref: '#/components/schemas/DocumentSodKey' | ||
- type: object | ||
required: | ||
- attributes | ||
properties: | ||
attributes: | ||
type: object | ||
required: | ||
- hash_algorithm | ||
- signature_algorithm | ||
- signed_attributes | ||
- signature | ||
- encapsulated_content | ||
- pem_file | ||
- dg15 | ||
properties: | ||
hash_algorithm: | ||
type: string | ||
description: The hash algorithm used to hash the content | ||
signature_algorithm: | ||
type: string | ||
description: The signature algorithm used to sign the content | ||
signed_attributes: | ||
type: string | ||
description: The signed attributes, for e.g. 104 bytes-long hex string | ||
signature: | ||
type: string | ||
description: Signature corresponding to the algorithm | ||
encapsulated_content: | ||
type: string | ||
description: The encapsulated content, for e.g. 186 bytes-long hex string | ||
pem_file: | ||
type: string | ||
description: The PEM file containing the public key | ||
dg15: | ||
type: string | ||
description: The Data Group 15, hex string | ||
type: object | ||
required: | ||
- hash_algorithm | ||
- signature_algorithm | ||
- signed_attributes | ||
- signature | ||
- encapsulated_content | ||
- aa_signature | ||
- pem_file | ||
- dg15 | ||
properties: | ||
hash_algorithm: | ||
type: string | ||
description: The hash algorithm used to hash the content | ||
signature_algorithm: | ||
type: string | ||
description: The signature algorithm used to sign the content | ||
signed_attributes: | ||
type: string | ||
description: The signed attributes, for e.g. 104 bytes-long hex string | ||
signature: | ||
type: string | ||
description: Signature corresponding to the algorithm | ||
aa_signature: | ||
type: string | ||
description: The active authentication signature | ||
encapsulated_content: | ||
type: string | ||
description: The encapsulated content, for e.g. 186 bytes-long hex string | ||
pem_file: | ||
type: string | ||
description: The PEM file containing the public key | ||
dg15: | ||
type: string | ||
description: The Data Group 15, hex string | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
allOf: | ||
- $ref: '#/components/schemas/SignatureKey' | ||
- type: object | ||
required: | ||
- attributes | ||
properties: | ||
attributes: | ||
type: object | ||
required: | ||
- signature | ||
- document_hash | ||
properties: | ||
signature: | ||
type: string | ||
example: 7768792064696420796F75206576656E206465636F6465642069743F | ||
description: ECDSA signature of the document hash | ||
document_hash: | ||
type: string | ||
example: 7768792064696420796F75206576656E206465636F6465642069743F | ||
description: Poseidon hash of the document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
type: object | ||
required: | ||
- id | ||
- type | ||
properties: | ||
id: | ||
type: string | ||
type: | ||
type: string | ||
enum: | ||
- signature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.