Mathematical Mesh: Reference Implementation
draft-hallambaker-mesh-developer-10

Document Type Active Internet-Draft (individual)
Author Phillip Hallam-Baker 
Last updated 2020-07-27
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                 P. M. Hallam-Baker
Internet-Draft                                              27 July 2020
Intended status: Informational                                          
Expires: 28 January 2021

              Mathematical Mesh: Reference Implementation
                  draft-hallambaker-mesh-developer-10

Abstract

   The Mathematical Mesh 'The Mesh' is an end-to-end secure
   infrastructure that facilitates the exchange of configuration and
   credential data between multiple user devices.

   This document describes the Mesh reference code and how to install,
   run and make use of it in applications.  It does not form a part of
   the Mesh specifications and is not normative.

   This document is also available online at
   http://mathmesh.com/Documents/draft-hallambaker-mesh-developer.html.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 28 January 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Hallam-Baker             Expires 28 January 2021                [Page 1]
Internet-Draft         Mathematical Mesh Developer             July 2020

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.

Table of Contents

   1.  Definitions . . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   3
     1.2.  Defined Terms . . . . . . . . . . . . . . . . . . . . . .   3
     1.3.  Related Specifications  . . . . . . . . . . . . . . . . .   3
     1.4.  Implementation Status . . . . . . . . . . . . . . . . . .   3
   2.  Getting the Reference Code and Build Tools  . . . . . . . . .   3
     2.1.  Obtaining the Development Environment . . . . . . . . . .   4
     2.2.  Obtaining the Build Tools . . . . . . . . . . . . . . . .   4
     2.3.  Obtaining the Mesh Source Libraries . . . . . . . . . . .   4
   3.  Compiling the Reference Code  . . . . . . . . . . . . . . . .   5
     3.1.  Creating a software signing key . . . . . . . . . . . . .   5
     3.2.  Create (dummy) build action files . . . . . . . . . . . .   6
   4.  Running the Reference Code Examples . . . . . . . . . . . . .   7
     4.1.  Starting the Server . . . . . . . . . . . . . . . . . . .   7
     4.2.  The Profile Manager Wizard  . . . . . . . . . . . . . . .   7
     4.3.  The Profile Connection Wizard . . . . . . . . . . . . . .   8
   5.  Platform specific configuration data  . . . . . . . . . . . .   8
     5.1.  Windows . . . . . . . . . . . . . . . . . . . . . . . . .   8
       5.1.1.  Private Key Data  . . . . . . . . . . . . . . . . . .   8
       5.1.2.  Registry settings . . . . . . . . . . . . . . . . . .   8
       5.1.3.  Profile data files  . . . . . . . . . . . . . . . . .   9
     5.2.  OSX and Linux . . . . . . . . . . . . . . . . . . . . . .   9
   6.  Using the Mesh C#/.Net Libraries in an Application  . . . . .   9
     6.1.  Portals, Sessions and Clients . . . . . . . . . . . . . .   9
       6.1.1.  MeshSession vs PersonalSession  . . . . . . . . . . .  10
     6.2.  Creating a Mesh Session . . . . . . . . . . . . . . . . .  10
     6.3.  Creating a Mesh Session for Testing . . . . . . . . . . .  11
     6.4.  Checking that a Portal Account name is acceptable . . . .  12
     6.5.  Creating a Personal Profile . . . . . . . . . . . . . . .  13
     6.6.  Creating an Offline Escrow Entry  . . . . . . . . . . . .  13
     6.7.  Deleting Profile Data . . . . . . . . . . . . . . . . . .  13
     6.8.  Recovering Profile Data . . . . . . . . . . . . . . . . .  13
     6.9.  Connecting a New Device . . . . . . . . . . . . . . . . .  14
     6.10. Managing Applications . . . . . . . . . . . . . . . . . .  15
   7.  Using other languages . . . . . . . . . . . . . . . . . . . .  15
     7.1.  Lightweight API . . . . . . . . . . . . . . . . . . . . .  15
   8.  Implementation Status . . . . . . . . . . . . . . . . . . . .  16
     8.1.  Reference Implementation  . . . . . . . . . . . . . . . .  16
       8.1.1.  Coverage: . . . . . . . . . . . . . . . . . . . . . .  17
Show full document text