Skip to content

vey-keyless: support multiple server types - #83

Merged
zh-jq merged 6 commits into
mainfrom
keyless-server
Aug 1, 2026
Merged

vey-keyless: support multiple server types#83
zh-jq merged 6 commits into
mainfrom
keyless-server

Conversation

@zh-jq

@zh-jq zh-jq commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

zh-jq and others added 4 commits August 1, 2026 15:06
Split the single hardcoded server into a config trait plus an
AnyKeyServerConfig enum dispatched on the YAML `type` key, mirroring the
vey-proxy architecture, so listening sockets can be chained in front of the
key operation protocol and new protocols can be added without touching the
registry.

Three types are provided: keyless_cf (the existing Cloudflare Keyless
server, and the default when `type` is omitted), plain_tcp_port, and
plain_tls_port which terminates TLS with rustls. `listen` is now optional on
keyless_cf so it can serve only the connections handed over by a port
server, and `server` references are verified at config load time.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep KeylessRequest/Response and Wrapped* helpers as shared logic, move
KeylessTask under the cloudflare server, and put Cloudflare encode/decode
in request/cloudflare and response/cloudflare with explicit method names.

Co-authored-by: Cursor <cursoragent@cursor.com>
Document cloudflare/port server chaining, optional listen, and examples;
align CHANGELOG type names with the cloudflare rename.

Co-authored-by: Cursor <cursoragent@cursor.com>
@zh-jq
zh-jq merged commit 147bab1 into main Aug 1, 2026
118 of 134 checks passed
@zh-jq
zh-jq deleted the keyless-server branch August 1, 2026 15:52
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