npm install --save @types/isomorphic-git__openpgp-plugin
This package contains type definitions for @isomorphic-git/openpgp-plugin (https://github.com/isomorphic-git/openpgp-plugin#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isomorphic-git__openpgp-plugin.
export interface SignOptions {
payload: string;
secretKey: string;
}
export interface VerifyOptions {
payload: string;
publicKey: string;
signature: string;
}
export const pgp: {
sign(options: SignOptions): Promise<{
signature: string;
}>;
verify(options: VerifyOptions): Promise<{
valid: string[];
invalid: string[];
}>;
};
- Last updated: Wed, 08 May 2024 23:36:01 GMT
- Dependencies: none
These definitions were written by Kyle Hensel.