[Nfd-dev] NFD cannot start on macOS : Fail to sign data

Lei Pi (lpi) lpi at memphis.edu
Mon Sep 11 19:56:00 PDT 2017


For some reason, KeyChain not allowing NFD to access the private key.  There are two ways to resolve.  Start using a new private key (i.e., delete ~/.ndn/ and then request a new key) or allow all apps (or the specific binary of nfd) to use the key.  For that you need to go to KeyChain Acceess.app, find the private key, double click, go to Access Control and click on either remove existing NFD from the list or select "Allow all applications to access this item".   I was having similar issues, but still have not figured out KeyChain access denial logic.
I tried deleting ~/.ndn, and the problem is gone.

Thank you, Alex.
----
Regards,
Lei


On September 11, 2017 at 9:14:01 PM, Alex Afanasyev (aa at cs.fiu.edu<mailto:aa at cs.fiu.edu>) wrote:

On Sep 11, 2017, at 7:26 PM, Lei Pi (lpi) <lpi at memphis.edu<mailto:lpi at memphis.edu>> wrote:


Dear NFD developers,


I’ve been using an old version of NFD (#6028619f71e7d0eed2334d0478ff9df92cee7f18 ) without problem until recently. Now it fails to start and gives the following error:

1505170300.334936 INFO: [AutoPrefixPropagator] Load auto_prefix_propagate section in rib section
Error Domain=Internal CSSM error Code=-2147416063 "Internal error #80010801 at __SignTransform_block_invoke.17 /Library/Caches/com.apple.xbs/Sources/Security/Security-57740.60.18/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:276" UserInfo={NSDescription=Internal error #80010801 at __SignTransform_block_invoke.17 /Library/Caches/com.apple.xbs/Sources/Security/Security-57740.60.18/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:276, Originating Transform=CoreFoundationObject}
1505170300.365158 FATAL: [NFD] Fail to sign data


There is a similar post in 2015<http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2015-September/001330.html> which indicates the error is caused by the keychain. I tried the method mentioned in the post (unlocking the keychain mannually using commands), but still get the same error.

Would you please help me figure out what's going wrong?


--
Alex

Thanks a lot.
----
Regards,
Lei
_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170912/d030f63d/attachment-0001.html>


More information about the Nfd-dev mailing list