MCPcopy Create free account
hub / github.com/cloudflare/wildebeest / Profile

Interface Profile

backend/src/utils/httpsigjs/verifier.ts:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { ParsedSignature } from './parser'
3
4interface Profile {
5 publicKey: {
6 id: string
7 owner: string
8 publicKeyPem: string
9 }
10}
11
12export async function verifySignature(parsedSignature: ParsedSignature, key: CryptoKey): Promise<boolean> {
13 return crypto.subtle.verify(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected