Project

General

Profile

Actions

Task #3921

closed

Port fetching certificates from the requester to v2::Validator

Added by Alex Afanasyev over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
01/13/2017
Due date:
% Done:

100%

Estimated time:

Description

This task is to "re-implement" certificate fetching from the same face the command/signed interest is retrieved from the old Validator implementation.

Actions #1

Updated by Alex Afanasyev over 7 years ago

I am considering adding a network retrieval interface that can be updated/extended. I will try to update with more details when I have them, the current thinking is to have something like this

class KeyFetchingInterface
{
public:
  void
  fetchKeyFromNetwork(const shared_ptr<KeyRequest>& keyRequest,
                      const shared_ptr<ValidationState>& state, (?) accessToValidatorCaches,
                      const Continuation& continue);
};

I see the following use cases for such interfaces:

  • basic certificate retrieval (same as currently hard-coded in the validator)
  • direct fetch retrieval extension (for certificate only; for all certificate---the latter requires custom data in the ValidatorState)
  • key bundle retrieval
  • NDNS lookup

Some, if not all, retrival mechanism may need to get combined.

Actions #2

Updated by Alex Afanasyev over 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Alex Afanasyev
Actions #3

Updated by Alex Afanasyev over 7 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #4

Updated by Alex Afanasyev about 7 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF