Project

General

Profile

Actions

Bug #5239

closed

example is not working

Added by Junxiao Shi over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

ubuntu@ndndev:~/name-based-access-control$ rm -rf $HOME/.ndn

ubuntu@ndndev:~/name-based-access-control$ ndnsec key-gen -tr /member

ubuntu@ndndev:~/name-based-access-control$ LD_LIBRARY_PATH=build NDN_LOG="nac.*=DEBUG" build/examples/nac-producer
1663018815.717399 DEBUG: [nac.Encryptor] Generating new CK: /nac/example/CK/CK/v=1663018815717
1663018815.717440 DEBUG: [nac.Encryptor] Retrying fetching of KEK
1663018815.717444 DEBUG: [nac.Encryptor] Fetching KEK /nac/example/NAC/test/KEK
1663018816.722211 DEBUG: [nac.Encryptor] Fetching KEK /nac/example/NAC/test/KEK
1663018816.722385 DEBUG: [nac.AccessManager] Serving /nac/example/NAC/test/KEK/j%BCA%1F%CD%E7%24%24 from InMemoryStorage
1663018816.722779 DEBUG: [nac.Encryptor] Publishing CK data: /nac/example/CK/CK/v=1663018815717/ENCRYPTED-BY/nac/example/NAC/test/KEK/j%BCA%1F%CD%E7%24%24
1663018816.722826 DEBUG: [nac.Encryptor] KEK retrieved and published
<< I: /example/testApp/randomData?MustBeFresh&Nonce=5746918c&Lifetime=3000
>> D: Name: /example/testApp/randomData/testApp/v=1663018818589
MetaInfo: [ContentType: 0, FreshnessPeriod: 10000 milliseconds]
Content: [72 bytes]
Signature: [type: SignatureSha256WithRsa, length: 256]

^C

ubuntu@ndndev:~/name-based-access-control$ LD_LIBRARY_PATH=build NDN_LOG="nac.*=DEBUG" build/examples/nac-consumer
Sending Interest /example/testApp/randomData?MustBeFresh&Lifetime=3000
Timeout for /example/testApp/randomData?MustBeFresh&Nonce=5746918c&Lifetime=3000
Actions #1

Updated by Junxiao Shi over 1 year ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #2

Updated by Davide Pesavento over 1 year ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF