@ai-ecoverse/slicc-kernel 1.159.0 → 1.159.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 CHANGED
@@ -507,7 +507,7 @@ The module's default export (or its `main` export) is called with a context and
507
507
  It's never `ERR_TLS_CERT_ALTNAME_INVALID`; that's `hostnameMatches: false`. `authorized` and `authorizationError` are as before.
508
508
  - **A client certificate** ([#1004](https://github.com/ai-ecoverse/slicc-kernel/issues/1004)): `cert` (PEM text, DER bytes or a list: the leaf first, then its intermediates) and `key` (PEM, PKCS#1, SEC1 or PKCS#8, or DER), with `passphrase` for an encrypted key, as in Node.
509
509
  - The key goes to the engine before anything is dialled, and the kernel keeps no copy of it (nor of the passphrase) once the engine has it.
510
- - Before dialling, `cert` without `key` (or the reverse) is `EINVAL`. A key that doesn't match the leaf is `ERR_OSSL_X509_KEY_VALUES_MISMATCH`, a wrong passphrase `ERR_OSSL_BAD_DECRYPT`, a missing one `ERR_OSSL_CRYPTO_INTERRUPTED_OR_CANCELLED`, and a key the engine can't read `ERR_OSSL_UNSUPPORTED`.
510
+ - Before dialling, `cert` without `key` (or the reverse) is `EINVAL`. A key that doesn't match the leaf is `ERR_OSSL_X509_KEY_VALUES_MISMATCH`, a wrong passphrase `ERR_OSSL_BAD_DECRYPT`, a missing one `ERR_OSSL_CRYPTO_INTERRUPTED_OR_CANCELLED`, and a key the engine can't read `ERR_OSSL_UNSUPPORTED`. An encrypted PKCS#8 key may use PBES2 with AES, Camellia or ARIA (tls-engine 4.2.0-12, [#1564](https://github.com/ai-ecoverse/slicc-kernel/issues/1564)). 3DES (`-v2 des3`), PBES1 (`-v1`) and traditional encrypted PEM are `ERR_OSSL_UNSUPPORTED` whatever the passphrase, as Mbed TLS 4 has no DES; these are differences from Node.
511
511
  - `pfx` is `ENOTSUP`: pass `cert` and `key`.
512
512
  - 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`.
513
513
  - **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.
@@ -8193,7 +8193,7 @@ function satisfies(version, range2) {
8193
8193
  }
8194
8194
 
8195
8195
  // src/version.ts
8196
- var KERNEL_VERSION = true ? "1.159.0" : "0.0.0-dev";
8196
+ var KERNEL_VERSION = true ? "1.159.1" : "0.0.0-dev";
8197
8197
  var OS_RELEASE = "6.0.0-slicc";
8198
8198
  function procVersion() {
8199
8199
  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.159.0" : "0.0.0-dev";
7248
+ KERNEL_VERSION = true ? "1.159.1" : "0.0.0-dev";
7249
7249
  OS_RELEASE = "6.0.0-slicc";
7250
7250
  }
7251
7251
  });
package/dist/node.js CHANGED
@@ -3669,7 +3669,7 @@ function satisfies(version, range2) {
3669
3669
  }
3670
3670
 
3671
3671
  // src/version.ts
3672
- var KERNEL_VERSION = true ? "1.159.0" : "0.0.0-dev";
3672
+ var KERNEL_VERSION = true ? "1.159.1" : "0.0.0-dev";
3673
3673
  var OS_RELEASE = "6.0.0-slicc";
3674
3674
  function procVersion() {
3675
3675
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -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.159.0" : "0.0.0-dev";
2967
+ KERNEL_VERSION = true ? "1.159.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.159.0",
3
+ "version": "1.159.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.1",
67
+ "@ai-ecoverse/slicc-cdp": "1.41.3",
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-11",
85
+ "@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
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",