Skip to content

feat: HTTPS/TLS foundations and BWM window manager#214

Merged
ryanbreen merged 1 commit intomainfrom
feat/https-and-window-manager
Feb 14, 2026
Merged

feat: HTTPS/TLS foundations and BWM window manager#214
ryanbreen merged 1 commit intomainfrom
feat/https-and-window-manager

Conversation

@ryanbreen
Copy link
Owner

Summary

  • Remove kernel terminal_manager (-1604 lines): delete terminal_manager.rs and shell/mod.rs, clean up all references in interrupts, input_mmio, logger, render_task, render_queue, syscall handlers
  • BWM window manager improvements: auto-launch from init, fix stdin contention by removing standalone bsh, fix character spacing with 6px cell advance and two-pass rendering
  • HTTPS/TLS foundations: add crypto (AES, GCM, SHA-256, HMAC, RSA, X25519, CSPRNG), TLS 1.2 (record layer, handshake, PRF, stream), X.509 (ASN.1 DER, cert parsing, chain validation, CA bundle), burl client, enhanced HTTP with chunked transfer encoding

Test plan

  • ARM64 kernel build: zero warnings, zero errors
  • x86_64 kernel build: zero warnings, zero errors
  • ARM64 boot test: 84/84 tests pass
  • BWM launches on right side, renders shell/logs/btop tabs
  • Character spacing verified at 6px cell advance
  • Keyboard input routes correctly to BWM's PTY-based bsh

🤖 Generated with Claude Code

…ove BWM

Remove kernel terminal_manager and shell modules (-1604 lines):
- Delete terminal_manager.rs and shell/mod.rs
- Remove terminal_manager keyboard/mouse interception from interrupts
  and input_mmio
- Remove terminal_manager log routing from logger
- Remove btop refresh and log drain from render_task
- Remove display_active checks from render_queue
- Remove deactivate/reactivate from syscall handlers
- Clean up stale terminal_manager references in comments

BWM window manager improvements:
- BWM now auto-launched by init (replaces kernel terminal_manager)
- Fix input routing: remove standalone bsh from init to prevent stdin
  contention with BWM's PTY-based bsh
- Fix character spacing: use 6px cell advance (tighter than 7px raster)
  with two-pass rendering for clean glyph overlap
- Tab text uses same tight spacing via draw_text_tight()

HTTPS/TLS foundations (libbreenix):
- Add crypto module: AES-128/256, GCM, SHA-256, HMAC, RSA, X25519, CSPRNG
- Add TLS 1.2 module: record layer, handshake, PRF, stream wrapper
- Add X.509 module: ASN.1 DER parser, certificate parsing, chain
  validation, embedded CA bundle
- Add burl: curl-like HTTPS client using the TLS stack
- Enhance HTTP module with chunked transfer encoding and content-length

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ryanbreen ryanbreen merged commit adb465b into main Feb 14, 2026
1 of 4 checks passed
@ryanbreen ryanbreen deleted the feat/https-and-window-manager branch February 14, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant