Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A possible solution for decrypt Steam 2fa encryption #1235

Closed
asky88 opened this issue Nov 30, 2023 · 4 comments · Fixed by #1236
Closed

A possible solution for decrypt Steam 2fa encryption #1235

asky88 opened this issue Nov 30, 2023 · 4 comments · Fixed by #1236
Labels
proposal A proposal for a new feature

Comments

@asky88
Copy link

asky88 commented Nov 30, 2023

There is a possible solution to decrypt Steam's file: BeyondDimension/SteamTools#2598
I think it is possible to import security key from the data it decrypted?

@asky88 asky88 added the proposal A proposal for a new feature label Nov 30, 2023
@alexbakker
Copy link
Member

Hah, that's a wonderfully ugly hack.

It looks like the format for the entries under "accounts" has not changed, so Aegis should be able to import this if you strip the "accounts" part and rewrite the file to just have a single account object. Something like:

{
  "shared_secret": "...",
  "account_name": "...",
  ...
}

Could you give that a shot and report back whether this works? If so, we can add a small patch to the Steam importer to support the full list of "accounts".

@asky88
Copy link
Author

asky88 commented Nov 30, 2023

Hah, that's a wonderfully ugly hack.

It looks like the format for the entries under "accounts" has not changed, so Aegis should be able to import this if you strip the "accounts" part and rewrite the file to just have a single account object. Something like:

{
  "shared_secret": "...",
  "account_name": "...",
  ...
}

Could you give that a shot and report back whether this works? If so, we can add a small patch to the Steam importer to support the full list of "accounts".

I have tested it and found that it can be directly recognized and imported by Aegis after deleting the accounts part.

@alexbakker
Copy link
Member

Great! Could you also try the full file with the following debug APK? https://alexbakker.me/gh/targets/aegis/runs/7051725977/artifacts/apk/app-debug.apk

@asky88
Copy link
Author

asky88 commented Dec 1, 2023

Great! Could you also try the full file with the following debug APK? https://alexbakker.me/gh/targets/aegis/runs/7051725977/artifacts/apk/app-debug.apk

The debug APK works well with full file. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal A proposal for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants