iya-sts
    Preparing search index...
    registerOpenPgp: (username: string, due: any, body: any) => Promise<any> = ...

    Type Declaration

      • (username: string, due: any, body: any): Promise<any>
      • Registers the person's post-quantum OpenPGP key at the step: the proof of possession and every rule are openpgp_keys.register()'s; the key must be post-quantum (STS-OPENPGP-0033); the replaced classical key is kept for the profile's days (D3); and mail is then encrypted with OpenPGP.

        Parameters

        • username: string

          the person

        • due: any

          the step's due

        • body: any

          { publicKey, signed }

        Returns Promise<any>

        { ok, fingerprint, keptUntil }, or a coded refusal