[Tool] Main Menu Password Manager & more

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

[Tool] Main Menu Password Manager & more

by TalkLounge » Sat Mar 09, 2019 11:00

Image

What's that?
This tool is an extension for your main menu with a lot of useful features
1. Only enter your password once per server
2. Double-click a server to see who is online
3. Search for player & mods in the whole server list

How to install?
1. Download the ZIP-Archive & extract it
2. Move the extracted files to /minetest/builtin/mainmenu/
3. Delete the current tab_online.lua file
4. Rename the tab_online <version> .lua file to tab_online.lua(<version> should be your minetest version)
5. Start your minetest & enjoy

Dependencies
Java (Loading the detailed server list)
Tested with Windows 10 (Should work anywhere as well)

Download
Video
Browse on Github
Download

License
GPL 2.0 | Check my changes

Help! It doesn't work
1. Is java installed?
If not, install java
2. Is java an environmental variable?
If not, open your tab_online.lua file, go to line 27 and change "java" to your java executable. Example: "C:/ProgramData/Oracle/Java/javapath/java.exe"

Changelog
09.03.2019: Released. Supports: 0.4.16, 0.4.17, 0.4.17.1 & 5.0.0
14.04.2019: Support added for 5.0.1
19.07.2019: Improved player search & player display list
Last edited by TalkLounge on Fri Jul 19, 2019 15:38, edited 6 times in total.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
texmex
Member
 
Posts: 1537
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Tool] Main Menu Password Manager & more

by texmex » Sat Mar 09, 2019 11:17

This is a great idea, thank you for the coding effort.

However, it’s not implemented the right way. As this is not licensed properly, unsecure and requires Java it should be reworked.

set secure.enable_security = false

This is a bad idea and should never be publicly advised.

I’d recommend working on a PR for a save password feature in the engine instead.
Last edited by texmex on Sat Mar 09, 2019 13:52, edited 1 time in total.
 

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Sat Mar 09, 2019 11:31

is not licensed properly

I wrote my own license because I can't find one thats exactly like mine. And the password manager is something that I use since a year now and want to share, because it's very useful. I use my license now for every mod that I will publish.

should be reworked

Yeah! Would be better to write that in the engine. But I can't write c++, so this was the easiest way to implement.

This is a bad idea and should never be publicly advised.

Otherwise you can't call the jar file, that's the problem.

I’d recommend working on a PR for a save password feature in the engine instead.

They can use my own written ciphering method. :)
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Sat May 04, 2019 20:52

If not, go to your minetest.conf and set secure.enable_security = false


This was a wrong assumption from me, because I haven't tested that. You doesn't need to turn mod security off.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
cHyper
Member
 
Posts: 842
Joined: Fri May 06, 2011 08:49
Location: Austria
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper cHyper_0815

Re: [Tool] Main Menu Password Manager & more

by cHyper » Wed May 08, 2019 20:15

are there any files for minetest version 5.1.0 ?
 

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Thu May 09, 2019 13:30

There is a file for minetest version 5.0.1. Minetest version 5.1.0 isn't released yet, but for the dev version of 5.1.0 you can try to use the file of version 5.0.1, because there are very less commits in tab_online.lua since minetest 0.4.16 in each minetest version. Between 0.4.15 and 0.4.16 was a "breaking" release in tab_online.lua, but after that, they added just a few new features.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
LMD
Member
 
Posts: 788
Joined: Sat Apr 08, 2017 08:16
Location: Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: [Tool] Main Menu Password Manager & more

by LMD » Mon May 13, 2019 17:28

> They can use my own written ciphering method. :)
Can you prove it's safety ? Likely not.
Code: Select all
URL URL = new URL("http://servers.minetest.net/list?proto_version_min=0&proto_version_max=100");
Scanner sc = new Scanner(URL.openStream());
System.out.println(sc.nextLine());
sc.close();

1. Having variable names same as class names is a bad idea
2. Are you really using Java only to print out all the lines ? MT supports HTTPRequests, this is not required : https://github.com/minetest/minetest/bl ... .txt#L4621

I would not recommend using this before you add proper security.
 

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Mon May 13, 2019 17:47

Can you prove it's safety ? Likely not.

No, but if you want to, you can test it against brute forcing. :)

Having variable names same as class names is a bad idea

I know that's bad practise. But in this case it doesn't matter.

Are you really using Java only to print out all the lines ? MT supports HTTPRequests

HTTP requests don't work in the builtin. Because you can't set builtin as a secure trusted mod. This was the first I have tested before I decided to work with java.
Otherwise working with the command line would work as well. But then there are at least three different commands needed(Windows, Linux & Mac).
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
LMD
Member
 
Posts: 788
Joined: Sat Apr 08, 2017 08:16
Location: Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: [Tool] Main Menu Password Manager & more

by LMD » Mon May 13, 2019 18:32

> No, but if you want to, you can test it against brute forcing. :)
It's not about this. If somebody cracks your PC, you don't want him to know all your passwords. They should be stored using a master password. No matter which algorithm you use, it can always be reverted when the attacker has access to the sourcecode.
Darum geht es nicht.
 

User avatar
TalkLounge
Member
 
Posts: 302
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
In-game: TalkLounge

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Mon May 13, 2019 18:53

If somebody cracks your PC

Minetest should be the least problem you will have, if your computer were cracked. And you shouldn't use your minetest passwords anywhere else. That's a security risk at all. If someone get permissions to your computer, than he can play minetest with your account. Wow.

They should be stored using a master password

This was the first idea I had when I started to program this password manager. The problem is, that theres no method to save the master password until the minetest window is closed. I already asked for help in IRC long time ago. There is no script that runs all the time(Without editing C++ and compile minetest again), where you can save the master password.
Asking for the master password every time in the main menu isn't a advantage and there is another problem: You can run several minetest at the same time.
So you need to have a daemon that checks the minetest pid every time, but is that usefull and necessary for just saving a few server account passwords for a game? I don't think so.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
LMD
Member
 
Posts: 788
Joined: Sat Apr 08, 2017 08:16
Location: Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: [Tool] Main Menu Password Manager & more

by LMD » Mon May 13, 2019 20:07

> no method to save the master password
You don't want to store the password, you want to store the hash.
> If someone get permissions to your computer, than he can play minetest with your account.
No. Not necessarily. If they get all your data (quite common), they can't play with your account - except if they got your files.

BTW I think you should just use the same password for all your accounts in Minetest, as the server doesn't get to know the plaintext.
 


Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 4 guests