4. KyCH Manual#
KyCH is an OAuth 2.0 gateway for the electronic
identification of natural persons. A client – a GNU Taler exchange, or
Beekeeper acting for one – sends the person’s browser to KyCH with an
ordinary OAuth 2.0 authorization request. KyCH lets the person identify with
one of several electronic means, has a helper program do the protocol and
the cryptography, and hands the verified attributes back through
/token and /info, together with the evidence of how they were
checked:
the EU Digital Identity Wallet, presenting the person identification data (PID) as an SD-JWT VC or as an ISO mdoc over OpenID4VP 1.0;
the online function of the German identity card (also of the eID card for EU citizens and of the electronic residence permit), read by an eID server of the operator’s own;
another member state’s notified eID, through the eIDAS network and a connector of the operator’s own;
the Swiss e-ID in the swiyu wallet.
KyCH itself does no cryptography: it chooses a helper, shows the person a QR code, a deep link or a redirect, collects the result, and keeps what it received only as long as the client needs to fetch it.
4.1. About this manual#
The manual is written for several readers, each of whom needs only some of its chapters:
Decision makers and auditors – what KyCH does and does not do, and why it can be trusted: Features and limitations, Architecture, Threat model and security analysis.
System administrators – how to install, configure and run it: Installation, Setting up the helpers, Configuration, Authorisations, certificates and whom to ask, The exchange and Beekeeper, Administration, Dependencies.
AML officers and support staff – what an identification by eID means and what to do when one fails: Guide for AML officers and support staff.
Persons identifying themselves – what they need and what happens to their data: Guide for persons identifying themselves, written so that an operator can hand it out or adapt it.
The programs themselves are described in full by their manual pages
(UNIX Man Pages), and the two HTTP interfaces by KyCH OAuth2 Gateway RESTful API and
KyCH-native Helper RESTful API. Where this manual states a test result, it names the
file in the KyCH source tree (https://git.taler.net/kych.git) that
records the run. To report problems, use the
bug tracker.
- 4.1.1. Features and limitations
- 4.1.2. Architecture
- 4.1.3. Installation
- 4.1.3.1. What to install
- 4.1.3.2. Building the packages
- 4.1.3.3. Order of installation
- 4.1.3.4. Databases
- 4.1.3.5. The reverse proxy: public and private paths
- 4.1.3.6. The
kychpackage - 4.1.3.7. A minimal deployment for a German institution
- 4.1.3.8. A test deployment on simulated trust
- 4.1.3.9. Running from a source installation
- 4.1.4. Setting up the helpers
- 4.1.5. Configuration
- 4.1.6. Authorisations, certificates and whom to ask
- 4.1.7. The exchange and Beekeeper
- 4.1.8. Administration
- 4.1.9. Guide for AML officers and support staff
- 4.1.10. Guide for persons identifying themselves
- 4.1.11. Threat model and security analysis
- 4.1.12. Dependencies
- 4.1.13. References