Module signing_keys

Source
Expand description

This module provides tooling to parse private key (pairs) produced by Nix and its nix-store --generate-binary-cache-key name path.secret path.pub command. It produces ed25519_dalek keys, but the NarInfo::add_signature function is generic, allowing other signers.

Structs§

SigningKey

Enums§

Error

Functions§

parse_keypair
Parses a SigningKey / VerifyingKey from a byte slice in the format that Nix uses.