Project

General

Profile

Bug #4323

ndnsec cert-dump prints wrong certificate under same key

Added by Junxiao Shi almost 3 years ago. Updated almost 3 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

Blocks NFD - Task #4275: Release 0.6.0ClosedAlex Afanasyev

Actions
#1

Updated by Junxiao Shi almost 3 years ago

#2

Updated by Junxiao Shi almost 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Estimated time set to 1.00 h
#3

Updated by Junxiao Shi almost 3 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
#4

Updated by Davide Pesavento almost 3 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

Also available in: Atom PDF