Remove stale function.

This commit is contained in:
Spencer Ofwiti 2021-02-17 08:00:28 +03:00
parent a6a602938e
commit 458155dc1c

View File

@ -22,17 +22,11 @@ interface MutableKeyStore{
removePublicKeyForId: (keyId: string) => any;
removePublicKey: (publicKey: any) => any;
clearKeysInKeyring: () => void;
// revokeKey: (publicKey) => void;
}
class MutablePgpKeyStore implements MutableKeyStore{
fingerprint: string;
// revokeKey(publicKey): void {
// this.pubk.active.splice(this.pubk.active.indexOf(publicKey), 1);
// this.pubk.trusted.splice(this.pubk.trusted.indexOf(publicKey), 1);
// }
async loadKeyring(): Promise<void> {
await keyring.load();
// clear any keys already in the keychain