[Nfd-dev] New NFD installation: Fail to sign data

Alex Afanasyev aa at CS.UCLA.EDU
Tue Sep 8 12:17:29 PDT 2015


> On Sep 8, 2015, at 12:05 PM, Thompson, Jeff <jefft0 at remap.ucla.edu> wrote:
> 
> Hello. I updated to the latest ndn-cxx and NFD. (I'm on OS X 10.9.) To get a fresh start, I removed ~/.ndn. They compile and install OK and I installed the default nfd.conf. But nfd-start gives "Fail to sign data". Here's the output:
> 
> OK: certificate with name [/localhost/operator/KEY/ksk-1441733585950/ID-CERT/%FD%00%00%01O%AE%04%AF%C7] has been successfully installed
> REMAPs-Mac-mini-6:~ remap$ 1441733586.971183 INFO: [StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%03
> 1441733586.971597 INFO: [InternalFace] registering callback for /localhost/nfd/fib
> 1441733586.971754 INFO: [InternalFace] registering callback for /localhost/nfd/faces
> 1441733586.971847 INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice
> 1441733586.971945 INFO: [InternalFace] registering callback for /localhost/nfd/status
> 1441733586.972038 INFO: [FaceTable] Added face id=1 remote=internal:// local=internal://
> Error Domain=Internal CSSM error Code=-2147415840 "The operation couldn\u2019t be completed. (Internal CSSM error error -2147415840 - Internal error #800108e0 at __SignTransform_block_invoke_2 /SourceCache/Security/Security-55471.14.18/libsecurity_transform/lib/SecSignVerifyTransform.c:264)" UserInfo=0x7f9b4b42ba00 {NSDescription=Internal error #800108e0 at __SignTransform_block_invoke_2 /SourceCache/Security/Security-55471.14.18/libsecurity_transform/lib/SecSignVerifyTransform.c:264, Originating Transform=CoreFoundationObject}
> 1441733586.997741 FATAL: [NFD] Fail to sign data
> 
> Maybe my OS X keychain has an old key that's causing a problem? How to clear it?

This can only be done in KeyChain Access app.  When you open it, you will probably see a bunch of NDN names/keys (you may need to switch to "Keys" category).  You can select one or all of them and delete.

Did you create any identity prior to start NFD?  Just in case, do not use "sudo nfd-start", just nfd-start.

--
Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150908/9463e7dd/attachment.bin>


More information about the Nfd-dev mailing list