Project

General

Profile

Actions

Bug #4314

closed

ndnsec import: segfault upon wrong passphrase

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

Updated by Junxiao Shi over 6 years ago

  • Related to Bug #4359: KeyChain::importSafeBag does not properly check for error in Tpm::importPrivateKey added
Actions #2

Updated by Davide Pesavento about 6 years ago

  • Target version deleted (v0.6)
  • Start date deleted (09/30/2017)
Actions #3

Updated by Junxiao Shi about 6 years ago

  • Category changed from Security to Tools
Actions #4

Updated by Eric Newberry almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This issue appears to have been fixed. The last command in the steps to reproduce now spits out an error message and exits.

Actions

Also available in: Atom PDF