@ai-ecoverse/slicc-kernel 1.157.0 → 1.157.1
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/README.md +1 -1
- package/dist/kernel-worker.js +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +1 -1
- package/dist/process-worker.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -504,7 +504,7 @@ The module's default export (or its `main` export) is called with a context and
|
|
|
504
504
|
- A server that requires a certificate and gets none refuses with an alert. On TLS 1.2 that fails the connect (`ERR_SSL_HANDSHAKE_FAILURE`). On TLS 1.3 the client's side of the handshake is already done, so the next read or write fails with `ERR_SSL_FATAL_ALERT`, as Node's fails after `secureConnect`.
|
|
505
505
|
- **A reply that isn't TLS** ([#1548](https://github.com/ai-ecoverse/slicc-kernel/issues/1548)) is told apart by its first record's header, in OpenSSL's order, so a program gets Node's code: an SSLv2 version is `ERR_SSL_WRONG_VERSION_NUMBER`; a length over 16704 bytes `ERR_SSL_PACKET_LENGTH_TOO_LONG` (most plain-text replies, `HTTP/1.1 …` among them); a major version other than 3 `ERR_SSL_HTTP_REQUEST` for `GET ` or `PUT ` and `ERR_SSL_WRONG_VERSION_NUMBER` otherwise (`220 …`, `SSH-2.0…`, `+OK …`); a record over 16384 bytes `ERR_SSL_DATA_LENGTH_TOO_LONG`; and a handshake record that isn't a ServerHello `ERR_SSL_UNEXPECTED_MESSAGE`. Anything else stays `ERR_SSL_HANDSHAKE_FAILURE`, or `ECONNRESET` for a server that closes.
|
|
506
506
|
- **A fatal alert from the server**, at the handshake or after it, is in the error: its `detail` ends in ` (alert <n>)`, and a JS program's error has `alert: n`, the alert's description number (116 certificate_required, 40 handshake_failure).
|
|
507
|
-
- **`keylog: true`** ([#1504](https://github.com/ai-ecoverse/slicc-kernel/issues/1504), tls-engine 4.2.0-10) gives the session's NSS key log lines as `conn.tls.keylog`, a frozen list of strings: `CLIENT_RANDOM …` on TLS 1.2, the four `…_TRAFFIC_SECRET…` lines
|
|
507
|
+
- **`keylog: true`** ([#1504](https://github.com/ai-ecoverse/slicc-kernel/issues/1504), tls-engine 4.2.0-10) gives the session's NSS key log lines as `conn.tls.keylog`, a frozen list of strings: `CLIENT_RANDOM …` on TLS 1.2, and on TLS 1.3 the four `…_TRAFFIC_SECRET…` lines and `EXPORTER_SECRET` (tls-engine 4.2.0-11, [#1545](https://github.com/ai-ecoverse/slicc-kernel/issues/1545)), the lines Node's `keylog` event and `SSLKEYLOGFILE` carry. **They are the session's secrets: anyone holding them and a capture of the traffic can read it.** So a keylogged session is never sealed (`substitutes: false`; a placeholder goes out as written), and `keylog` on the transport path (A1, where the page makes the TLS) is `ENOTSUP`. Without `keylog` the engine collects nothing. The kernel wipes its copies once the lines are in the reply (the engine zeroes its buffer as it hands them out); the lines reach the program as JS strings, which can't be wiped, so they live as long as the program keeps them, as with its own `key`. A TLS server takes `keylog` too (`listen({ tls })`, `secure(conn, { server: true })`), for every connection it serves.
|
|
508
508
|
- **`sni: false`** sends no server name. The leaf is still checked against `servername` exactly as with SNI.
|
|
509
509
|
- **`checkHostname: false`** checks the chain (trust, validity, usage) but **not that the leaf names `servername`**. The connection reports `hostnameChecked: false`, and `hostnameMatches` says what the skipped check found.
|
|
510
510
|
- **The caller must then check the server's identity itself**, as slicc-jsh does with Node's `checkServerIdentity` and `peerCertificates[0]`; pass it only when the program supplied one.
|
package/dist/kernel-worker.js
CHANGED
|
@@ -8112,7 +8112,7 @@ function satisfies(version, range2) {
|
|
|
8112
8112
|
}
|
|
8113
8113
|
|
|
8114
8114
|
// src/version.ts
|
|
8115
|
-
var KERNEL_VERSION = true ? "1.157.
|
|
8115
|
+
var KERNEL_VERSION = true ? "1.157.1" : "0.0.0-dev";
|
|
8116
8116
|
var OS_RELEASE = "6.0.0-slicc";
|
|
8117
8117
|
function procVersion() {
|
|
8118
8118
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -7245,7 +7245,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
7245
7245
|
var init_version = __esm({
|
|
7246
7246
|
"src/version.ts"() {
|
|
7247
7247
|
"use strict";
|
|
7248
|
-
KERNEL_VERSION = true ? "1.157.
|
|
7248
|
+
KERNEL_VERSION = true ? "1.157.1" : "0.0.0-dev";
|
|
7249
7249
|
OS_RELEASE = "6.0.0-slicc";
|
|
7250
7250
|
}
|
|
7251
7251
|
});
|
package/dist/node.js
CHANGED
|
@@ -3588,7 +3588,7 @@ function satisfies(version, range2) {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
|
|
3590
3590
|
// src/version.ts
|
|
3591
|
-
var KERNEL_VERSION = true ? "1.157.
|
|
3591
|
+
var KERNEL_VERSION = true ? "1.157.1" : "0.0.0-dev";
|
|
3592
3592
|
var OS_RELEASE = "6.0.0-slicc";
|
|
3593
3593
|
function procVersion() {
|
|
3594
3594
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
package/dist/process-worker.js
CHANGED
|
@@ -2964,7 +2964,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
2964
2964
|
var init_version = __esm({
|
|
2965
2965
|
"src/version.ts"() {
|
|
2966
2966
|
"use strict";
|
|
2967
|
-
KERNEL_VERSION = true ? "1.157.
|
|
2967
|
+
KERNEL_VERSION = true ? "1.157.1" : "0.0.0-dev";
|
|
2968
2968
|
OS_RELEASE = "6.0.0-slicc";
|
|
2969
2969
|
}
|
|
2970
2970
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.157.
|
|
3
|
+
"version": "1.157.1",
|
|
4
4
|
"description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.5.4-4",
|
|
67
|
-
"@ai-ecoverse/slicc-cdp": "1.41.
|
|
67
|
+
"@ai-ecoverse/slicc-cdp": "1.41.1",
|
|
68
68
|
"@ai-ecoverse/slicc-node": "2.5.2",
|
|
69
69
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
70
70
|
"@ai-ecoverse/slicc-shared-web": "2.12.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@ai-ecoverse/wasm-procps": "4.0.7-5",
|
|
83
83
|
"@ai-ecoverse/wasm-sqlite3": "3.54.1-1",
|
|
84
84
|
"@ai-ecoverse/wasm-tar": "1.35.0-9",
|
|
85
|
-
"@ai-ecoverse/wasm-tls-engine": "4.2.0-
|
|
85
|
+
"@ai-ecoverse/wasm-tls-engine": "4.2.0-11",
|
|
86
86
|
"@ai-ecoverse/wasm-util-linux": "2.42.4-7",
|
|
87
87
|
"@biomejs/biome": "2.5.15",
|
|
88
88
|
"@types/node": "24.19.2",
|