Removed unused packages and changed comment

This commit is contained in:
Alexander Cerutti
2018-06-11 22:37:46 +02:00
parent 4c18f5b4e2
commit 006a0270d3

View File

@@ -1,8 +1,6 @@
const os = require("os");
const fs = require("fs"); const fs = require("fs");
const path = require("path"); const path = require("path");
const forge = require("node-forge"); const forge = require("node-forge");
const { spawn } = require("child_process");
const archiver = require("archiver"); const archiver = require("archiver");
const async = require("async"); const async = require("async");
const stream = require("stream"); const stream = require("stream");
@@ -88,8 +86,7 @@ function loadConfiguration(setup) {
} }
/** /**
Generates the cryptografic signature for the manifest file. Generates the PKCS #7 cryptografic signature for the manifest file.
Spawns Openssl process since Node.js has no support for PKCSs.
@function createSignature @function createSignature
@params {String} manifestPath - temp dir path created to keep the manifest file. @params {String} manifestPath - temp dir path created to keep the manifest file.