Project

General

Profile

Actions

Bug #4323

closed

ndnsec cert-dump prints wrong certificate under same key

Added by Junxiao Shi about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Steps to reproduce:

  1. rm -rf ~/.ndn
  2. ndnsec key-gen /root
  3. ndnsec key-gen /sub > ~/sub.ndncertreq
  4. ndnsec cert-gen -s /root ~/sub.ndncertreq > ~/sub.ndncert
  5. ndnsec cert-install ~/sub.ndncert
  6. ndnsec list -c, record the two certificates under /sub identity
  7. ndnsec cert-dump first certificate name
  8. ndnsec 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


Related issues 1 (0 open1 closed)

Blocks NFD - Task #4275: Release 0.6.0ClosedAlex Afanasyev

Actions
Actions

Also available in: Atom PDF