26.33. kych-eid-berca(1)#

26.33.1. Name#

kych-eid-berca - the BerCA client of kych-eid: terminal certificates and lists

26.33.2. Synopsis#

kych-eid-berca [-c CONFIG] [-L LEVEL] [-v] init [–sequence N] | update | renew [–force] | lists | status

26.33.3. Description#

kych-eid-berca fetches the trust material of kych-eid(1) from the service provider’s BerCA (Berechtigungszertifikate-Anbieter; D-Trust in production), the authorisation CA of BSI TR-03129: SOAP over HTTPS with TLS client authentication, its three services terminal authentication, passive authentication and restricted identification. It writes into STATE_DIR, every file checked before it replaces the old one, and the old one replaced atomically; kych-eid loads what changed at its next reload.

init

Generate a terminal key (brainpoolP256r1), request the first authorisation certificate for it (holder reference HOLDER with sequence number N, by default 1; the request is not authenticated), fetch the DV and CVCA certificates, the certificate description and the sector public key the new certificate names – both checked against its hashes – then the lists.

renew

If the terminal certificate expires within RENEW_BEFORE (or with –force): a new key, a request authenticated with the current key (TR-03110-3 §C.2), the next sequence number. The new key is kept in terminal-next.key.pem until the certificate for it is there, so that a request whose answer was lost can be repeated.

lists

The CSCA master list (checked against MASTER_LIST_TRUST_ANCHOR), the defect list (against the master list’s CSCAs) and the complete block list from the URL the BerCA names (against BLOCK_LIST_TRUST_ANCHOR).

update

renew if due, then lists: what kych-eid-berca.timer runs every two hours.

status

Load the trust material as kych-eid would, and describe it.

Run it as the user kych-eid runs as (kych-eid): the terminal key is that user’s alone.

Not implemented (yet): delta block lists, sendeIDServerCerts (TLS “entanglement”) and request signer certificates (the outer signature of an initial request), callbacks (callback_possible), PKCS#11 keys.

26.33.4. Options#

-c CONFIG | –config=CONFIG

Use the configuration file CONFIG; see kych-eid.conf(5), section [kych-eid-berca], and STATE_DIR and the trust anchors of [kych-eid].

-L LEVEL | –log=LEVEL

Set the logging verbosity. Defaults to INFO.

-v | –verbose

Also log what the libraries have to say.

26.33.5. See Also#

kych-eid(1), kych-eid.conf(5).

BSI TR-03129 (PKIs for Machine Readable Travel Documents, protocols for the management of certificates and CRLs), TR-03110-3.

26.33.6. Bugs#

Report bugs by using https://bugs.taler.net/ or by sending electronic mail to <taler@gnu.org>.