https://github.com/ichttt/forgegradleloginwrapper
A wrapper for FG which logs you in using encrypted access tokens
https://github.com/ichttt/forgegradleloginwrapper
forgegradle java-8 yggdrasil-minecraft-login
Last synced: about 1 year ago
JSON representation
A wrapper for FG which logs you in using encrypted access tokens
- Host: GitHub
- URL: https://github.com/ichttt/forgegradleloginwrapper
- Owner: ichttt
- License: mit
- Created: 2017-10-09T19:26:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T20:49:45.000Z (over 8 years ago)
- Last Synced: 2025-01-27T21:33:15.600Z (over 1 year ago)
- Topics: forgegradle, java-8, yggdrasil-minecraft-login
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ForgeGradleLoginWrapper
A dev enviroment basic login manager
This Application is intended as a launcher for ForgeGradle.
Download
Setup
To use this in you own project, grab the latest version from github and place it in a folder in your workspace. Now just add runtime ('RELATIVE PATH TO FILE/FGLW.jar') to your dependencies in the build.gradle of the project and you are done.
Why does this project exist
IMO, ForgeGradle isn't handling login the proper way
While ForgeGradle supports login, it is very basic and requires you to type your
username and password into the command line options.
While this is good (and recommended by FGLW) for the username, it is very insecure
in terms of password security.
How does FGLW solve this problem
This wrapper fixes the problem by asking the user via a GUI interface.
If the login is successful, a copy of the access token gets encrypted via a global key
(which is stored in your .minecraft folder), and your UUID, your username and
encrypted access token get saved into a file in your run folder, so even if you accidently open your file in a stream or upload it to a git repo, you access token is still safe. And even if someone gets your access token (which can be invalidated easily)
and practical impossible to steal your password, as it only exists in FGLW when renewing
the access token, and it is not passed to ForgeGradle.
Afterwards, the access token is send to ForgeGradle, which
forwards the credentials to minecraft.