Project

General

Profile

Actions

Bug #4314

closed

ndnsec import: segfault upon wrong passphrase

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

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

100%

Estimated time:
3.00 h

Description

Steps to reproduce:

  1. ndnsec key-gen /identity
  2. ndnsec export /identity -o mykey.ndnkey, type "1" as passphrase twice
  3. ndnsec delete /identity
  4. ndnsec import mykey.ndnkey, type "2" as passphrase

Actual: segfault in ndn::security::v2::KeyChain::importSafeBag


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Bug #4359: KeyChain::importSafeBag does not properly check for error in Tpm::importPrivateKeyClosedDavide Pesavento

Actions
Actions

Also available in: Atom PDF