Feature #3776
closed
ndnsec-set-default: warn if item doesn't exist
Added by Jeff Burke over 8 years ago.
Updated almost 8 years ago.
Description
When a non-existent identity/key/certificate is specified to be set as default in ndnsec-set-default
, it is silently created.
In most cases, the operator wants to set an existing identity/key/certificate as the default rather than creating a new one, because creating new identity as default is already supported by ndnsec-keygen
command.
ndnsec-set-default
should print a warning if new identity/key/certificate is being created, to alert the operator about possible human error.
- Description updated (diff)
- Tracker changed from Bug to Feature
- Subject changed from ndnsec allows default identity to be set to unavailable cert with no warning to ndnsec-set-default: warn if item doesn't exist
- Description updated (diff)
- Category set to Tools
- Start date deleted (
09/11/2016)
- Estimated time set to 3.00 h
Original title: ndnsec allows default identity to be set to unavailable cert with no warning
Original description:
What is the purpose for supporting this behavior?
$ ndnsec list
/ndn/edu/ucla/remap/jburke
- /ndn/edu/ucla/jburke
/ndn/edu/jburke/golem
$ ndnsec set-default /dish/soap
[Silence...]
$ ndnsec list
- /dish/soap <= not available
/ndn/edu/ucla/jburke/golem
/ndn/edu/ucla/remap/jburke
/ndn/edu/ucla/jburke
Even if identities without certs can be added, I would suggest that set-default should warn or fail if the cert isn't available.
This ticket should be moved to ndn-cxx project.
- Project changed from NFD to ndn-cxx
- Category changed from Tools to Security
- Status changed from New to Closed
As of ndn-cxx 0.5.1-91-g3f205e2
:
vagrant@m0212:~$ ndnsec list
/identity
vagrant@m0212:~$ ndnsec-set-default /new-identity
ERROR: Identity /new-identity does not existvagrant@m0212:~$
This problem no longer exists, but the output is missing a newline at the end.
Also available in: Atom
PDF