Files
modules/trust-security/hyper-p2p-key-rotation
2026-05-20 22:56:32 -04:00
..
2026-05-20 22:56:32 -04:00
2026-05-20 22:56:32 -04:00
2026-05-20 22:56:32 -04:00
2026-05-20 21:19:52 -04:00
2026-05-20 22:56:32 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 22:56:32 -04:00

hyper-p2p-key-rotation

Production module: Key rotation scheduling.

Protocol: key-rotation/v1

When to use

Rotating keys on a timeline.

When not to use

Static keys only.

Quick start

const { HyperP2PKeyRotation } = require('hyper-p2p-key-rotation')
const m = new HyperP2PKeyRotation()
m.scheduleRotation('k', 'mat', Date.now())
await m.ready()
await m.close()

Docs

Test

npm install && npm test