node-opcua-pki 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [5.3.0](https://github.com/node-opcua/node-opcua-pki/compare/5.2.0...5.3.0)
|
|
8
|
+
|
|
9
|
+
- update packages [`f0a315c`](https://github.com/node-opcua/node-opcua-pki/commit/f0a315c48209b0a12e53804929223e354e5639b3)
|
|
10
|
+
- fix certificate generation when uniformResourceIdentifier is not present [`8e287ed`](https://github.com/node-opcua/node-opcua-pki/commit/8e287ed5ddc51cf86c4679f2ce0cc944d2e374de)
|
|
11
|
+
- remove cli-table dependency [`b37726d`](https://github.com/node-opcua/node-opcua-pki/commit/b37726d843dbea92718a1f529b60e4a59deab66c)
|
|
12
|
+
|
|
7
13
|
#### [5.2.0](https://github.com/node-opcua/node-opcua-pki/compare/5.1.0...5.2.0)
|
|
8
14
|
|
|
15
|
+
> 9 March 2025
|
|
16
|
+
|
|
9
17
|
- generate signing request without openssl in CA [`399a051`](https://github.com/node-opcua/node-opcua-pki/commit/399a0511da935be24b95ac8ed69de6c513745781)
|
|
10
18
|
- fix openssl issue that could cause command to fail when rootDir is a relative path [`b0f6425`](https://github.com/node-opcua/node-opcua-pki/commit/b0f642598746ab93add7fd772eaa817285a2e1d5)
|
|
11
19
|
- chore: minor cleanup [`34d173e`](https://github.com/node-opcua/node-opcua-pki/commit/34d173e598a2c6a3eef114d60433dcd09c638874)
|
|
@@ -391,7 +391,7 @@ class CertificateAuthority {
|
|
|
391
391
|
// see https://github.com/openssl/openssl/issues/10458
|
|
392
392
|
const csr = yield (0, node_opcua_crypto_1.readCertificateSigningRequest)(certificateSigningRequestFilename);
|
|
393
393
|
const csrInfo = (0, node_opcua_crypto_1.exploreCertificateSigningRequest)(csr);
|
|
394
|
-
const applicationUri = csrInfo.extensionRequest.subjectAltName.uniformResourceIdentifier[0];
|
|
394
|
+
const applicationUri = csrInfo.extensionRequest.subjectAltName.uniformResourceIdentifier ? csrInfo.extensionRequest.subjectAltName.uniformResourceIdentifier[0] : undefined;
|
|
395
395
|
if (typeof applicationUri !== "string") {
|
|
396
396
|
throw new Error("Cannot find applicationUri in CSR");
|
|
397
397
|
}
|
|
@@ -48,7 +48,6 @@ const chalk_1 = __importDefault(require("chalk"));
|
|
|
48
48
|
const child_process_1 = __importDefault(require("child_process"));
|
|
49
49
|
const progress_1 = __importDefault(require("progress"));
|
|
50
50
|
const yauzl_1 = __importDefault(require("yauzl"));
|
|
51
|
-
const Table = require("cli-table");
|
|
52
51
|
const debug_1 = require("../debug");
|
|
53
52
|
const doDebug = process.env.NODEOPCUAPKIDEBUG || false;
|
|
54
53
|
// tslint:disable-next-line:no-var-requires
|
|
@@ -154,9 +153,7 @@ function check_system_openssl_version() {
|
|
|
154
153
|
chalk_1.default.cyan("\nplease refer to :") +
|
|
155
154
|
chalk_1.default.yellow(" https://github.com/node-opcua/node-opcua/" + "wiki/installing-node-opcua-or-node-red-on-MacOS");
|
|
156
155
|
}
|
|
157
|
-
|
|
158
|
-
table.push([message]);
|
|
159
|
-
console.error(table.toString());
|
|
156
|
+
console.log(message);
|
|
160
157
|
}
|
|
161
158
|
return output;
|
|
162
159
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-pki",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "PKI management for node-opcua",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/lib/index.js",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"byline": "^5.0.0",
|
|
42
42
|
"chalk": "4.1.2",
|
|
43
43
|
"chokidar": "4.0.3",
|
|
44
|
-
"cli-table": "^0.3.11",
|
|
45
44
|
"node-opcua-crypto": "4.16.0",
|
|
46
45
|
"progress": "^2.0.3",
|
|
47
46
|
"rimraf": "4.4.1",
|
|
@@ -52,23 +51,22 @@
|
|
|
52
51
|
"devDependencies": {
|
|
53
52
|
"@types/async": "^3.2.24",
|
|
54
53
|
"@types/byline": "^4.2.36",
|
|
55
|
-
"@types/cli-table": "^0.3.4",
|
|
56
54
|
"@types/mocha": "^10.0.10",
|
|
57
|
-
"@types/node": "^22.
|
|
55
|
+
"@types/node": "^22.14.0",
|
|
58
56
|
"@types/node-dir": "0.0.37",
|
|
59
57
|
"@types/progress": "^2.0.7",
|
|
60
58
|
"@types/rimraf": "^4.0.5",
|
|
61
|
-
"@types/sinon": "^17.0.
|
|
59
|
+
"@types/sinon": "^17.0.4",
|
|
62
60
|
"@types/yargs": "^17.0.33",
|
|
63
61
|
"@types/yauzl": "^2.10.3",
|
|
64
|
-
"eslint": "^9.
|
|
62
|
+
"eslint": "^9.24.0",
|
|
65
63
|
"mocha": "^11.1.0",
|
|
66
64
|
"node-dir": "^0.1.17",
|
|
67
65
|
"should": "^13.2.3",
|
|
68
|
-
"sinon": "^
|
|
66
|
+
"sinon": "^20.0.0",
|
|
69
67
|
"source-map-support": "^0.5.21",
|
|
70
68
|
"ts-node": "^10.9.2",
|
|
71
|
-
"typescript": "^5.
|
|
69
|
+
"typescript": "^5.8.3"
|
|
72
70
|
},
|
|
73
71
|
"bin": {
|
|
74
72
|
"pki": "./bin/crypto_create_CA.js"
|