iya-sts
    Preparing search index...

    Variable openpgpVerifyChallenge

    openpgpVerifyChallenge: (
        signedText: any,
        key: any,
        options: any,
    ) => Promise<any> = openpgpVerifyChallenge

    Type Declaration

      • (signedText: any, key: any, options: any): Promise<any>
      • Verifies a proof of possession: a cleartext signature (gpg --clearsign) over exactly the challenge's text, by a signing key of the registered key, made no earlier than the challenge was issued (less the skew) and no later than now (plus the skew).

        Parameters

        • signedText: any

          the armored cleartext message

        • key: any

          the key openpgpReadKey() answered

        • options: any

          { expectedText, issuedAt (ms), at: Date, skewS }

        Returns Promise<any>

        { ok: true, signer, created }, or a coded refusal (STS-OPENPGP-0007 to -0010)