Yingdi Yu | 77627ab | 2015-07-21 16:13:49 -0700 | [diff] [blame] | 1 | ndn-pib |
| 2 | ======== |
| 3 | |
| 4 | ``ndn-pib`` is a public key and certificate management and publishing service. |
| 5 | |
| 6 | Usage |
| 7 | ----- |
| 8 | |
| 9 | :: |
| 10 | |
| 11 | ndn-pib [-h] -o owner -d database_dir -t tpm_locator |
| 12 | |
| 13 | Description |
| 14 | ----------- |
| 15 | |
| 16 | This command will start a PIB service process which serves signing key lookup/management for local |
| 17 | applications and also public the public key certificate of signing keys. The lookup/management |
| 18 | interface listens on a prefix "/localhost/pib/[OwnerName]" and accept five types of command (get, |
| 19 | default, 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 | |
| 22 | Since PIB service is queried through Interest/Data exchange, NFD is required to run before this |
| 23 | command is executed. |
| 24 | |
| 25 | This command requires three arguments: ``owner`` specify the owner of the pib service, which is also |
| 26 | the third name component in the local lookup/management prefix; ``database_dir`` is the path to the |
| 27 | database where all the public key, certificate, identity are stored and managed; ``tpm_locator`` is |
| 28 | locator of a TPM which stores the corresponding private key of the public keys in PIB. |
| 29 | |
| 30 | Example |
| 31 | ------- |
| 32 | |
| 33 | :: |
| 34 | |
| 35 | $ ndn-pib -o alice -d /var/pib -t tpm-file:/var/ndn/tpm |