Also allow backup PGP keys on server on import #89

This commit is contained in:
the-djmaze 2024-02-08 18:01:15 +01:00
parent 83aa65981b
commit 43cbbd51c1
4 changed files with 29 additions and 22 deletions

View file

@ -117,19 +117,6 @@ export const GnuPGUserStore = new class {
return SettingsCapa('GnuPG');
}
importKey(key, callback) {
Remote.request('GnupgImportKey',
(iError, oData) => {
if (oData?.Result/* && (oData.Result.imported || oData.Result.secretimported)*/) {
this.loadKeyrings();
}
callback?.(iError, oData);
}, {
key: key
}
);
}
/**
keyPair.privateKey
keyPair.publicKey