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 ~/.ndnndnsec key-gen /rootndnsec key-gen /sub > ~/sub.ndncertreqndnsec cert-gen -s /root ~/sub.ndncertreq > ~/sub.ndncertndnsec cert-install ~/sub.ndncertndnsec list -c, record the two certificates under/subidentityndnsec cert-dumpfirst certificate namendnsec cert-dumpsecond 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 8 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 8 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Davide Pesavento about 8 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