[Nfd-dev] certificate for interacting with NDN testbed

Nikos Fotiou fotiou at aueb.gr
Fri Jun 3 14:36:29 PDT 2022


Nevertheless, when I advertise the prefix now I receive:

"failure authorization rejected"

 

This is the output of ndnsec-list -vvv

/ndn/gr/edu/mmlab1/aueb/second22

  +->* /ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84

       +->*
/ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84/self/v=165429087
4758

            Certificate Name:

 
/ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84/self/v=165429087
4758

            Public Key:

              Key Type: 256-bit EC

 
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEn/rAURbPdsUqj/7u6xN05O81A6Jt

              yWrcljlhxzLrVP+WC5cniRGg22rzREDRL1GTXWd5LM1PVoI640Ix2cUEXA==

            Validity:

              Not Before: 2022-06-03T21:14:34

              Not After: 2042-05-29T21:14:34

            Signature Information:

              Signature Type: SignatureSha256WithEcdsa

              Key Locator:
Name=/ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84

              Self-Signed: yes

       +->
/ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84/NDNCERT/v=165429
0901284

            Certificate Name:

 
/ndn/gr/edu/mmlab1/aueb/second22/KEY/%A3%F3%F7%8F%20%077%84/NDNCERT/v=165429
0901284

            Public Key:

              Key Type: 256-bit EC

 
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEn/rAURbPdsUqj/7u6xN05O81A6Jt

              yWrcljlhxzLrVP+WC5cniRGg22rzREDRL1GTXWd5LM1PVoI640Ix2cUEXA==

            Validity:

              Not Before: 2022-06-03T21:14:35

              Not After: 2022-06-18T21:14:34

            Signature Information:

              Signature Type: SignatureSha256WithEcdsa

              Key Locator: Name=/ndn/gr/edu/mmlab1/KEY/%F7%9C%E4%D3gL%A2%21

 

* /localhost/operator

  +->* /localhost/operator/KEY/%0EC%3B%C8%B0%98%1D%06

       +->*
/localhost/operator/KEY/%0EC%3B%C8%B0%98%1D%06/self/v=1654289508625

            Certificate Name:

 
/localhost/operator/KEY/%0EC%3B%C8%B0%98%1D%06/self/v=1654289508625

            Public Key:

              Key Type: 256-bit EC

 
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAES6VWBfgXdEeWxs0j1JYsbfTmouzv

              47cndijW+SGal49O6YfVWEO9+1XToummsWZPTAPUib7mgK2mtzBiaCpiRA==

            Validity:

              Not Before: 2022-06-03T20:51:48

              Not After: 2042-05-29T20:51:48

            Signature Information:

              Signature Type: SignatureSha256WithEcdsa

              Key Locator:
Name=/localhost/operator/KEY/%0EC%3B%C8%B0%98%1D%06

              Self-Signed: yes

 

 

 

 

From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu> On Behalf Of Nikos Fotiou
via Nfd-dev
Sent: Saturday, June 4, 2022 12:25 AM
To: 'Dehart, John' <jdd at wustl.edu>
Cc: 'ucla_operator' <tianyuan at cs.ucla.edu>; nfd-dev at lists.cs.ucla.edu
Subject: Re: [Nfd-dev] certificate for interacting with NDN testbed

 

Yeap! Now I received the certificate from mmlab1-aueb and it was
successfully installed in the keychain.

 

From: Dehart, John <jdd at wustl.edu <mailto:jdd at wustl.edu> > 
Sent: Saturday, June 4, 2022 12:09 AM
To: mml_operator <fotiou at aueb.gr <mailto:fotiou at aueb.gr> >
Cc: arizona_operator <shijunxiao at email.arizona.edu
<mailto:shijunxiao at email.arizona.edu> >; ucla_operator <tianyuan at cs.ucla.edu
<mailto:tianyuan at cs.ucla.edu> >; nfd-dev at lists.cs.ucla.edu
<mailto:nfd-dev at lists.cs.ucla.edu> 
Subject: Re: [Nfd-dev] certificate for interacting with NDN testbed

 

 

Nikos,

 

we have updated a lot on the Testbed today. Could you try again and see if
it all works now?

 

Thanks,

John

 

 

On Jun 2, 2022, at 7:27 PM, Nikos Fotiou via Nfd-dev
<nfd-dev at lists.cs.ucla.edu <mailto:nfd-dev at lists.cs.ucla.edu> > wrote:

 

Hi, 

 

Everything is now updated to the latest version from source. I am receiving
the certificate but ndncert-client crashes with the following error:

 

terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_inj
ector<std::runtime_error> >'

  what():  Cannot parse replied certificate

Aborted (core dumped)

 

Best,

Nikos

From: Junxiao Shi <shijunxiao at email.arizona.edu
<mailto:shijunxiao at email.arizona.edu> > 
Sent: Friday, June 3, 2022 3:11 AM
To: Nikos Fotiou <fotiou at aueb.gr <mailto:fotiou at aueb.gr> >
Cc: Tianyuan Yu <tianyuan at cs.ucla.edu <mailto:tianyuan at cs.ucla.edu> >;
<nfd-dev at lists.cs.ucla.edu <mailto:nfd-dev at lists.cs.ucla.edu> >
<nfd-dev at lists.cs.ucla.edu <mailto:nfd-dev at lists.cs.ucla.edu> >
Subject: Re: [Nfd-dev] certificate for interacting with NDN testbed

 

Hi Nikos

 

There has been a packet format change related to ForwardingHint and
Delegation.

Your ndn-cxx, NFD, and ndncert versions are incompatible, which causes
decoding error.

 

Please install all from https://nfd-nightly.ndn.today
<https://nfd-nightly.ndn.today/>  or all from latest source code.

Do not mix different versions.

See NFD-nightly instructions for how to switch between installation methods.

 

Yours, Junxiao

On Thu, Jun 2, 2022, 20:04 Nikos Fotiou via Nfd-dev
<nfd-dev at lists.cs.ucla.edu <mailto:nfd-dev at lists.cs.ucla.edu> > wrote:

I found it. 

 

I can see the challenge in the log file. I enter the correct challenge and
then ndncert-client outputs:

 

>> Certificate has already been issued, downloading certificate...

>> Interest timeout

 

In the nfd output I see the following:

 

1654214277.802105 DEBUG: [nfd.Forwarder] onOutgoingData out=266
data=/ndn/gr/edu/mmlab1/CA/CHALLENGE/%81Qf%7B%0Cz%00%F4/params-sha256=522d0d
7207cb11ac2a5fbd120473a39154326781b0bc74f487c8a4b1becbc7c9/%16M%1B%01%03%1CH
%07F%08%03ndn%08%02gr%08%03edu%08%06mmlab1%08%04aueb%08%09second-14%08%03KEY
%08%087%9EV%27%08%C2C2%08%04self6%08%00%00%01%81%26%CF%E4%A3/%17F0D%02%20gW%
11%95Y%603%17%17%9EB%8BN%7D%B1v%D6%C9%9D%3E~%89%EF%14%5D%82%EF%A5%207R%E4%02
%20p%B3%0A%5B%E9%E3%00Q%E14%8B%21%0C%D2kzz%D3%90%85j%EA%A7%E5SRGS%18%C9%3B%D
A

1654214277.805087  WARN: [nfd.GenericLinkService]
[id=266,local=unix:///run/nfd.sock,remote=fd://33
<unix://run/nfd.sock,remote=fd:/33> ] packet parse error (Unexpected
TLV-TYPE 7 while decoding Delegation): DROP

1654214277.805351 DEBUG: [nfd.Forwarder] onInterestFinalize
interest=/ndn/gr/edu/mmlab1/CA/CHALLENGE/%81Qf%7B%0Cz%00%F4/params-sha256=52
2d0d7207cb11ac2a5fbd120473a39154326781b0bc74f487c8a4b1becbc7c9/%16M%1B%01%03
%1CH%07F%08%03ndn%08%02gr%08%03edu%08%06mmlab1%08%04aueb%08%09second-14%08%0
3KEY%08%087%9EV%27%08%C2C2%08%04self6%08%00%00%01%81%26%CF%E4%A3/%17F0D%02%2
0gW%11%95Y%603%17%17%9EB%8BN%7D%B1v%D6%C9%9D%3E~%89%EF%14%5D%82%EF%A5%207R%E
4%02%20p%B3%0A%5B%E9%E3%00Q%E14%8B%21%0C%D2kzz%D3%90%85j%EA%A7%E5SRGS%18%C9%
3B%DA satisfied

Any clue?

 

Thanks,

Nikos

 

_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu> 
https://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/20220604/f3dfb76f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6501 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20220604/f3dfb76f/attachment-0001.p7s>


More information about the Nfd-dev mailing list