Skip to content

add makeshift tls#16

Draft
manti09wasntavalible-source wants to merge 4 commits into
mainfrom
makeshift-encryption
Draft

add makeshift tls#16
manti09wasntavalible-source wants to merge 4 commits into
mainfrom
makeshift-encryption

Conversation

@manti09wasntavalible-source

@manti09wasntavalible-source manti09wasntavalible-source commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

i added makeshift tls
this is untested by the way (i dont fell like modifying a client to work)
THIS BREAKS ALL PREVIOUSLY WORKING CLIENTS
to make a client work:
have the client generate ecc keys at startup
before conecting to the server in any way, make a http post request to (server)/api/key (it could crash the server if you dont do it before in the current state(i think this is patched)). the content should be your public key. the server should return its public key
encrypt all http content sent to the server with the servers public key
decrypt everything recieved with your private key

i added the makeshift tls i was thinking of making and changed the status codes to not be 200 even on errors
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

oh yo whats good its me greetertron! i notice you're new around here. Thanks for making this PR, @cool-guy-awesome or @VirtuallyExisting will see it soon™!
LISTEN TO THE VOICES. LISTEN TO THE VOICES IN YOUR HEAD. LISTEN TO THE VOICES. LISTEN TO THE VOICES IN YOUR HEAD. LISTEN TO THE VOICES. LISTEN TO THE VOICES IN YOUR HEAD.

@cool-guy-awesome

Copy link
Copy Markdown
Contributor

Maybe later

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.

2 participants