ehubscher / briarproject_390

Concordia University Mini-Capstone (i.e. SOEN 390) project for Team La Famiglia. The Open-Source Project forked is an Android-based secure messaging app called Briar.
Other
4 stars 1 forks source link

Add back the retrieved user into the Application's contact list | Sub task of #87 #126

Closed Winterhart closed 6 years ago

Winterhart commented 6 years ago

This is the final result of retrieve contact story (#87). Upon pressing on panic button the data of Briar will be deleted, if the user connect again with the same account, he should be able to get its contacts back again

Problems with this idea:

More architecture details in following comments...

Risks:

I will go through the risk and find out if it's possible or not by doing an analysis of the main class in charge of adding Contact: https://github.com/jhubscher/briarproject_390/blob/561facd9848c0bcf68c80f5b34726cce18c4b1ff/bramble-core/src/main/java/org/briarproject/bramble/contact/ContactExchangeTaskImpl.java

Winterhart commented 6 years ago

The entire process of adding contact is covered into this sequence diagram

As result, using the sequence diagram we will try to ensure that a workaround is possible (Risk 2, 3, 5, 4)

Winterhart commented 6 years ago

RESUME OF THE ADD CONTACT TRANSACTION:

explanationtransactionaddcontact

What can we conclude from this?

Winterhart commented 6 years ago

This is an analysis of the random key generation:

briarkeygenerationanalysis

BriarKeyGenerationAnalysis.txt

Winterhart commented 6 years ago

Conclusion:

Risks:

Winterhart commented 6 years ago

Here are few possible workarounds to make the solution work: https://docs.google.com/presentation/d/1v2SS1u_5MmU8ARhvmTJPyNMfyKEGds33H1Bg23A4vbY/edit?usp=sharing

Winterhart commented 6 years ago

Conclusion: The story is not feasible with our current remaining resources

Winterhart commented 6 years ago

@mehranhassani Can you review this issue ?