#21: Add signature validation during installations

This commit is contained in:
Scott E. Graves
2019-05-28 13:50:36 -05:00
parent 51c30aefb6
commit dcafafaba9
2 changed files with 17 additions and 1 deletions

View File

@@ -706,6 +706,8 @@ ipcMain.on(Constants.IPC_Install_Dependency, (event, data) => {
});
ipcMain.on(Constants.IPC_Install_Upgrade, (event, data) => {
let allowSkipVerification = false;
let tempSig;
let tempPub;
const cleanupFiles = () => {
@@ -723,6 +725,7 @@ ipcMain.on(Constants.IPC_Install_Upgrade, (event, data) => {
const errorHandler = err => {
cleanupFiles();
standardIPCReply(event, Constants.IPC_Install_Upgrade_Reply, {
AllowSkipVerification: allowSkipVerification,
Source: data.Source,
}, err);
};