1OPENPGP-TOOL(1)                  OpenSC Tools                  OPENPGP-TOOL(1)
2
3
4

NAME

6       openpgp-tool - utility for accessing visible data OpenPGP smart cards
7       and compatible tokens
8

SYNOPSIS

10       openpgp-tool [OPTIONS]
11

DESCRIPTION

13       The openpgp-tool utility is used for accessing data from the OpenPGP
14       v1.1 and v2.0 smart cards and compatible tokens like e.g. GPF
15       CryptoStick v1.x, which might not be present in PKCS#15 objects but
16       available in custom files on the card. The data can be printed on
17       screen or used by other programs via environment variables.
18

OPTIONS

20       --exec prog, -x prog
21           Execute the given program with data in environment variables.
22
23       --help, -h
24           Print help message on screen.
25
26       --raw
27           Print values in raw format, as they are stored on the card.
28
29       --pretty
30           Print values in pretty format.
31
32       --user-info, -U
33           Show card holder information.
34
35       --reader num, -r num
36           Use the given reader. The default is the first reader with a card.
37
38       --verify pintype
39           Verify PIN (CHV1, CHV2 or CHV3).
40
41       --pin string
42           The PIN text to verify. If set to env:VARIABLE, the value of the
43           environment variable VARIABLE is used.
44
45       --gen-key ID, -G ID
46           Generate key. Specify key ID (1, 2 or 3) to generate.
47
48       --key-length bitlength, -L bitlength
49           Length (default 2048 bit) of the key to be generated.
50
51       --version, -V
52           Print the version of the utility and exit.
53
54       --verbose, -v
55           Verbose operation. Use several times to enable debug output.
56
57       --wait, -w
58           Wait for a card to be inserted.
59

AUTHORS

61       openpgp-tool utility was written by Peter Marschall <peter@adpm.de>.
62
63
64
65opensc                            10/30/2018                   OPENPGP-TOOL(1)
Impressum