Skip to main content

Module fleet_token

Module fleet_token 

Source
Expand description

superfluid fleet token: the secret a head and its nodes authenticate and encrypt their link with, kept at $SUPERFLUID_HOME/fleet/token.

Constants§

HELP

Functions§

path
read
The token at home, if one has been made.
read_or_create
The token at home, made now (32 random bytes as hex, readable by the owner only) if absent.
run
write
Keeps token at home, owner-readable, replacing one that differs.