ZX Command: export user

Export local user data to a file.

There are two kinds of user files:

Public files have user metadata and the public half of a user's keys. Dangerous files have user metadata and both public and private keys (hence the danger involved!)

Public user files are used by sysops to create a user account on a realm's prime node so that the user can be made a packager or manager for projects carried by that realm.

Dangerous user files are used by developers to transfer user data (including signing keys) between systems used to submit/approve/accept packages to a realm.

Exporting public user data to a .zpuf file to send to a sysop:

taro@okonomiyaki:~$ zx export user
Realm otpr selected.
Wrote Zomp public user file to otpr-taro.zpuf.
This file can be given to a sysop from otpr and added to the realm.
It ONLY contains PUBLIC KEY data.

Exporting private user data to a .zpuf file for transfer to a system owned by the same user:

taro@okonomiyaki:~$ zx export user dangerous
Realm otpr selected.
Wrote Zomp DANGEROUS user file to otpr-taro.zduf.
WARNING: This file contains your PRIVATE KEYS and should NEVER be shared.
Its only use is for the `import user [.zduf]` command!
Importing the user will only work if you have first imported realm otpr.