Bug #2787
closed
ndnsec cert-gen -h relies on default identity
Added by Junxiao Shi over 10 years ago.
Updated over 8 years ago.
Description
Steps to reproduce:
rm -rf $HOME/.ndn
ndnsec cert-gen -h
Expect: help message is printed
Actual: ERROR: SecPublicInfoSqlite3::getDefaultIdentity no default identity
ndnsec cert-revoke -h has the same issue. Other sub-commands are correct.
- Status changed from New to Closed
This issue no longer exists in ndn-cxx 0.5.1-91-g3f205e2.
vagrant@m0212:~$ rm -rf $HOME/.ndn
vagrant@m0212:~$ ndnsec cert-gen -h
General Usage
ndnsec cert-gen [-h] [-S date] [-E date] [-I info] [-s sign-id] request
General options:
-h [ --help ] produce help message
-S [ --not-before ] arg certificate starting date, YYYYMMDDhhmmss
(default: now)
-E [ --not-after ] arg certificate ending date, YYYYMMDDhhmmss
(default: now + 365 days)
-I [ --info ] arg key and value (must be separated by a single
space) of the additional description to be
included in the issued certificate, e.g.,
"affiliation University of California, Los
Angeles". May be repeated multiple times
-s [ --sign-id ] arg signing identity
-r [ --request ] arg (=-) request file name, - for stdin
-i [ --issuer-id ] arg (=NA) issuer's ID to be included as part of the issued
certificate name
Also available in: Atom
PDF