Skip to content

Commit

Permalink
TypeScript: add missing config options to the type definitions (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasLongarini committed Jul 23, 2021
1 parent 7ebdd6a commit 3cd61ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions openpgp.d.ts
Expand Up @@ -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<enums.hash>;
rejectMessageHashAlgorithms: Set<enums.hash>;
rejectPublicKeyAlgorithms: Set<enums.publicKey>;
}
export var config: Config;

Expand Down

0 comments on commit 3cd61ff

Please sign in to comment.