Skip to content

[Feature]: Internet Hop when no one is around #4

Description

@DeathfireD

Problem / motivation

Since this app is in its early stages it will take a very long time for a message to go from one user to another to its intended target if they are not all within the same area. Which obviously isn't a problem for when you use this at a concert or convention, however if it was for situations where you wanted to message your friend in the next town over, or at the bottom of the mountain 7 miles away, the message would take forever to get there. The idea of holding on to an encrypted message until coming into contact with another user using the app and then passing it on is great but again, not enough people use the app yet.

Proposed solution

My proposal would be to add an option to give the app the OK to relay the message over internet if you don't come in contact with another local user for the next xyz minutes. The original writer would check off a box to allow their message to be relayed over the internet and recivers would need to have the option in settings enabled to relay messages over internet after xyz minutes turned on. This way those that want to strictly use this offline can and those that are OK with using it for both offline and internet use can as well.

Ex.
If a user does not have the "relay message over internet" turned on then the app sticks with its default behavior.

If a sender checks the "OK to relay messages over internet" checked and they don't have internet, the message gets sent out to local users using the app. If one of those users has the setting turned on to relay over internet, then the message will be relayed over internet after xyz minutes ONLY of the writer gave permission for their message to be relayed over internet.

Hopefully that makes sense. I'm not sure how you'd handle duplicate messages coming from multiple sources...etc

Alternatives considered

No response

Scope and mesh impact

  • Changes the CBOR wire format
  • Changes store-and-forward custody / convergence
  • Changes the end-to-end crypto envelope
  • None of the above / not sure

Additional context

No response

Before submitting

  • I searched existing issues and this is not a duplicate.
  • I read the support expectations and roadmap, and understand some scope is deliberately deferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cryptoEnd-to-end encryption envelope and key handlingarea: meshMesh transport seam, custody, convergence, wire formatdeferredDeliberately deferred scope — see the roadmapenhancementNew feature or requestpinnedExempt from stale-bot auto-close

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions