./ccn-publish-key.sh is used to publish public key in a local repo Usage: ./ccn-publish-key.sh [-h] [-i identity] [-a affiliation] [-f key_file] [-k signing_key] [-u pubkey_uri] [-p key_prefix] [-x validity_period] Reads key, storing it to local repo -h print this help message -i specify the real-world identity of the key owner -a specify the affiliation of the key owner -f specify the public key file -p specify the key name prefix -F specify the path to the keystore (directory that contains .ccnx_keystore file). Keystore password can be defined through CCNX_KEYSTORE_PASSWORD environment variable -P specify the name prefix of signing public key -x specify the validity period in days If -P option is set to self (-P self), then key will be "self-signed" (public key will be placed in ContentObject). Normally, it should be used only for the root key signing, but may also be used to create a local trust anchors.