Identity provisions#1
Open
csibbach wants to merge 6 commits into
Open
Conversation
- Introduced the `@1shotapi/ows-credentials` package, including types, mocks, and OID4VCI/OID4VP abstractions. - Added examples for a mock credential issuer and verifier, demonstrating credential offer and presentation processes. - Updated the general wallet example to support credential management and display. - Enhanced documentation in `AGENTS.md` and added normative docs for the credentials extension in `spec/credentials/`. - Updated package configurations and scripts to integrate new credential functionalities across examples.
- Added `module` and `moduleResolution` options to `tsconfig.json` files for credential issuer, verifier, and host examples to support ESNext modules. - Introduced `extensionAlias` in Webpack configurations for credential issuer, verifier, general wallet, and host examples to resolve `.js` extensions to `.ts` and `.js`. - Updated `mock-verifier.ts` to use `CredentialIssuer` type for improved type safety in the `validateMockPresentation` function. - Enhanced the general wallet example by integrating a new function to display a dialog for listing credentials.
- Removed unused wallet container styles from CSS files in credential issuer, verifier, and host examples to streamline the UI. - Replaced `InMemoryCredentialStore` with `LocalStorageCredentialStore` in the general wallet example to enable persistent credential storage across sessions. - Introduced a new `LocalStorageCredentialStore` class for managing credentials in local storage, including methods for saving, retrieving, and deleting credentials. - Added tests for the `LocalStorageCredentialStore` to ensure functionality and persistence across instances. - Enhanced the display handling in the OWS provider to initialize hidden states for iframe containers, improving UI management.
- Implemented real SD-JWT VC presentation building with selective disclosure and holder key binding using `@sd-jwt/core` and `@sd-jwt/sd-jwt-vc`. - Updated examples to demonstrate issuing and presenting cryptographically valid demo credentials. - Extended `BrandingSignerHost` with new methods `getPublicKey` and `signDigest` for improved wallet-bound presentations. - Refactored credential verifier to support asynchronous validation of mock presentations. - Enhanced the credentials provider module to include holder key binding functionality for SD-JWT VCs.
…ntials package - Integrated verifiable credential functionalities into core OWS packages, including types and OID4 interfaces in `ows-types`, branding wire and SD-JWT presentation in `ows-wallet-utils`, and host proxy and SD-JWT verification in `ows-provider`. - Moved demo-only mock OID4 clients and fixtures to a new `examples/credentials-shared` directory for better organization and accessibility. - Removed the `@1shotapi/ows-credentials` package, streamlining the credential management process across examples and enhancing overall code maintainability.
- Moved SD-JWT VC presentation and crypto utilities from `@1shotapi/ows-wallet-utils` to `@1shotapi/ows-types`, enhancing modularity and clarity in the codebase. - Updated dependencies across various packages and examples to reflect the removal of `ows-wallet-utils` dependencies where applicable. - Adjusted import paths in examples and tests to utilize the new structure, ensuring seamless functionality with the updated utility locations. - Documented changes in `AGENTS.md` to clarify the new roles of `ows-types` and `ows-wallet-utils` in handling SD-JWT functionalities.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstrap identity/verifiable credentials system, providing new examples packages for issuer and verifier. There's a roadmap doc for completing everything and removing the mocks.