-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feature/254 pyeudiw backend keys configuration #324
base: dev
Are you sure you want to change the base?
Feature/254 pyeudiw backend keys configuration #324
Conversation
resolve #254 |
|
||
| Environment Variable | Description | Example Value | | ||
| ------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `PYEUDIW_METADATA_JWKS` | Contains the private JSON Web Keys (JWK) used for metadata. Each key must be represented as a JSON object. | `[{"kty":"EC", "crv":"P-256", "x":"TSO-KOqdnUj5SUuasdlRB2VVFSqtJOxuR5GftUTuBdk", "y":"ByWgQt1wGBSnF56jQqLdoO1xKUynMY-BHIDB3eXlR7", "d":"KzQBowMMoPmSZe7G8QsdEWc1IvR2nsgE8qTOYmMcLtc", "use":"sig", "kid":"dDwPWXz5sCtczj7CJbqgPGJ2qQ83gZ9Sfs-tJyULi6s"}]` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the current state of the program, a signing key (to sign jar jwt) and an encryption key (to let the wallet encrypt authorization response) must be defined. This might change in the future, especially on the encryption side of the things as it is not required in some use cases, but so far it is (soft) required.
I would include this in the doc and update the example to include an array with a signing jwk and an encryption jwk.
| Environment Variable | Description | Example Value | | ||
| ------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `PYEUDIW_METADATA_JWKS` | Contains the private JSON Web Keys (JWK) used for metadata. Each key must be represented as a JSON object. | `[{"kty":"EC", "crv":"P-256", "x":"TSO-KOqdnUj5SUuasdlRB2VVFSqtJOxuR5GftUTuBdk", "y":"ByWgQt1wGBSnF56jQqLdoO1xKUynMY-BHIDB3eXlR7", "d":"KzQBowMMoPmSZe7G8QsdEWc1IvR2nsgE8qTOYmMcLtc", "use":"sig", "kid":"dDwPWXz5sCtczj7CJbqgPGJ2qQ83gZ9Sfs-tJyULi6s"}]` | | ||
| `PYEUDIW_FEDERATION_JWKS` | Contains the public JSON Web Keys (JWK) used for federation. Each key must be represented as a JSON object. | `[{"kty":"RSA", "n":"utqtxbs-jnK0cPsV7aRkkZKA9t4S-WSZa3nCZtYIKDpgLnR_qcpeF0diJZvKOqXmj2cXaKFUE-8uHKAHo7BL7T-Rj2x3vGESh7SG1pE0thDGlXj4yNsg0qNvCXtk703L2H3i1UXwx6nq1uFxD2EcOE4a6qDYBI16Zl71TUZktJwmOejoHl16CPWqDLGo9GUSk_MmHOV20m4wXWkB4qbvpWVY8H6b2a0rB1B1YPOs5ZLYarSYZgjDEg6DMtZ4NgiwZ-4N1aaLwyO-GLwt9Vf-NBKwoxeRyD3zWE2FXRFBbhKGksMrCGnFDsNl5JTlPja", "e":"AQAB", "kid":"9Cquk0X-fNPSdePQIgQcQZtD6J0IjIRrFigW2PPK_-w"}]` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example key should be private, as we should use it to perform signing operation
No description provided.