Commit Graph

4 Commits

Author SHA1 Message Date
nevaforget 59027ae005 ci: switch update-pkgver to tag-trigger (no-suffix pkgname) 2026-06-10 20:54:13 +02:00
nevaforget d01a358f35 refactor: harden ssh_config handling, mount path, and CLI UX from audit findings
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Three rounds of audit-driven hardening, fully documented in DECISIONS.md:

- argv hardening: validate HostName/User/IdentityFile via allowlist regexes,
  parse Port via strconv.Atoi, surface ssh_config parse errors instead of
  silently swallowing them. Switch -o kernel_cache to auto_cache for network-
  FS correctness, pin StrictHostKeyChecking=accept-new.
- LOW-severity cleanup: -v verbose flag (default output is just the mount
  path), run_editor returns errors and main exits 7 on failure, ABOUTME
  headers, golang.org/x/sys v0.43.0 (go 1.25.0).
- Defense-in-depth + UX: rxIdentityFile first-character anchor rejects
  leading "-"/"."/":"/etc., verify_mount_dir resolves base via EvalSymlinks
  and refuses pre-existing symlinks at the mount path, flag.Usage shows the
  positional <Host> argument, run_editor uses cmd.Start() so cold-start
  Sublime does not block the terminal.
- CI: empty-PKGVER guard in update-pkgver workflow.
- Tests: verify_mount_dir path-traversal + symlink-reject coverage,
  rxHostUser/rxIdentityFile boundary cases.
2026-04-26 11:24:45 +02:00
nevaforget af3375b343 ci: harden update-pkgver workflow with fail-loud checks
Update PKGBUILD version / update-pkgver (push) Failing after 0s
2026-04-19 15:27:54 +02:00
nevaforget eb93777faa feat: package as sshfsc for Moonarch repo
Update PKGBUILD version / update-pkgver (push) Has been cancelled
- Add MIT LICENSE
- Rename Go module sshfs_connect -> sshfsc
- Update README with Moonarch install instructions
- Add Gitea workflow to auto-bump pkgver in moonarch-pkgbuilds
2026-04-19 14:29:57 +02:00