Project

General

Profile

Actions

Bug #1225

closed

ndnsec-keygen should not ever segfault

Added by Alex Afanasyev over 11 years ago. Updated over 11 years ago.

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

0%

Estimated time:

Description

ndnsec-keygen should handle all exceptional cases and gracefully exit. Right now, if osx keychain cannot be unlocked, it segfaults with the error:

libc++abi.dylib: terminating with uncaught exception of type ndn::SecTpmOsx::Error: Fail to initialize keychain ref
Abort trap: 6

Related issues 1 (0 open1 closed)

Related to ndn-cxx - Task #1224: (osx) Explicitly request password to unlock keychainClosedYingdi Yu

Actions
Actions #1

Updated by Junxiao Shi over 11 years ago

  • Status changed from New to Rejected

I cannot reproduce this bug with commit 5e1288efa66f6a54b80db912dc90442745bdcad3 on OSX 10.9.

# `security unlock-keychain` has not been executed
monaco:ndn-cpp-dev shijunxiao$ ndnsec-keygen ndn:/identity-31439
ERROR: Fail to create a key pair
# An error message is not a segfault.

Please provide more information such as system version and exact command.

Actions

Also available in: Atom PDF