npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cyphera/kmip

v0.0.1-alpha.1

Published

KMIP client for Node.js — connect to any KMIP-compliant key management server (Thales, IBM SKLM, Entrust, Fortanix, HashiCorp Vault).

Readme

kmip-node

CI Security License

KMIP client for Node.js — connect to any KMIP-compliant key management server.

Supports Thales CipherTrust, IBM SKLM, Entrust KeyControl, Fortanix, HashiCorp Vault Enterprise, and any KMIP 1.4 server.

npm install @cyphera/kmip

Quick Start

const { KmipClient } = require("@cyphera/kmip");

const client = new KmipClient({
  host: "kmip-server.corp.internal",
  clientCert: "/path/to/client.pem",
  clientKey: "/path/to/client-key.pem",
  caCert: "/path/to/ca.pem",
});

// Fetch a key by name (locate + get in one call)
const key = await client.fetchKey("my-encryption-key");
// key is a Buffer of raw key bytes (e.g., 32 bytes for AES-256)

// Or step by step:
const ids = await client.locate("my-key");
const result = await client.get(ids[0]);
console.log(result.keyMaterial); // Buffer

// Create a new AES-256 key on the server
const created = await client.create("new-key-name", "AES", 256);
console.log(created.uniqueIdentifier);

await client.close();

Operations

| Operation | Method | Description | |-----------|--------|-------------| | Locate | client.locate(name) | Find keys by name, returns unique IDs | | Get | client.get(id) | Fetch key material by unique ID | | Create | client.create(name, algo, length) | Create a new symmetric key | | Fetch | client.fetchKey(name) | Locate + Get in one call |

Authentication

KMIP uses mutual TLS (mTLS). Provide:

  • Client certificate — identifies your application to the KMS
  • Client private key — proves ownership of the certificate
  • CA certificate — validates the KMS server's certificate
const client = new KmipClient({
  host: "kmip.corp.internal",
  port: 5696,                    // default KMIP port
  clientCert: "/etc/kmip/client.pem",
  clientKey: "/etc/kmip/client-key.pem",
  caCert: "/etc/kmip/ca.pem",
  timeout: 10000,                // connection timeout (ms)
});

TTLV Codec

The low-level TTLV (Tag-Type-Length-Value) encoder/decoder is also exported for advanced use:

const { encodeTTLV, decodeTTLV, encodeStructure, encodeTextString, Tag, Type } = require("@cyphera/kmip");

// Build custom KMIP messages
const msg = encodeStructure(Tag.RequestMessage, [ ... ]);

// Parse raw KMIP responses
const parsed = decodeTTLV(responseBuffer);

Supported KMS Servers

| Server | KMIP Version | Tested | |--------|-------------|--------| | Thales CipherTrust Manager | 1.x, 2.0 | Planned | | IBM SKLM | 1.x, 2.0 | Planned | | Entrust KeyControl | 1.x, 2.0 | Planned | | Fortanix DSM | 2.0 | Planned | | HashiCorp Vault Enterprise | 1.4 | Planned | | PyKMIP (test server) | 1.0-2.0 | CI |

Zero Dependencies

This library uses only Node.js standard library (tls, fs, Buffer). No external dependencies.

Status

Alpha. KMIP 1.4 operations: Locate, Get, Create.

License

Apache 2.0 — Copyright 2026 Horizon Digital Engineering LLC