Documentation Index
Fetch the complete documentation index at: https://parmanasystems.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
@parmanasystems/crypto provides the cryptographic signing and verification primitives used throughout the Parmana Systems runtime. It wraps Node.js’s crypto module behind typed interfaces.
Install
Key concepts
All signing in Parmana Systems uses Ed25519 — a high-performance elliptic-curve signature scheme. Key properties:- Deterministic — the same message + private key always produces the same signature
- Fast — optimized for high-throughput signing
- Compact — 64-byte signatures, 32-byte public keys
- Secure — no random nonce, no timing side-channels
Key exports
LocalSigner
Signs arbitrary byte strings with an Ed25519 private key in PEM format.
LocalVerifier
Verifies an Ed25519 signature against a public key in PEM format.
signBundle(bundle, signer): SignedBundle
Signs a governance bundle manifest.
Signer interface
BothLocalSigner and AwsKmsSigner (in @parmanasystems/execution) implement the same Signer interface:
LocalSigner for AwsKmsSigner to move signing to AWS KMS without changing any other code.