blob: e94a7d2432a2a8f1131955434373b08f3108deee [file] [log] [blame]
Yingdi Yu77627ab2015-07-21 16:13:49 -07001ndn-pib
2========
3
4``ndn-pib`` is a public key and certificate management and publishing service.
5
6Usage
7-----
8
9::
10
11 ndn-pib [-h] -o owner -d database_dir -t tpm_locator
12
13Description
14-----------
15
16This command will start a PIB service process which serves signing key lookup/management for local
17applications and also public the public key certificate of signing keys. The lookup/management
18interface listens on a prefix "/localhost/pib/[OwnerName]" and accept five types of command (get,
19default, list, update, delete). More details can be found at `Public key Info Base (PIB) Service
20<http://redmine.named-data.net/projects/ndn-cxx/wiki/PublicKey_Info_Base>`__
21
22Since PIB service is queried through Interest/Data exchange, NFD is required to run before this
23command is executed.
24
25This command requires three arguments: ``owner`` specify the owner of the pib service, which is also
26the third name component in the local lookup/management prefix; ``database_dir`` is the path to the
27database where all the public key, certificate, identity are stored and managed; ``tpm_locator`` is
28locator of a TPM which stores the corresponding private key of the public keys in PIB.
29
30Example
31-------
32
33::
34
35 $ ndn-pib -o alice -d /var/pib -t tpm-file:/var/ndn/tpm