Actions
Bug #4204
closedndnsec: importing a previously exported safebag fails
Start date:
07/24/2017
Due date:
% Done:
100%
Estimated time:
Description
Steps to Reproduce
Build the latest ndn-cxx (I am using macOS, so I have to configure to not use the Keychain, otherwise the bug won't occur since the OSX-Keychain module does not use the affected code).
$ ./waf configure --without-osx-keychain $ ./waf $ sudo ./waf install
Create a new identity:
$ ndnsec key-gen /identity [base64 encoded identity] $ ndnsec list /identity
Export the identity and delete it afterwards:
$ ndnsec export /identity > identity.safebag $ ndnsec delete /identity OK: Delete identity: /identity $ ndnsec list
Import the identity:
ndnsec import identity.safebag Passphrase for the private key: Confirm: [1] 65009 segmentation fault ndnsec import identity.safebag
This issue seems to be related to a missing OpenSSL initialization call. If I manage to get it right, i will submit a patch soon ;)
Actions