pub fn generate_join_request(email: Option<String>) -> Result<String, KeyError>Expand description
Build a join request carrying a freshly minted pending identity (see
[crate::keys::mint_pending_identity]) — the joiner sends its public
key before it learns which store the invite names, so the keypair is
generated now and held under a pending slot keyed by that public key.
Completing the join with crate::DeviceJoinClient (constructed with
this same code) promotes it into the joined store’s own identity;
crate::abandon_join_request discards it if the request is
abandoned instead.