Skip to content
Snippets Groups Projects
Forked from briar / briar
5372 commits behind the upstream repository.
  • Torsten Grote's avatar
    685e1422
    Do not allow session ID reuse and clean up sessions for introducee · 685e1422
    Torsten Grote authored
    It was possible that a malicious introducer sends new request with the
    same session ID that was used previously and thus causing introducees to
    have multiple states for the same session ID.
    This commits prevents that from happening and adds an integration test
    for that scenario.
    
    Also if an introducee removes an introducer, all past session states
    will be deleted from the database. For this, a test was added as well.
    
    Closes #371
    Closes #372
    Do not allow session ID reuse and clean up sessions for introducee
    Torsten Grote authored
    It was possible that a malicious introducer sends new request with the
    same session ID that was used previously and thus causing introducees to
    have multiple states for the same session ID.
    This commits prevents that from happening and adds an integration test
    for that scenario.
    
    Also if an introducee removes an introducer, all past session states
    will be deleted from the database. For this, a test was added as well.
    
    Closes #371
    Closes #372
IntroductionIntegrationTestComponent.java 2.53 KiB