enregistrement avec serveur

This commit is contained in:
TIBERGHIEN corentin
2025-12-16 22:43:49 +01:00
parent 721d52a028
commit 002a667837
6 changed files with 968 additions and 10 deletions

32
todo.md Normal file
View File

@@ -0,0 +1,32 @@
# Todo :
## peer discovery
- get rsquest to the uri /peers/
## registration with the server
- generation of the cryptographic key
- put request to the uri (check if the peer is already connected) OK
- get request to the uri /peers/key to get the public key of a peer
- get request to the uri /peers/key/addresses
## handshake
- handshake structure
- 5min timeout after handshake
- matain connection every 4 min
## data transfer
- request structure
- root/root reply structure
- datum/nodatum and datum structures
- nattraversal 1 and 2 structures
- setting in gui to act as a relay
- chunk, directory, big, bigdirectory structures
fonctionnalités :
s'enregistrer avec le serveur OK
rechercher un pair
generer une clé publique
rechercher les fichiers d'un pair
telechargement des fichiers
choisir un dossier à partager
se deconnecter du réseau