Started work on HTTPS protocol

This commit is contained in:
Arthur Beck 2025-03-18 19:09:31 -05:00
parent c6ca503ed2
commit 2b03779aa7
No known key found for this signature in database
GPG key ID: ACE3D14F5CEF14BF
2 changed files with 22 additions and 1 deletions

11
HTTPS.md Normal file
View file

@ -0,0 +1,11 @@
# HTTPS-based protocol spec
When using HTTP, Venus will generate a warning and attempt to use HTTPS due to security issues.
## Conventions
All paths used are relative to the path provided by the user.
## Pulling
To start out communication, the client will attempt to access the file `.venus/VERSION`. It will then verify that it supports the specified protocol and version, before getting `.venus/default/BRANCH` and `.venus/default/MOD`. It will then get the specified branch file and retrieve each mod, populating it's own `.venus/MOD_ORDER`. It will then apply each mod's object(s) to it's own local copy of the repo.