iya-sts
    Preparing search index...

    Variable open

    open: (secret: any, otp: unknown) => YubiVerdict = ...

    Type Declaration

      • (secret: any, otp: unknown): YubiVerdict
      • Decrypts an OTP under a known AES key and private identity.

        Parameters

        • secret: any

          { k, p, publicId } the AES key and private identity, hex, and the public identity the OTP must start with

        • otp: unknown

          the OTP

        Returns YubiVerdict

        the fields, or a refusal