Read-only mirror of https://github.com/swiyu-admin-ch/swiyu-generic-test-wallet — Bundesamt für Justiz. Issues & pull requests at the source.
  • TypeScript 75.9%
  • HTML 17.8%
  • CSS 4.8%
  • SCSS 0.6%
  • JavaScript 0.5%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dependabot[bot] c0146e29c6
build(deps-dev): bump tar from 7.5.13 to 7.5.24 (#130)
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>
2026-12-03 12:51:44 +01:00
.github build(deps-dev): bump vitest from 4.1.4 to 4.1.8 (#109) 2026-11-20 07:56:36 +01:00
docs/screenshots feat(EIDOMNI-658): Update README (#20) 2026-03-03 09:11:03 +01:00
openapi-spec feat:use correct trust-data url 2026-07-27 17:00:39 +02:00
scripts feat(EIDOMNI-658): Add sonar script & Fix sonar smells findings (#18) 2026-02-18 19:02:05 +01:00
src feat(EIDOMNI-1629): Resolve scoped DCQL from verifier trust statements (#125) 2026-11-20 14:15:21 +01:00
.gitignore feat(EIDOMNI-658): Add sonar script & Fix sonar smells findings (#18) 2026-02-18 19:02:05 +01:00
.sonarlintignore feat(EIDOMNI-658): Add sonar script & Fix sonar smells findings (#18) 2026-02-18 19:02:05 +01:00
angular.json feat: implement DPoP support and refactor environment configuration 2026-06-11 09:26:41 +02:00
CHANGELOG.md feat(EIDOMNI-1629): Resolve scoped DCQL from verifier trust statements (#125) 2026-11-20 14:15:21 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2026-01-30 13:32:44 +01:00
eslint.config.js Feature/eidomni 809 (#53) 2026-03-22 18:44:43 +01:00
GUIDE.md Feature/eidomni 901 add support batch vcs and deeplink multiple custom protocols (#79) 2026-04-17 14:47:38 +02:00
LICENSE Create LICENSE 2026-02-18 16:58:43 +01:00
openapitools.json Feature/eidomni 676 (#10) 2026-02-11 05:24:12 +01:00
package-lock.json build(deps-dev): bump tar from 7.5.13 to 7.5.24 (#130) 2026-12-03 12:51:44 +01:00
package.json build(deps): bump the vitest group with 7 updates (#128) 2026-12-03 12:51:23 +01:00
pom.xml Feature/eidomni 658 code cleanup public release (#19) 2026-02-18 19:36:08 +01:00
proxy.conf.json feat(EIDOMNI-352) . add issuance v1 2025-12-31 11:47:18 +01:00
README.md Feature/eidomni 1629 documentation (#124) 2026-11-20 08:54:20 +01:00
SECURITY.md Create SECURITY.md 2026-01-30 13:34:38 +01:00
sonar-project.properties feat(EIDOMNI-658): Add sonar script & Fix sonar smells findings (#18) 2026-02-18 19:02:05 +01:00
tsconfig.app.json Feature/eidomni 809 (#53) 2026-03-22 18:44:43 +01:00
tsconfig.json Feature/eidomni 809 (#53) 2026-03-22 18:44:43 +01:00
tsconfig.spec.json Feature/eidomni 809 (#53) 2026-03-22 18:44:43 +01:00
vitest.config.ts Feature/eidomni 809 (#53) 2026-03-22 18:44:43 +01:00

github-banner

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

  1. Set the correct Node.js version:
nvm use 24
  1. Install dependencies:
npm ci
  1. 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.