Getting more information about vcn
You can learn about all the options and ways vcn is working by issuing
$ vcn --help
More help on notarizing is available through:
$ vcn n --help
There is also help available for authenticating and other functions of vcn
:
$ vcn a --help
...
Authenticate multiple assets
You can authenticate multiple assets by piping other command outputs into vcn:
ls | xargs vcn authenticate
The exit code will be 0 only if all the assets in your other command outputs are verified.
Authenticate by a specific signer
By adding --signerID
, you can authenticate that your asset has been signed by a specific SignerID. A SignerID is the signer's public address (represented as a 40 hex characters long string prefixed with 0x).
$ vcn authenticate --signerID identityname docker://hello-world
Be aware that using the --signerID
flag will take precedence over VCN_SIGNERID
.
The asset authentication will succeed only if the asset has been signed by at least one of the signers.
Wildcard support and recursive notarization
It's also possible to notarize assets using wildcards. With the --recursive
flag it is possible to iterate over inner directories.
$ ./vcn n "*.md" --recursive
Notarize all files in the current directory:
$ ./vcn n -r "./*"
Authenticate using the asset's hash
If you want to authenticate an asset using only its hash, you can do so by using the command as shown below:
$ vcn authenticate --hash fce289e99eb9bca977dae136fbe2a82b6b7d4c372474c9235adc1741675f587e
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article