Actions
Bug #4323
closedndnsec cert-dump prints wrong certificate under same key
Start date:
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
Steps to reproduce:
rm -rf ~/.ndn
ndnsec key-gen /root
ndnsec key-gen /sub > ~/sub.ndncertreq
ndnsec cert-gen -s /root ~/sub.ndncertreq > ~/sub.ndncert
ndnsec cert-install ~/sub.ndncert
ndnsec list -c
, record the two certificates under/sub
identityndnsec cert-dump
first certificate namendnsec cert-dump
second certificate name
Expected: step7 and step8 print different certificates
Actual: step7 and step8 print the same certificate
Observation: step7 and step8 both print the default certificate of the key, and the output would change if the other certificate is set as default
Updated by Junxiao Shi about 7 years ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Estimated time set to 1.00 h
This is caused by an incorrect getDefaultCertificate
invocation.
Updated by Junxiao Shi about 7 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Davide Pesavento about 7 years ago
- Subject changed from ndnsec cert-dump: print wrong certificate under same key to ndnsec cert-dump prints wrong certificate under same key
- Status changed from Code review to Closed
Actions