@ai-ecoverse/wasix-openssh 10.6.0-5 → 10.6.0-6

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
@@ -4,7 +4,8 @@
4
4
  [slicc](https://github.com/ai-ecoverse/slicc) WASIX realm: `ssh`, `ssh-keygen`,
5
5
  `scp`, `sftp`, and `ssh-add`.
6
6
 
7
- Built with the pinned wasixcc on **wasix-sysroot 2025.9.30-18**, linking
7
+ Built with the pinned wasixcc on **wasix-sysroot 2025.9.30-22** (since
8
+ 10.6.0-6; -5 was on -18), linking
8
9
  **wasix-openssl 3.5.9-3** and **wasix-zlib 1.3.1-2** via pkg-config only
9
10
  (`-Wl,--fatal-warnings`). No `sshd` in this package.
10
11
 
@@ -16,22 +17,21 @@ GIT_SSH_COMMAND=ssh git clone ssh://user@host/repo.git
16
17
 
17
18
  ## Identity and `~/.ssh`
18
19
 
19
- OpenSSH resolves `~` with `$HOME` first, then `getpwuid`. The default remote
20
- user name comes from `getpwuid` (wasix-sysroot `slicc_identity` → `user` /
21
- `/home/user` on -17). Until H1 (sysroot **-19** + kernel K1), set `$HOME` and
22
- `$USER` explicitly in the realm, and prefer `user@host` or `-l` when the
23
- default user must match a real account. Key files need mode **0600** (kernel
24
- ≥ 1.35.1 `slicc_fs`).
20
+ Since 10.6.0-6 the user is the kernel's (wasix-sysroot -20 credentials,
21
+ slicc-kernel ≥ 1.44.0): the default remote user and `~` come from the
22
+ kernel's passwd, `root` with `/root`, or an added user with its own home, and
23
+ files ssh writes (keys, `known_hosts`) belong to that user. Key files need
24
+ mode **0600**; a private key readable by others is refused (`UNPROTECTED
25
+ PRIVATE KEY FILE`).
25
26
 
26
27
  ## Interactive PTY (`ssh -t`)
27
28
 
28
- `enter_raw_mode` clears `ISIG` / `IEXTEN` / `OPOST` through `tcsetattr`. WASIX
29
- `tty_set` cannot clear those yet ([slicc-kernel#247](https://github.com/ai-ecoverse/slicc-kernel/issues/247)),
30
- so a local **^C** can hit the local `ssh` instead of being forwarded. The
31
- host-node cert asserts that current behaviour (local `ssh` exits with a
32
- SIGINT-ish status). Use the SSH escape **`~.`** (newline, tilde, period) to
33
- disconnect until #247 lands. This package does **not** patch around that in
34
- OpenSSH.
29
+ Since 10.6.0-6 (wasix-sysroot -21 per-descriptor termios, slicc-kernel ≥
30
+ 1.48.0) `enter_raw_mode` really clears `ISIG` / `IEXTEN` / `OPOST`, so a
31
+ local **^C** reaches the remote, and resizing the local terminal reaches the
32
+ remote pty (SIGWINCH → window-change). With -5, or on older kernels, ^C hit
33
+ the local `ssh` ([slicc-kernel#247](https://github.com/ai-ecoverse/slicc-kernel/issues/247)).
34
+
35
35
 
36
36
  ## `ssh-add` / agent
37
37
 
@@ -70,8 +70,10 @@ backs up `known_hosts` with a copy when `link()` is unavailable (patch
70
70
 
71
71
  ## Sysroot
72
72
 
73
- **wasix-sysroot 2025.9.30-18** (select/pselect sub-second timeouts and
74
- socketpair flags; slicc_fs modes from -17). OpenSSH 10.6's client loop uses
73
+ **wasix-sysroot 2025.9.30-22**: select/pselect timeouts and socketpair
74
+ flags (-18), signals and EINTR (-19), the kernel's users (-20), per-fd
75
+ terminals (-21), and the `slicc.libc` marker in every binary (-22), so
76
+ slicc-kernel gives it EINTR semantics. OpenSSH 10.6's client loop uses
75
77
  **poll/ppoll**.
76
78
 
77
79
  ## Not in v1
@@ -211,7 +211,7 @@ Copyright notice:
211
211
  jloup@gzip.org madler@alumni.caltech.edu
212
212
  ```
213
213
 
214
- ## wasix-libc (@ai-ecoverse/wasix-sysroot 2025.9.30-18; files from tag v2025-09-02.1)
214
+ ## wasix-libc (@ai-ecoverse/wasix-sysroot 2025.9.30-22; files from tag v2025-09-02.1)
215
215
 
216
216
  ```text
217
217
  wasi-libc as a whole is multi-licensed under the
package/bin/scp.wasm CHANGED
Binary file
package/bin/sftp.wasm CHANGED
Binary file
package/bin/ssh-add.wasm CHANGED
Binary file
Binary file
package/bin/ssh.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-openssh",
3
- "version": "10.6.0-5",
3
+ "version": "10.6.0-6",
4
4
  "description": "OpenSSH 10.6p1 client for slicc WASIX: scp, sftp, ssh, ssh-add, ssh-keygen",
5
5
  "license": "SSH-OpenSSH",
6
6
  "engines": {
7
- "slicc-kernel": ">=1.41.0"
7
+ "slicc-kernel": ">=1.44.0"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "upstream": "10.6p1",
38
38
  "openssl": "@ai-ecoverse/wasix-openssl@3.5.9-3",
39
39
  "zlib": "@ai-ecoverse/wasix-zlib@1.3.1-2",
40
- "sysroot": "@ai-ecoverse/wasix-sysroot@2025.9.30-18"
40
+ "sysroot": "@ai-ecoverse/wasix-sysroot@2025.9.30-22"
41
41
  },
42
42
  "slicc": {
43
43
  "abi": "wasi",