Project

General

Profile

Actions

Bug #4297

closed

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

Added by Haitao Zhang about 7 years ago. Updated over 6 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.
Actions #1

Updated by Davide Pesavento about 7 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)
Actions #2

Updated by Davide Pesavento about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Alex Afanasyev about 7 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.

Actions #4

Updated by Junxiao Shi over 6 years ago

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

Updated by Junxiao Shi over 6 years ago

  • Category changed from Security to Tools
Actions #6

Updated by Alex Afanasyev over 6 years ago

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

Updated by Junxiao Shi over 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF