[#21: Add signature validation during installations [partial]] [Updated packages] [Removed Hyperspace] [Updated README]
This commit is contained in:
@@ -295,7 +295,11 @@ class App extends IPCContainer {
|
||||
|
||||
installUpgrade = data => {
|
||||
if (data.Success) {
|
||||
const sha256 = this.state.LocationsLookup[this.props.platform][this.state.VersionLookup[this.props.platform][0]].sha256;
|
||||
const signature = this.state.LocationsLookup[this.props.platform][this.state.VersionLookup[this.props.platform][0]].sig;
|
||||
this.sendRequest(Constants.IPC_Install_Upgrade, {
|
||||
Sha256: sha256,
|
||||
Signature: signature,
|
||||
Source: data.Destination,
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user