dedis / student_18_daga

Using daga for a login service
0 stars 2 forks source link

fix the uncovered server bug (there is an "index out of bound" segfault when there is only 1 serve)r #9

Closed sarkortrantor closed 6 years ago

sarkortrantor commented 6 years ago

https://github.com/dedis/student_18_daga/blob/78c86be806eb3595acfcc69c489b69252a227ebf/sign/daga/client_test.go#L232-L242

sarkortrantor commented 6 years ago

QUESTION: should we allow |servers| = 1 ? and if it is the case what should we do ?

sarkortrantor commented 6 years ago

https://github.com/dedis/student_18_daga/blob/f3d78f9abe54417470eecb5a7cf93ca5940ad114/sign/daga/client_test.go#L242-L264

https://github.com/dedis/student_18_daga/blob/f3d78f9abe54417470eecb5a7cf93ca5940ad114/sign/daga/client_test.go#L226-L233

sarkortrantor commented 6 years ago

https://github.com/dedis/student_18_daga/commit/4e11406ef2bb5c64f2135a8fcc6e4561a04d1f9d