Back to Home
jeremyhahn icon

go-keychain

Verified Safe

by jeremyhahn

Overview

Provides a secure JSON-RPC interface (Model Context Protocol) for cryptographic key and certificate management, including threshold signatures, designed for integration with AI assistants and other clients across on-prem, hybrid, and cloud environments.

Installation

Run Command
go run ./cmd/mcp-server/main.go --config /etc/keychain/config-mcp.yaml --port 9444

Environment Variables

  • KEYSTORE_CONFIG
  • KEYSTORE_PASSWORD
  • PKCS11_LIBRARY
  • PKCS11_TOKEN
  • HSM_PIN
  • TPM_DEVICE_PATH
  • AWS_REGION
  • GCP_PROJECT_ID
  • GCP_LOCATION
  • GCP_KEYRING
  • AZURE_VAULT_URL
  • VAULT_ADDR

Security Notes

The project demonstrates a strong awareness of security best practices, including robust error handling, panic recovery, authentication and authorization via WebAuthn/FIDO2 and RBAC, and explicit guidance on secure key handling (e.g., keys never leave HSMs, encryption during transport). Build tags are used to minimize attack surface. Extensive testing (92.5% coverage) further supports code quality. Default weak passwords/PINs for some backends, though documented as defaults, are a minor initial vulnerability if not changed.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens13500
Stars0
Forks0
Last Update2026-01-17

Tags

Cryptographic Key ManagementCertificate ManagementJSON-RPCDistributed CryptographyHardware Security ModulesCloud KMSWebAuthn