Expand description
Cryptographic utilities for node authentication.
Structsยง
- Crypto
Error - Errors produced by the node-authentication crypto helpers.
- Node
Keypair - Ed25519 signing keypair used by nodes to authenticate with the control plane.
Enumsยง
- Crypto
Error ๐Kind - Crypto
Input - Encoded input that failed a node-authentication crypto operation.
Constantsยง
- ED25519_
PRIVATE_ ๐KEY_ LEN - ED25519_
PUBLIC_ ๐KEY_ LEN - ED25519_
SIGNATURE_ ๐LEN
Functionsยง
- build_
sign_ message - Build the message to sign for a node request.
- keypair_
from_ base64 - Build a keypair from a base64-encoded private key.
- sha256_
hex - Compute SHA256 hash of data and return as hex string.
- verify_
signature - Verify a signature against a public key.
- verify_
signature_ base64 - Verify a signature using base64-encoded inputs.