Skip to content

wrappers around API #20

@mimoo

Description

@mimoo

We need wrappers around disco_Initialize for the different handshakes. Some ideas:

  • NX -> client_authenticates_server_via_PKI_handshake()
  • NX -> client_authenticates_server_via_TOFU_handshake()
  • NNpsk2 -> symmetric_key_handshake()
  • XK -> client_authenticated_via_PKI_and_server_key_is_known_to_client()

These are really mouthy. Perhaps a composition system?

my_protocol = new(Disco)
my_protocol.authenticate_server(PKI)
tada

Need a composition system for disco_Initialize as well. Too many NULL in there. Can add:

my_protocol.addMyKey()
my_protocol.addRemoteKey()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions