Actions
Bug #2787
closedndnsec cert-gen -h relies on default identity
Status:
Closed
Priority:
Low
Assignee:
-
Category:
Security
Target version:
-
Start date:
05/04/2015
Due date:
% Done:
0%
Estimated time:
1.00 h
Description
Steps to reproduce:
rm -rf $HOME/.ndnndnsec cert-gen -h
Expect: help message is printed
Actual: ERROR: SecPublicInfoSqlite3::getDefaultIdentity no default identity
Updated by Junxiao Shi over 10 years ago
ndnsec cert-revoke -h has the same issue. Other sub-commands are correct.
Updated by Junxiao Shi over 8 years ago
- 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
Actions