1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00
bitwarden-browser/sign.js

17 lines
474 B
JavaScript
Raw Normal View History

exports.default = async function(configuration) {
2020-12-31 01:01:55 +01:00
console.log(`config:\n${JSON.stringify(configuration, null, 4)}`)
require("child_process").execSync(
`azuresigntool sign \
2020-12-31 16:49:28 +01:00
-kvu "${process.env.SigningVaultURL}" \
-kvi "${process.env.SigningClientId}" \
-kvs "${process.env.SigningClientSecret}" \
-kvc "${process.env.SigningCertName}" \
-tr http://timestamp.digicert.com \
${configuration.path}`,
{
stdio: "inherit"
}
);
};