koi-crypto 0.4.0

Key management, TOTP, signing, and encryption primitives for local network trust
docs.rs failed to build koi-crypto-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: koi-crypto-0.3.0

koi-crypto

Crates.io Docs.rs License

Key management, TOTP, signing, and encryption primitives for local network trust.

Overview

koi-crypto provides the cryptographic building blocks used by Koi's certificate mesh. It includes ECDSA P-256 key generation and signing, TOTP secret management with QR code generation, AES-256-GCM envelope encryption with Argon2id key derivation, X25519 key agreement for CA key transfer, and platform credential store integration (macOS Keychain, Windows Credential Manager, Linux Secret Service).

Features

  • ECDSA P-256 key pair generation, signing, and verification
  • TOTP secret creation and validation with QR code rendering
  • AES-256-GCM authenticated encryption
  • Argon2id passphrase-based key derivation
  • X25519 Diffie-Hellman key agreement
  • Platform credential store abstraction (keyring)

Part of Koi

This crate is part of the Koi workspace. See the main repository for architecture details.

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.