mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 21:59:54 +01:00
Remove FIXME in test since we won't fix it this way
This commit is contained in:
@@ -233,9 +233,12 @@ public class TransportKeyAgreementIntegrationTest
|
|||||||
// but not via the new duplex transport
|
// but not via the new duplex transport
|
||||||
assertTrue(alice.getKeyManager()
|
assertTrue(alice.getKeyManager()
|
||||||
.canSendOutgoingStreams(bobId, SIMPLEX_TRANSPORT_ID));
|
.canSendOutgoingStreams(bobId, SIMPLEX_TRANSPORT_ID));
|
||||||
// FIXME normally Alice should not be able to already send streams
|
// Normally, Alice should not be able to send streams already.
|
||||||
// assertFalse(alice.getKeyManager()
|
// However, she does already derive keys for the transport.
|
||||||
// .canSendOutgoingStreams(bobId, newTransportId));
|
// The UI checks RemovableDriveManager#isTransportSupportedByContact()
|
||||||
|
// in practice to prevent sending streams that Bob can't decrypt.
|
||||||
|
assertTrue(alice.getKeyManager()
|
||||||
|
.canSendOutgoingStreams(bobId, newTransportId));
|
||||||
|
|
||||||
// Bob restarts and comes back with the new transport.
|
// Bob restarts and comes back with the new transport.
|
||||||
bob = restartWithNewTransport(bob, bobDir, bobIdentity);
|
bob = restartWithNewTransport(bob, bobDir, bobIdentity);
|
||||||
|
|||||||
Reference in New Issue
Block a user