Before creating a profile, we may want to check to see if the desired portal account is available. The meshman verify command is used for this:
To create a personal profile using the default cryptographic algorithms, the meshman command personal create is used. The only parameter required is the portal account:
personal create email@example.com
Created new personal profile MA6E4-GYIM6-PTSJ4-QGR7W-OZQFE-H5VAC Profile registered to firstname.lastname@example.org
ToDo Test support for multiple profile registgrations.
A profile may be registered at multiple portals. This provides additional security in the case that the original portal selected becomes unavailable.
The meshman command personal register is used to register the profile at an additional portal:
personal register email@example.com
The meshman command personal deregister is used to deregister the profile from a portal:
personal deregister firstname.lastname@example.org
Note that even when a portal is deregistered from every portal it has been connected to, the profile data is still stored locally.
The personal sync command synchronizes the local copy of a personal profile and all connected application profiles that the device is connected to:
The personal fingerprint command returns the fingerprint of a profile:
The personal import and personal export commands are used to import and export profiles. If the password option is specified, the corresponding cryptographic keys are exported as well.
ToDo Implement/vet the use of the import and export commands.
ToDo Test support for use of multiple profiles.
The Mesh reference libraries and the meshman tool are both designed to support the use of multiple personal and device profiles. While these code paths have been implemented in the code, testing the use of multiple profiles is a very low priority at present and it is therefore recommended that these features not be used.