Skip to main content

sign_encryption_key

Function sign_encryption_key 

Source
pub fn sign_encryption_key(
    signing_key: &SigningKey,
    encryption_public: &EncryptionPublicKey,
) -> Signature
Expand description

Sign an X25519 public key with the agent’s Ed25519 identity key, binding the two. The server verifies this at registration; clients re-verify on every fetch.