Project

General

Profile

Bug #4297

'ndnsec key-gen' does not create keys correctly on macOS when tpm=tpm-file

Added by Haitao Zhang over 3 years ago. Updated over 2 years ago.

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

0%

Estimated time:

Description

To reproduce the bug:

  1. In /usr/local/etc/ndn/client.conf, add tpm=tpm-file
  2. Run "ndnsec key-gen /test"
  3. Run "ndnsec list", identity /test doesn't exist; check pib.db file, identity, key, cert corresponding to /test do not exist.
#1

Updated by Davide Pesavento over 3 years ago

  • Subject changed from “ndnsec key-gen” does not create keys correctly on macOS when tmp is set to be tmp-file to 'ndnsec key-gen' does not create keys correctly on macOS when tpm=tpm-file
  • Start date deleted (09/21/2017)
#2

Updated by Davide Pesavento over 3 years ago

  • Description updated (diff)
#3

Updated by Alex Afanasyev over 3 years ago

Interesting. If you add pib=pib-sqlite3 to the config, then everything is working. For some reason, the default setting when configuration is present is going to pib-memory... Not yet sure how is it happening.

#4

Updated by Junxiao Shi almost 3 years ago

  • Project changed from NFD to ndn-cxx
  • Category changed from Tools to Security
  • Target version set to v0.7
#5

Updated by Junxiao Shi almost 3 years ago

  • Category changed from Security to Tools
#6

Updated by Alex Afanasyev over 2 years ago

  • Status changed from New to Code review
  • Assignee changed from Zhiyi Zhang to Alex Afanasyev
#7

Updated by Junxiao Shi over 2 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF