open-index/open-npm huggingface dataset:
npm package: @loopfortress/jingle-lib
Description: A policy-driven JOSE Key Management Framework
Latest version: 0.0.3

LoopFortress Jingle (lib)
=========================

Jingle is a policy-driven JOSE Key Management Framework with declarative config, CLI, and runtime engine.

## Features

**General**

- Uniform DX across symmetric + asymmetric + PBES2 + ECDH + AES-KW/GCMKW
- CLI for keygen, keystore and token operations

**Keygen**

- A declarative keygen architecture: spec → keystore → token factory (clean lifecycle flow)
- Purpose-based key groups (rotate under "access", "refresh", "userdata", etc.)
- Automatic kid assignment (user doesn’t have to care at all)
- Configurable key ID formatting (fun but harmless DX feature)

**Keystore**

- A type-safe JWK registry with strong typing for alg families & policies
- A clean keystore → runtime in-memory engine
- Optional external key import
- Optional strict/lenient policies and fallback logic for broken external integrations
- Automatic rotation with purpose groups

**Token Factory**

- Built-in JWT/JWS/JWE minting & verification
- A declarative token profile layer with mint & verify policies
- Mint & accept rules per token profile (structural authentication policy system)