1. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    Are you sick of having to take your phone whenever you need to input the 2fa code? You want a tool that automatically generates the code within your minecraft client and automatically calls the /2fa command whenever the server requires it without need of any intervention from you?
    You are in the right place!
    Unfortunately, such a tool does not exist (yet).
    Well, I'm sick of this: if it doesn't exist, I'm gonna make one myself, by Jove! I know it can be done, but I also know it's going to take a huge amount of time to 1) study the algorithm behind the OTP generator and 2) implement the code on minecraft starting from scratch. So here's a couple questions I'm gonna ask you before starting:
    1. Do you know whether such a tool actually exists already? (if it does, there's no point making one myself)
    2. Would you be interested in collaborating to develop it?
    Here's 2 possible ways I have in mind, with pros and cons.
    1. Make a new mod
      • pros:
        1. I would be able to write in a powerful programming language (Java), which is essential if you want to implement in a humanly readable way a hash algorithm (macromod is terrible);
      • cons:
        1. I would have to study Forge/LiteLoader/SomethingElse's API;
        2. other people who would like to use this tool would have to install another mod.
    2. Make a macromod script
      • pros:
        1. no need to study new APIs;
        2. people who already have macromod would be able to just copy-paste the code;
      • cons:
        1. implementing a hash algorithm on macromod would be a programming nightmare (partly because of terrible math, but mostly -unless I'm wrong- because you can't define functions).
    In both cases, I would have to throughly study the OTP algorithm in order to be able to implement it sensibly, one way or another.
    I'm leaning towards the second option, however I would greatly appreciate suggestions and remarks before starting. And of course I would appreciate even more so if you offered to help :)

    People who might be interested and/or who I know have some know-how:
    @314 @ScarabCoder @CrazySwagMaster1 @kukelekuuk00 and please tag anyone you think might be interested and/or whose opinion might be relevant.

    Thanks in advance!


    F.A.Q.
    • Wouldn't such a tool completely defeat the purpose of 2fa authentication?
      • Not completely:
        • if your concern is that the computer where you play might be compromised or accessed from malicious users, then you should definitely not use such a tool;
        • if your sole concern is that your password might be stolen or guessed, but you're reasonably confident that your computer is safe (as much as you are for your smartphone), then such a tool won't defeat the purpose of 2fa authentication.
      • For more information, see the discussion below.
    • Can't you just move you ass and get your phone?
      • I guess I could, as I've been doing until now, however:
        • I'm too lazy, so ridiculously lazy that I'm willing to spend days making such a tool (after all, "laziness is the engine of progress");
        • I have a script that does stuff whenever I login, however its commands won't be accepted before 2fa authentication, therefore I have to manually launch it after I manually insert the 2fa code, and this bothers me a lot.
      • For more information, see the discussion below.
    • Can't you just relinquish 2fa?
      • I guess I could, but:
        • I don't trust my minecraft password enough and I plan to slowly but steadily increase my wealth on ECC, so I'm not at ease thinking someone could guess my password and drain my bal;
        • even if I periodically changed my password and always used very good passwords (which I'm too lazy to do for every password protected service I use), 2fa would still be much safer than that.
     
    #1 Expipiplusone, Sep 14, 2016
    Last edited: Sep 16, 2016
  2. cookiefan8888 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 26, 2015
    Messages:
    207
    Trophy Points:
    16,090
    Gender:
    Male
    Ratings:
    +211
    If this would work, I could help on that. I would need to study the Forge & LiteLoader's Api too. I know pretty fluent java script :).
     
  3. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    But it's in java.. which is nothing like javascript.
     
    #4 kukelekuuk, Sep 15, 2016
    Last edited: Sep 15, 2016
  4. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    That was one of the most outrageously dumb name choices of the last century, there's people still confused nowadays
     
  5. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    The name "javascript" is actually a trademark of Oracle, the company behind Java.
     
    • Informative x 1
    • List
    #6 kukelekuuk, Sep 15, 2016
    Last edited: Sep 15, 2016
  6. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    IK, but still a terrible and extremely short-sighted idea IMHO
     
  7. goblizz The One and Only
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 25, 2013
    Messages:
    1,789
    Trophy Points:
    45,160
    Gender:
    Male
    Ratings:
    +1,576
    Not saying this is a bad idea or impossible at all as I like the principle, but I do have some questions for you.

    1. Wouldn't having an code running the algorithm and autofilling the /2fa command when necessary sorta defeat the purpose of 2fa in the first place?

    2. How would this mod handle switching computers? Obviously almost everyone's 2fa codes are different at any given time, so would that require some sort of database where your specific key function is stored, and you can access it via MC credentials or some sort of authorization?
     
    #8 goblizz, Sep 15, 2016
    Last edited: Sep 15, 2016
  8. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    Good questions, here's my answer to both.

    The purpose of 2fa is to avoid someone else logging with my account because they guessed my password: 2fa authentication with smartphone-generated codes is safe insofar I, and only I, have access to my smartphone. That's the critical point.
    If I, and only I, have access to my computer, then the same could be said for a computer-generated code. Actually I already have an app on the laptop where I play that generates the same codes as my smartphone: so it's already possible. It's just that
    1. I'm too lazy to manually open the app and manually type the code: so lazy that I'm willing to spend days on this project (LOL);
    2. before starting to use 2fa I had a macro that automatically activated fly, disabled lot messages, etc upon login; with 2fa I have to manually start that macro after I enter the 2fa code, because all the commands that macro sends would not be accepted: this bothers me unbelievably and I'd love to go back to that script going automatically, while at the same time keeping 2fa security.
    You might object that computers are shared more often than smartphones: but on the other end smartphones, being mobile, are accessed more easily. And, unless you have reasons not to trust your brother who happens to play on the same server, you can be reasonably safe if the code is generated within your personal computer.

    I'll answer your second question starting with another question: why would you switch computer in the first place and who owns them?
    This might be limited to personal experience, but I play minecraft only on my computer: because here I have my configuration, my mods, my macros, my todo list, my spreadsheet with information about members of my town and users whom I dealt with, just.. everything. Why on Earth would I play on another computer? The only reasonable scenario would be to just login after almost a week in order to avoid my bal get wiped, because for some reason I don't have access to my computer for more than a week. But I'll try to conceive different scenarios with multiple computers:
    1. I own them all and only trusted people have access to them: then it would be ok to install the key on both;
    2. I own only one, and only trusted people have access to them, but I occasionally login from another (unsafe) computer: then I'll obviously install the key only on the first one;
    3. none of those computers are safe: then I have absolutely no reason to install the key on any of those computers, ever.
    I general: if you trust that computer, then it's okay. If you don't, then don't.
     
  9. JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    Heh.
    Good luck.

    Also, doing something like this defeats the purpose of 2fa
     
  10. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    the point of 2fa is to secure your account with another device. If you computer gets compromised, then at least your critical data secured with 2fa remains safe. If you handle 2fa on the same device you log in with, then when that device gets compromised, so does your 2fa.

    So yeah, doing this ruins the point of 2fa. (not that 2fa is at all important to a minecraft server.)
     
    #11 kukelekuuk, Sep 16, 2016
    Last edited: Sep 16, 2016
  11. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    I see your point: 2fa codes generated on another device secure your account when your computer is compromised. However a second, broader point of 2fa is to secure your account when only your password is stolen or guessed, regardless of whether your computer is compromised or not. If my computer is compromised, then my password is compromised (or it can be bypassed) as well; however, if just my password is compromised, then my computer might still not be compromised: the first point is a particular case of the second.
    My tool surely defeats the first point. However it does not defeat the rest of the second, and (at least, in my case) I'm much more concerned with the latter: if my computer is compromised, my first concern would surely not be my minecraft account (which is a small subset of my digital life) but my whole computer (which is most of my digital life)!
     
    #12 Expipiplusone, Sep 16, 2016
    Last edited: Sep 16, 2016
  12. cookiefan8888 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 26, 2015
    Messages:
    207
    Trophy Points:
    16,090
    Gender:
    Male
    Ratings:
    +211
    Ever heard of a typo, m8?

    EDIT: #NoobAlert. I thought typo meant auto correct. by typo, I meant auto correct. Kuke, Sorry about that. Hope y'all believe me :c
    EDIT (#2): Long story short, I typed in "Java" and i hit post. Right as I hit post, It corrected.
     
    #13 cookiefan8888, Sep 16, 2016
    Last edited: Sep 16, 2016
  13. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    Ah yes, because that was sooo obvious.
     
  14. cookiefan8888 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 26, 2015
    Messages:
    207
    Trophy Points:
    16,090
    Gender:
    Male
    Ratings:
    +211
    Fixed.
     
  15. Nicit6 N6
    Mayor ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ II ⭐ Gameplay Architect Premium Upgrade

    Joined:
    Jul 13, 2013
    Messages:
    9,916
    Trophy Points:
    102,160
    Ratings:
    +8,061
    ...but why?
    Why would somebody even bother, though? In general someone gaining access to your account and then using it to cause harm to your ECC progress is very very slim. Genuine security incidents like that are very few and far between and really only happens to staff members, because that's where more havoc can be done.

    I'm going to assume that if you're using 2fa then obviously your password here is unique and nobody else knows it (and nobody has access to your computer).

    So I guess my point here is... If you find 2fa to be a hassle, why not just not use it?
     
  16. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    I partly answered your question in my last edit of the OP (see F.A.Q.). Shortly, my minecraft password is not idiotic, but it's not excellent either (I prefer to commit my limited bone-and-flesh memory for good passwords for more critical stuff than minecraft) but at the same time I'm not at ease knowing someone might brute-force guess it.
    And: what if I chose to apply for staff? I'm not planning to do that at the moment, however you're never ready enough for circumstances.
     
    #17 Expipiplusone, Sep 16, 2016
    Last edited: Sep 16, 2016
  17. goblizz The One and Only
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 25, 2013
    Messages:
    1,789
    Trophy Points:
    45,160
    Gender:
    Male
    Ratings:
    +1,576
    Let's just be honest, how many people /really/ want to brute-force a Minecraft account password to maliciously drain someone's balance? I could understand someone doing it to gain access to a Moderator account (which at that time you enable 2fa), but for any regular user...as long as only you use your computer and have relatively decent password security your account is fine. I've had my MC account for three and a half years and nothing bad has happened to it. And my passwords are definitely...middle tier.
     
  18. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    It's not even possible to brute-force minecraft passwords any more. 1) they also need your email, and 2) mojang account security has improved and it quickly blacklists IPs that try to brute-force. Even with a few thousand proxies you still can't bruteforce a single account.

    The only thing you need to pay attention to is that you should use different passwords (So don't use 1 password for everything),don't fall for shit like phishing (the source of all minecraft alts!), and subscribe your email to https://haveibeenpwned.com/
    EDIT: Also never ever send people your .minecraft.
     
    #19 kukelekuuk, Sep 16, 2016
    Last edited: Sep 16, 2016
  19. Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    This, I didn't know.
    It starts to seem that my project is pointless... aww, I was already feeling eager-beaver