Project

General

Profile

Actions

Bug #4323

closed

ndnsec cert-dump prints wrong certificate under same key

Added by Junxiao Shi over 6 years ago. Updated over 6 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 #1

Updated by Junxiao Shi over 6 years ago

Actions #2

Updated by Junxiao Shi over 6 years ago

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

Updated by Junxiao Shi over 6 years ago

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

Updated by Davide Pesavento over 6 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

Also available in: Atom PDF