Project

General

Profile

Feature #117

All GDP objects should have keypairs and metadata

Added by Eric Allman over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
04/09/2019
Due date:
% Done:

0%


Description

All GDP objects (including routers, servers, and services) should have a keypair and metadata associated with them; currently only logs do. Some such metadata will be ephemeral (e.g., applications that do not hold persistent state), but others need to have said metadata stored on persistent host storage. This will require several things:

  • There needs to be a tool similar to gdp-create to create a keypair and metadata for a new object; however, it needs to store that metadata outside the GDP itself (and not use the CREATE command for instantiation, since instantiation happens separately).
  • Some mechanism needs to be created for binding an object to the metadata. Objects such as gdplogd already find a name for themselves in a parameter file, but this needs to be extended to other object classes in some reasonable way.
  • The method for storing secret keys needs to be re-evaluated — it's not clear it scales adequately. It's also unclear if the secret key should be stored with the (public) metadata or separately.
  • A GETMETADATA command needs to be implemented in gdplib so that applications talking to services can get the metadata for that service.
  • Names of services need to be stored in HONGD, since the GDPname will no longer be the hash of a human name. Alternatively, the persistent name (described in the second bullet) could be stored as an internal name instead of a human name.

History

#1 Updated by Eric Allman over 4 years ago

  • Related to Feature #120: HONGD should be accessed using the GDP network protocol added

#2 Updated by Eric Allman over 4 years ago

  • Related to deleted (Feature #120: HONGD should be accessed using the GDP network protocol)

Also available in: Atom PDF