Add csp option which is apparently required

This commit is contained in:
David Baker 2020-03-06 15:01:50 +00:00
parent 1585e370d3
commit bffee2d4c3

View file

@ -13,6 +13,8 @@ function computeSignToolArgs(options, keyContainer) {
// We simplify and just specify the certificate subject name for our purposes // We simplify and just specify the certificate subject name for our purposes
args.push('/n', options.options.certificateSubjectName); args.push('/n', options.options.certificateSubjectName);
args.push('/kc', keyContainer); args.push('/kc', keyContainer);
// To use the hardware token (this should probably be less hardcoded)
args.push('/csp', 'eToken Base Cryptographic Provider');
if (options.hash !== "sha1") { if (options.hash !== "sha1") {
args.push("/fd", options.hash) args.push("/fd", options.hash)