Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Wallet Instance Attestation #14

Merged
merged 53 commits into from
Jul 3, 2023

Conversation

grausof
Copy link
Collaborator

@grausof grausof commented Jun 15, 2023

Wallet Instance Attestation

This PR adds the design review of the Wallet Instance Attestation including the request flow and format of the Wallet Instance Attestation Request and Wallet Provider Entity Configuration

resolve #4

  • Ensure your files are written following RST specs (not MD!)
  • Italian version
  • English version
  • Example files
  • Ask for review

@grausof grausof changed the title [Wallet Solution] Wallet Instance Attestation feat: Wallet Instance Attestation Jun 15, 2023
@grausof grausof requested review from peppelinux and removed request for manuelcoppotelli June 16, 2023 07:33
docs/en/wallet-instance-attestation.rst Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
@grausof grausof requested a review from peppelinux June 27, 2023 12:26
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
Co-authored-by: Giuseppe De Marco <[email protected]>
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
@peppelinux peppelinux requested a review from ruphy June 28, 2023 07:14

- **Message 1**: The User initializes the Wallet Instance.
In particular, this process happens when the mobile application
is launched and every time the User wants to request or present
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When it is launched the first time after the installation and when it is expired. During the request or the presentation is under discussion. We have to take into account also the flows in presence and when the wallet instance does not have the connection.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So how can we rephrase this sentence for now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fmarino-ipzs please provide a suggestion to be committed

.github/workflows/gh-pages.yml Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
|| || client-assertion-type: |
|| || ``jwt-key-attestation``. |
+------------------------------------+------------------------------------+
|| token_endpoint_auth_methods_suppo || Supported authentication method |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we must define what exactly is the supported client authentication method

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
|| rted || for the endpoint token. |
|| || |
+------------------------------------+------------------------------------+
|| token_endpoint_auth_signing_alg_v || List of supported signature |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on the supported client authentication mechanism we must have this parameter.

.github/workflows/gh-pages.yml Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
- **Message 4**: The Wallet Instance verifies that the Wallet Provider is
trustworthy by resolving the provider's trust chain up to the anchor
- **Message 5-7**: The Wallet Instance instantiates a new key pair on its TEE
and requests a ``nonce`` from the Wallet Provider (as a measure
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I agree

docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
docs/en/wallet-instance-attestation.rst Outdated Show resolved Hide resolved
- **Message 4**: The Wallet Instance verifies that the Wallet Provider is
trustworthy by resolving the provider's trust chain up to the anchor
- **Message 5-7**: The Wallet Instance instantiates a new key pair on its TEE
and requests a ``nonce`` from the Wallet Provider (as a measure
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The nonce parameter could be useful for Integrity API flow.

@peppelinux peppelinux merged commit c33f76e into versione-corrente Jul 3, 2023
@peppelinux peppelinux deleted the wallet-instance-attestation-SIW-151 branch July 12, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Wallet Solution] Wallet Instance Attestation
4 participants