File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,20 @@ signcode.sign(options, function (error) {
47
47
})
48
48
```
49
49
50
+ ## Options
51
+
52
+ | Name | Type | Required | Description |
53
+ | :------------- | :-------- | :------- | :-------------------------- |
54
+ | ` cert ` | ` String ` | Yes | Path to a certificate file. |
55
+ | ` path ` | ` String ` | Yes | File path to executable to sign. |
56
+ | ` hash ` | ` Array ` | No | Signature types to sign the executable with. Defaults to ` ['sha1', 'sha256'] ` . |
57
+ | ` key ` | ` String ` | No | Path to a key file. Only required if ` cert ` is a ` .pem ` file. |
58
+ | ` name ` | ` String ` | No | Product name to include in the signature. |
59
+ | ` overwrite ` | ` Boolean ` | No | ` true ` to sign the executable in place, ` false ` to sign the file with the same path but with ` -signed ` at the end of it. |
60
+ | ` password ` | ` String ` | No | Password to the certificate or key. |
61
+ | ` passwordPath ` | ` String ` | No | Path to a file containing the password for the certificate or key. |
62
+ | ` site ` | ` String ` | No | Website URL to include in the signature. |
63
+
50
64
## Cert helpers commands
51
65
52
66
These commands are helpful to when working with certificates.
You can’t perform that action at this time.
0 commit comments