Grant Limberg a07024188c Merge pull request #7 from zerotier/dependabot/npm_and_yarn/npm_and_yarn-66413a1f6e
Bump picomatch from 2.3.1 to 2.3.2 in the npm_and_yarn group across 1 directory
2026-04-21 13:18:29 -07:00
2023-10-27 09:55:49 -07:00
2023-10-26 14:04:56 -07:00
2023-10-27 09:59:52 -07:00
2023-10-26 14:04:56 -07:00
2023-10-27 09:39:39 -07:00
2023-10-26 14:12:00 -07:00
2023-10-27 09:56:16 -07:00
2023-10-26 14:04:56 -07:00

test workflow

ZTC Hooks TypeScript

ztchooks provides primitives for serializing and verifying hooks fired from ZeroTier Central

Webhook signatures from ZeroTier Central are in the HTTP header field: X-ZTC-Signature

Example:


const psk = "<your_pre_shared_key>"
const signature = "<hook_signature>"
const payload = "<hook payload>";

verifySignature(psk, signature, payload, Number.MAX_SAFE_INTEGER);

License

Copyright 2023 ZeroTier, Inc. All rights reserved. Licensed under the Mozilla Public License Version 2.0. See the LICENSE file for the full license text.

S
Description
No description provided
Readme MPL-2.0 93 KiB
Languages
TypeScript 93.3%
JavaScript 6.7%