MCPcopy Create free account
hub / github.com/SethGammon/Citadel / resolveSigningKey

Function resolveSigningKey

core/telemetry/integrity.js:55–57  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

53}
54
55function resolveSigningKey(options = {}) {
56 return options.hmacKey || process.env.CITADEL_TELEMETRY_HMAC_KEY || null;
57}
58
59function signRecord(record, options = {}) {
60 const key = resolveSigningKey(options);

Callers 2

signRecordFunction · 0.85
verifyRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected