Added Import S/MIME certificate popup

And much better handling of the sign and encrypt options
This commit is contained in:
the-djmaze 2024-02-23 03:14:36 +01:00
parent f94fc34d4f
commit 6f33bc23d3
47 changed files with 375 additions and 227 deletions

View file

@ -16,6 +16,7 @@ import { OpenPgpImportPopupView } from 'View/Popup/OpenPgpImport';
import { OpenPgpGeneratePopupView } from 'View/Popup/OpenPgpGenerate';
import { SMimeUserStore } from 'Stores/User/SMime';
import { SMimeImportPopupView } from 'View/Popup/SMimeImport';
import Remote from 'Remote/User/Fetch';
@ -70,6 +71,10 @@ export class UserSettingsSecurity extends AbstractViewSettings {
);
}
importToSMime() {
showScreenPopup(SMimeImportPopupView);
}
onBuild() {
/**
* Create an iframe to display the Mailvelope keyring settings.