Currently, the testbed status data packet is retrieved with verifier.
The application should validate the signature before accepting the data.
Trust Schema Validation
The application may define a Light VerSec trust schema and use the LVS validator.
See examples in NDNts-NLSR-status page:
- write a schema file
- use python-ndn to compile the schema into binary
- use
printESM to convert the binary schema into NDNts native format
- import the schema and pair with trust anchors
- pass the validator to both metadata retrieval and segmented object retrieval
Fallback
If the data cannot be retrieved due to:
The web application should retrieve https://testbed-status.named-data.net/testbed-nodes.json and https://{host}/file-server/status.json via Fetch API, which contains the same data.
Currently, the testbed status data packet is retrieved with
verifier.The application should validate the signature before accepting the data.
Trust Schema Validation
The application may define a Light VerSec trust schema and use the LVS validator.
See examples in NDNts-NLSR-status page:
printESMto convert the binary schema into NDNts native formatFallback
If the data cannot be retrieved due to:
The web application should retrieve https://testbed-status.named-data.net/testbed-nodes.json and
https://{host}/file-server/status.jsonvia Fetch API, which contains the same data.