Skip to main content

pub_from_priv

Function pub_from_priv 

Source
pub fn pub_from_priv(priv_b64: &str) -> Result<String, String>
Expand description

Derive the X25519 public key (base64url) from a stored private key (base64url). Used at login completion to re-register a device’s public key with the relay without needing the keypair generator’s in-memory output.