Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for multiple accounts #115
I think long-term-wise it would be good to have mutli-user-support in place. For IRC support jackline would definately need such an mechanism for managing IRC and XMPP at the same time.
Additionally it would just allow the convenience of using multiple XMPP accounts (and later multiple IRC networks) at the same time.
Related to #104.
XMPP servers can talk to each other through a mechanism called "site-to-site" (S2S): https://xmpp.org/extensions/inbox/s2s-components.html
I believe the original motivation for not allowing multiple users, besides keeping the complexity down, was to discourage people using multiple accounts in the same jackline instance in an attempt to achieve anonymity, since it is usually possible to identify such configurations through passive fingerprinting, a risk that many users aren't aware of.
My initial motivation to not support multiple accounts was to reduce complexity, I'm currently rewriting lots of code to get rid of mutable and global state...
Passive fingerprinting is a risk, to mitigate I'd introduce per-account commands (such as connecting to only a single command).