From 3cd61ff1b4d2ed6dc94c899b05a0c58623abfa36 Mon Sep 17 00:00:00 2001 From: Lucas Longarini <37842688+LucasLongarini@users.noreply.github.com> Date: Fri, 23 Jul 2021 05:07:07 -0600 Subject: [PATCH] TypeScript: add missing `config` options to the type definitions (#1385) --- openpgp.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openpgp.d.ts b/openpgp.d.ts index 58eccfee..5e14ca15 100644 --- a/openpgp.d.ts +++ b/openpgp.d.ts @@ -326,6 +326,16 @@ interface Config { commentString: string; allowInsecureDecryptionWithSigningKeys: boolean; v5Keys: boolean; + preferredAEADAlgorithm: enums.aead; + aeadChunkSizeByte: number; + s2kIterationCountByte: number; + minBytesForWebCrypto: number; + maxUserIDLength: number; + knownNotations: string[]; + useIndutnyElliptic: boolean; + rejectHashAlgorithms: Set; + rejectMessageHashAlgorithms: Set; + rejectPublicKeyAlgorithms: Set; } export var config: Config;