NAME
chipcardc.conf - LibChipCard client configuration file format
DESCRIPTION
All applications which are using LibChipCard are configured via a configuration file called chipcardc.conf. This configuration file is expected to be in /etc/libchipcard/chipcardc.conf.
Please see libchipcard.conf(5) for a description of the basic syntax of configuration files for LibChipCard.
ROOT
The root contains general information about the client mode.
timeout
-
Time to wait in milliseconds for server responses per round. In each round LibChipCard first waits up the the time given here for server responses. After that it handles these responses.Recommended values are 500-1000 (best is 750)
maxmsg
-
Maximum number of response to handle per loop (see above for an explanation for the round)
SERVICE
The configuration file holds one or more service groups which describe where card servers are located. These groups are enumerated, so that the second element of the groupname is the sequence number in a list of services (e.g. [service/1] is the first service, [service/2] is the second and so on.
address
-
Address of a machine that runs a card server. This address can be given in 3-dot notation (e.g. 1.2.3.4) or as the hostname, which will be looked up.
Please note: If you only want to use local services (i.e. not sharing the readers between multiple hosts) then you should use the address 127.0.0.1 (or localhost).
port
-
TCP port the card server is listening on. The default value is 32891.
EXAMPLE
This is a simple configuration file which uses a local card server listening at port 32891 (which is the default port).
-
timeout="750"
maxmsg="20"
[service/1]
address="127.0.0.1"
port="32891"
FILES
/etc/libchipcard/chipcardc.conf