Mosaad-M / tls
Pure-Mojo TLS 1.3 + 1.2 implementation. No OpenSSL, no C wrappers. 245 unit tests.
Over time
2026-03-07 to 2026-10-26; peak 30,295 lines
2026-03-07 to 2026-10-26; 43 commits, counted up by commit date
- Opened 26
- Closed or merged 26
2026-04-11 to 2026-11-22; 26 issues and pull requests opened (1 issues, 25 pull requests), from GitHub by mojo_issues
Dependencies
Depends on Mosaad-M/tcp.
Used by Mosaad-M/mojo-pkg, Mosaad-M/pg, Mosaad-M/requests, Mosaad-M/websocket.
Through those (second degree): abdulmuneer/ignis, ahmetax/Practical-Mojo-Examples, amarbaro/mojo-gguf, automata/modex, cyrillzadra/build-llm-from-scratch, elixcode-space/milkha, f0cii/pure-strat, gabrieldemarmiesse/torch-mojo-backend, gerald-scharitzer/mop, HomericIntelligence/Odyssey, igorgue/fire, KathiraveluLab/FIRM, konjoai/vectro, kutt27/query-correction-service, Lightbug-HQ/lightbug_http, lightofbaldr/nomos-nvfp4, lsh/tephra, lyffseba/arton, miguelmartinezm-gwu/whisperbox, Mosaad-M/cdp, mothball/astrolabe, NJDorsey/mojoKNN, nowex35/mojo_mcp, ormeilu/mojo-requests-poc, ormeilu/mojo_zlib_classification, Phelsong/quire, quinnavila/tokmachine, resitkurttr/mojo-llm, Ryul0rd/sdl-mojo, shyamsridhar123/MedAssistAI, sneekyfoxx/ziggy, ulmentflam/llm.mojo.
Declared in its manifests at HEAD (toolchain left out): openssl, tcp.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| amarbaro/mojo-tls | TLS 1.3 and 1.2 client and server for Mojo, with X.509, in pure Mojo: no OpenSSL, no C library | 89% |
| Mosaad-M/websocket | Pure-Mojo WebSocket client (RFC 6455) with TLS support. No OpenSSL, no C wrappers. 23 tests. | 88% |
| Mosaad-M/requests | Pure-Mojo HTTP/1.1 client with TLS support | 86% |
| corv89/mojo-tls | TLS 1.3 client and server library for Mojo, built on mbedTLS 4.0 | 85% |
| nsalerni/mojo-tls | TLS for Mojo 1.0: client/server handshakes, SNI, ALPN, strict verification, over libssl | 84% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
5 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2026-10-26 | v1.10.0 | – | git tag | 1.2.0 | e85825a03d |
| 2026-10-11 | v1.9.1 | – | git tag | 1.0.0 | 80bc820d30 |
| 2026-10-09 | v1.9.0 | – | git tag | 1.0.0 | 8f7105b0e7 |
| 2026-10-08 | v1.8.2 | – | git tag | 1.0.0 | 2c358b978e |
| 2026-10-08 | v1.8.1 | – | git tag | 1.0.0 | 7acfa34212 |
| 2026-10-08 | v1.8.0 | – | git tag | 1.0.0 | 930623b31b |
| 2026-10-07 | v1.7.0 | – | git tag | 1.0.0 | 2d07454a66 |
| 2026-10-07 | v1.6.1 | – | git tag | 1.0.0 | a2f30cf070 |
| 2026-10-06 | v1.6.0 | – | git tag | 1.0.0 | 13cfbad3a6 |
| 2026-10-05 | v1.5.0 | – | git tag | 1.0.0 | 3caf564b77 |
| 2026-10-05 | v1.4.6 | – | git tag | 1.0.0 | c3d7120686 |
| 2026-10-05 | v1.4.5 | – | git tag | 1.0.0 | d1124f825e |
| 2026-10-05 | v1.4.4 | – | git tag | 1.0.0 | d185e081a2 |
| 2026-10-03 | v1.4.3 | – | git tag | 1.0.0 | cddce28efa |
| 2026-10-01 | v1.4.2 | – | git tag | 1.0.0 | 41b1227a72 |
| 2026-10-01 | v1.4.1 | – | git tag | 1.0.0 | ab1d6b74e5 |
| 2026-09-17 | v1.4.0 | – | git tag | – | 87fdbe958c |
| 2026-04-11 | v1.3.2 | – | git tag | 0.26.2.0 | 5fc810759a |
| 2026-04-11 | v1.3.1 | – | git tag | 0.26.2.0 | 75b2e40ea8 |
| 2026-04-07 | v1.3.0 | – | git tag | 0.26.2.0 | bf90605e8c |
| 2026-03-26 | v1.1.0 | – | git tag | 0.26.2.0 | 9fd7db67f7 |
| 2026-03-26 | v1.2.0 | – | git tag | 0.26.2.0 | 5654635e19 |
| 2026-03-22 | v1.0.2 | – | git tag | 0.26.2.0 | 449046bfa7 |
| 2026-03-22 | v1.0.1 | – | git tag | 0.26.2.0 | e539fae92c |
| 2026-03-07 | v1.0.0 | – | git tag | 0.26.2.0.dev2026022205 | c839370e56 |
Issues and pull requests
0 open and 1 closed issues; 0 open, 24 merged and 1 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 26 | tls 1.12.0: TlsSocket.set_timeout_ms | 2026-11-22 | merged | 0 |
| 25 | interop: raise bulk download time limits to 5/5/10 s | 2026-11-16 | merged | 0 |
| 24 | tls 1.11.0: ALPN result on TLS 1.2, SSL_CERT_FILE and distro CA bundle paths | 2026-11-15 | merged | 0 |
| 23 | CI: run macOS jobs on macos-15 | 2026-11-13 | merged | 0 |
| 22 | Honour SSL_CERT_FILE and the other Linux bundle paths; add load_ca_bundle(path) | 2026-11-13 | closed | 1 |
| 20 | Build on Mojo 1.2.0 (floor >=1.2.0) | 2026-10-26 | merged | 0 |
| 19 | tls 1.9.1: build on Mojo 1.1.0 (and still 1.0.0); CI on the newest Mojo | 2026-10-11 | merged | 0 |
| 18 | tls 1.9.0: fast handshakes (64-bit Montgomery for ECDSA, ECDH and RSA) | 2026-10-09 | merged | 0 |
| 17 | tls 1.8.2: fast ChaCha20-Poly1305; TLS 1.2 records built whole | 2026-10-08 | merged | 0 |
| 16 | tls 1.8.1: parity with OpenSSL (fused AES-GCM, in-place records) | 2026-10-08 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-03-07 | mojo_version | – | 0.26.2.0.dev2026022205 | 8c3c9a27f9 |
| 2026-03-07 | tooling | none | pixi | 8c3c9a27f9 |
| 2026-03-21 | mojo_version | 0.26.2.0.dev2026022205 | 0.26.3.0.dev2026032105 | 7b4d22c470 |
| 2026-03-22 | mojo_version | 0.26.3.0.dev2026032105 | 0.26.2.0 | e539fae92c |
| 2026-10-01 | mojo_version | 0.26.2.0 | 1.0.0 | f31ae48cb8 |
| 2026-10-26 | mojo_version | 1.0.0 | 1.2.0 | e85825a03d |
Commits
Commit types: Feature 19% · Fix 21% · Mojo version 9% · Migration 5% · Refactor 16% · Docs 5% · Build and chores 9% · Other 16%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-26 | e85825a03d | Mojo version +tests | Build on Mojo 1.2.0 (floor >=1.2.0) (#20) | 30,276 | pixi | 1.2.0 |
| 2026-10-11 | 80bc820d30 | Refactor | Merge mojo-1.1: tls 1.9.1 (#19) | 30,284 | pixi | 1.0.0 |
| 2026-10-09 | 8f7105b0e7 | Other +tests | Merge tls-1.9.0: tls 1.9.0 (#18) | 30,295 | pixi | 1.0.0 |
| 2026-10-08 | 2c358b978e | Other +tests | Merge tls-1.8.2: tls 1.8.2 (#17) | 29,661 | pixi | 1.0.0 |
| 2026-10-08 | 7acfa34212 | Refactor +tests | Merge tls-1.8.1: tls 1.8.1 (#16) | 28,919 | pixi | 1.0.0 |
| 2026-10-08 | 930623b31b | Other +tests | Merge tls-1.8.0: tls 1.8.0 (#15) | 28,404 | pixi | 1.0.0 |
| 2026-10-08 | 7258b954ea | Docs +tests | Merge tcp-2.0.0-docs: TlsSocket(tcp.detach()) (#14) | 27,635 | pixi | 1.0.0 |
| 2026-10-07 | 2d07454a66 | Other +tests | Merge std-compat-1.7.0: tls 1.7.0 (#13) | 27,635 | pixi | 1.0.0 |
| 2026-10-07 | a2f30cf070 | Other +tests | Merge fuzz-gcm-sha512-1.6.1: tls 1.6.1 (#12) | 27,655 | pixi | 1.0.0 |
| 2026-10-05 | 13cfbad3a6 | Refactor +tests | Merge review-fixes-1.6.0: tls 1.6.0 (#11) | 26,571 | pixi | 1.0.0 |
| 2026-10-05 | 3caf564b77 | Refactor +tests | Merge protocol-1.5.0: tls 1.5.0 (#10) | 25,326 | pixi | 1.0.0 |
| 2026-10-05 | c3d7120686 | Other +tests | Merge ct-crypto-1.4.6: tls 1.4.6 (#9) | 24,558 | pixi | 1.0.0 |
| 2026-10-05 | d1124f825e | Refactor +tests | Merge io-keyupdate-1.4.5: tls 1.4.5 (#8) | 22,119 | pixi | 1.0.0 |
| 2026-10-05 | d185e081a2 | Other +tests | Merge hardening-1.4.4: tls 1.4.4 (#7) | 21,430 | pixi | 1.0.0 |
| 2026-10-03 | c62ea77b26 | Docs | Merge readme-rewrite: rewrite README to match the code (#6) | 20,762 | pixi | 1.0.0 |
| 2026-10-03 | cddce28efa | Refactor +tests | Merge path-validation: enforce CA constraints in certificate path validation (1.4.3) (#5) | 20,762 | pixi | 1.0.0 |
| 2026-10-01 | 41b1227a72 | Fix +tests | Merge fix/cross-signed-roots: accept chains anchored at a cross-signed root (#4) | 20,129 | pixi | 1.0.0 |
| 2026-10-01 | ab1d6b74e5 | Fix +tests | Fix CA bundle open() reading past the path string (1.4.1) | 20,043 | pixi | 1.0.0 |
| 2026-10-01 | f31ae48cb8 | Migration +tests | Merge mojo-v1: Mojo 1.0.0 migration (#3) | 20,040 | pixi | 1.0.0 |
| 2026-04-11 | 5fc810759a | Build and chores | chore: bump version to 1.3.2 | 20,003 | pixi | 0.26.2.0 |
| 2026-04-11 | 10cfbf8fb2 | Fix | fix: use comptime ternary for CA_BUNDLE path (fixes scope error) | 20,003 | pixi | 0.26.2.0 |
| 2026-04-11 | 75b2e40ea8 | Build and chores | chore: bump version to 1.3.1 (macOS compatibility) | 20,004 | pixi | 0.26.2.0 |
| 2026-04-11 | 13bd59be57 | Fix +tests | Fix macOS compatibility: CA bundle path and open() flags (#1) | 20,004 | pixi | 0.26.2.0 |
| 2026-04-07 | bf90605e8c | Build and chores | chore: bump version to 1.3.0 (ALPN support milestone) | 19,998 | pixi | 0.26.2.0 |
| 2026-04-07 | cdc02bff85 | Feature +tests | feat(tls): v1.3.0 — ALPN extension support in TLS 1.3 + 1.2 | 19,998 | pixi | 0.26.2.0 |
| 2026-03-26 | 5654635e19 | Feature | feat: TLS 1.2 mTLS handshake integration + connect_with_client_cert() | 19,679 | pixi | 0.26.2.0 |
| 2026-03-26 | 4ae1d4e9f3 | Feature +tests | feat: NewSessionTicket capture, session_tickets() API, and mTLS message builders | 19,509 | pixi | 0.26.2.0 |
| 2026-03-26 | 9fd7db67f7 | Feature +tests | feat: PSK key-schedule helpers, NewSessionTicket parser, p256_ecdsa_sign | 18,902 | pixi | 0.26.2.0 |
| 2026-03-24 | 253a35e7d1 | Fix | fix: regenerate pixi.lock after adding osx-arm64 platform | 17,584 | pixi | 0.26.2.0 |
| 2026-03-24 | ad91f4b9d6 | Feature | feat: add crypto performance benchmarks (pixi run bench) | 17,584 | pixi | 0.26.2.0 |
| 2026-03-22 | f0f3db0b42 | Fix | fix: replace getrandom with /dev/urandom for macOS compatibility | 17,481 | pixi | 0.26.2.0 |
| 2026-03-22 | 9514e4684e | Fix | fix: remove stray file with illegal macOS filename | 17,461 | pixi | 0.26.2.0 |
| 2026-03-22 | 3bec13c0c1 | Feature | feat: add osx-arm64 platform support | 17,461 | pixi | 0.26.2.0 |
| 2026-03-22 | 449046bfa7 | Fix +tests | fix: qualify stdlib imports with std. prefix (Mojo 0.26.2) | 17,461 | pixi | 0.26.2.0 |
| 2026-03-22 | e539fae92c | Migration +tests | chore: migrate to mojo 0.26.2 stable (fn→def, UnsafePointer origin) | 17,461 | pixi | 0.26.2.0 |
| 2026-03-21 | 7b4d22c470 | Mojo version | chore: update pixi.lock for mojo >=0.26.2 | 17,461 | pixi | 0.26.3.0.dev2026032105 |
| 2026-03-21 | e7d95397ea | Mojo version | chore: bump mojo requirement to >=0.26.2 | 17,461 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-12 | bcab9378ed | Build and chores | ci: add GitHub Actions test workflow, composite test task, pin pixi.lock | 17,461 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-11 | 99a36f4fa7 | Fix | fix: correct clone URL in README (mmosaad -> Mosaad-M) | 17,461 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-11 | 0ea30b245f | Feature +tests | Add Ed25519 signing + SHA-512 (14/14 tests passing) | 17,461 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-07 | c839370e56 | Feature | Add mojoproject.toml; fix gitignore; use getrandom() in random.mojo | 15,582 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-07 | abd86be032 | Refactor | Remove private keys from repo; rotate test certificates | 15,602 | pixi | 0.26.2.0.dev2026022205 |
| 2026-03-07 | 8c3c9a27f9 | Mojo version +tests | Initial commit: pure-Mojo TLS 1.3 + 1.2 implementation | 15,602 | pixi | 0.26.2.0.dev2026022205 |