hugogspereira / secure-real-time-streaming-2

Repository for the Network and Computer Systems Security Course of 2022/2023.
0 stars 0 forks source link

think about what will be send in the handshake protocol #1

Closed hugogspereira closed 1 year ago

hugogspereira commented 1 year ago

DH:

box: lista de ciphersuites || || Y_box || alpha || P || Sig_kprivBox( Y_box || alpha || P ) || H( M1 || M2), onde M1 = lista de ciphersuites || || Y_box || alpha || P; M2 = Y_box || alpha || P;

server: movie name || ciphersuite escolhida || cert chain> || Y_server || Sig_kprivServer( Y_server ) || H(M1 || M2), onde M1 = movie name || ciphersuite escolhida || cert chain> || Y_server; M2 = Y_server

hugogspereira commented 1 year ago

Nota: nessa especificação o Hash não está a fazer nada

hugogspereira commented 1 year ago

ter um pre-shared secret - HMAC - e tem de se dizer qual o algoritmo

hugogspereira commented 1 year ago

na ultima mensagem ser a box a dizer que quer ver este filme -> garantir que os parametros derivados ficaram bem -> Cifrar algo com essa key que ambos saibam o que é