- TypeScript 75.9%
- HTML 17.8%
- CSS 4.8%
- SCSS 0.6%
- JavaScript 0.5%
- Other 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.13 to 7.5.24. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-tar/compare/v7.5.13...v7.5.24) --- updated-dependencies: - dependency-name: tar dependency-version: 7.5.24 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
| .github | ||
| docs/screenshots | ||
| openapi-spec | ||
| scripts | ||
| src | ||
| .gitignore | ||
| .sonarlintignore | ||
| angular.json | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| eslint.config.js | ||
| GUIDE.md | ||
| LICENSE | ||
| openapitools.json | ||
| package-lock.json | ||
| package.json | ||
| pom.xml | ||
| proxy.conf.json | ||
| README.md | ||
| SECURITY.md | ||
| sonar-project.properties | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
| vitest.config.ts | ||
swiyu Generic Test Wallet
The swiyu Generic Test Wallet is a web application that simulates a wallet to test credential issuance and verification flows based on OID4VCI and OID4VP.
It is primarily intended to validate your own deployment of the swiyu Generic Issuer and Verifier components. During integration or configuration phases, it allows developers to execute real issuance and verification flows end-to-end, starting from a deeplink and following the complete protocol exchange.
Because it behaves like a minimal wallet frontend, it makes the different protocol steps visible and reproducible. This helps quickly identify whether a failure is caused by configuration issues, endpoint exposure, trust setup, metadata problems, or protocol-level errors without needing a real mobile wallet.
The Test Wallet is therefore a practical diagnostic and integration tool for developers deploying and configuring the swiyu Generic components.
Table of Contents
Demo
A public deployment of the swiyu Generic Test Wallet is available at:
https://swiyu-admin-ch.github.io/swiyu-generic-test-wallet/
The hosted wallet targets manual issuance and verification testing with swiyu Generic Issuer and Generic Verifier 5.x. You can use it to test your own deployments directly from GitHub Pages. For recent changes, see the changelog.
Important: To use the demo against locally deployed backend services, you may need to disable browser CORS security.
⚠️ Security Warning: Disabling CORS should only be done on a separate browser profile used exclusively for development and testing. Never disable CORS on your main browser profile.
Prerequisites
Before starting the development server or building the application, ensure you have the following:
Required Software
| Tool | Version | Purpose |
|---|---|---|
| Node.js | 22.13+ (22.x) or 24.x | JavaScript runtime |
| npm | 9.x or higher | Package manager |
| Java | 11 or higher | Run OpenAPI Generator |
Getting Started
Installation
- Set the correct Node.js version:
nvm use 24
- Install dependencies:
npm ci
- Generate API client classes (required once, and after API spec updates):
npm run generate:apis
This command generates Angular clients from the OpenAPI specifications for the issuer, verifier and trust APIs.
Development Server
Start the development server:
npm start
The application will be available at http://localhost:4200.
Building for Production
npm run build
The build artifacts will be stored in the dist/ directory.
Unit Tests and Linting
npm test
npm run lint
Supported Features
Credential Issuance
- Credential offer links
- Signed and unsigned metadata
- Pre-authorized code flow
- Transaction code
- Single and batch issuance
- SD-JWT credentials
- Holder binding
- Configurable proof count
- Request and response encryption
- DPoP
Credential Verification
- Verification links and request URLs
- DCQL queries
- Selective disclosure
- Holder binding
- Encrypted and unencrypted responses
Troubleshooting
- Step-by-step results and errors
- Issuer and verifier response inspection
- DID resolution
- Trust Protocol 2.0 diagnostics
Browser Session
- In-memory credential and key storage
- Credential copying and reuse in the same tab
- Saved wallet settings
Usage Guide
For detailed step-by-step instructions on testing credential issuance and verification flows, please refer to the Usage Guide.
The guide covers:
- Browser CORS Configuration
- Understanding Deeplinks
- Part 1: Issuance
- Part 2: Verification
- Extracting Deeplinks from QR Codes
Contributing
We welcome any feedback on the code regarding both the implementation and security aspects. Please follow the guidelines for contributing found in CONTRIBUTING.md.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for details.
