Skip to content

Verify

Source: src/Fly/Verify.ts

Verify a signature with a Fly SecretKey. The App and key name are fixed by Verify(key).

Provide VerifyHttp. A bad signature is a typed error from the Machines API, not valid: false.

const verify = yield* Fly.Verify(Signing);
const { valid } = yield* verify({ plaintext, signature });