Skip to content

Two factor authentication zh HK

ArchiBot edited this page Feb 7, 2024 · 27 revisions

้›™้‡้ฉ—่ญ‰

Steam includes two-factor authentication system known as "Escrow" that requires extra details for various account-related activity. ่ฉณๆƒ…่ซ‹่ฆ‹**ใ€Œไบคๆ˜“่ˆ‡ๅธ‚ๅ ด็ขบ่ชใ€ๅŠไบคๆ˜“่ˆ‡ๅธ‚้›†่จ—็ฎก**ใ€‚ This page considers that 2FA system as well as our solution that integrates with it, called ASF 2FA.


ASF ้‚่ผฏ

Regardless if you use ASF 2FA or not, ASF includes proper logic and is fully aware of accounts protected by standard 2FA. ๅฎƒๆœƒๅœจ้œ€่ฆๆ™‚ใ€Œไพ‹ๅฆ‚ๅœจ็™ป้Œ„ๆœŸ้–“ใ€ๅ‘ๆ‚จ่ซ‹ๆฑ‚ๆ‰€้œ€็š„่ฉณ็ดฐ่ณ‡่จŠใ€‚ However, those requests can be automated by using ASF 2FA, which will automatically generate required tokens, saving you hassle and enabling extra functionality (described below).


ASF 2FA

ASF 2FA is a built-in module responsible for providing 2FA features to the ASF process, such as generating tokens and accepting confirmations. It works by duplicating your existing authenticator details, so that you can use your current authenticator and ASF 2FA at the same time.

ๆ‚จๅฏไปฅๅŸท่กŒ2fa**ๅ‘ฝไปค**ไปฅๆชขๆŸฅๆฉŸๆขฐไบบๅธณๆˆถๆ˜ฏๅฆๅทฒๅ•Ÿ็”จ2FAใ€‚ Unless you've already imported your authenticator as ASF 2FA, all standard 2fa commands will be non-operative, which means that your account is not using ASF 2FA, therefore it's also unavailable for advanced ASF features that require the module to be operative.


Recommendations

There are a lot of ways to make ASF 2FA operative, here we include our recommendations based on your current situation:

  • If you're already using SteamDesktopAuthenticator, WinAuth or any other third-party app that allows you to extract 2FA details with ease, just import those to ASF.
  • If you're using official app and you don't mind resetting your 2FA credentials, the best way is to disable 2FA, then create new 2FA credentials by using joint authenticator, which will allow you to use official app and ASF 2FA. This method doesn't require root or advanced knowledge, barely following instructions.
  • If you're using official app and don't want to recreate your 2FA credentials, your options are very limited, typically you'll need root and extra fiddling around to import those details, and even with that it might be impossible.
  • If you're not using 2FA yet and don't care, you can use ASF 2FA with standalone authenticator, third-party app duplicating to ASF (recommendation #1), or joint authenticator with official app (recommendation #2).

Below we discuss all possible options and known to us methods.


Creation

In general, we strongly recommend duplicating your existing authenticator, since that's the main purpose ASF 2FA was designed for. However, ASF comes with an official MobileAuthenticator plugin that further extends ASF 2FA, allowing you to link a completely new authenticator as well. This can be useful in case you're unable or unwilling to use other tools and do not mind ASF 2FA becoming your main (and maybe only) authenticator.

There are two possible scenarios for adding a two-factor authenticator with the MobileAuthenticator plugin: standalone or joint with the official Steam mobile app. In the second scenario, you will end up with the same authenticator on both the ASF and mobile app; both will generate the same codes, and both will be able to confirm trade offers, Steam Community Market transactions, etc.

Common steps for both scenarios

No matter if you plan to use ASF as the standalone authenticator or want the same authenticator on the official Steam mobile app, you need to do those initialization steps:

  1. Create an ASF bot for the target account, start it, and log in, which you probably already did.
  2. Optionally, assign a working and operational phone number to the account here to be used by the bot. This will allow you to receive SMS code and allow recovery if needed, but it's not mandatory.
  3. Ensure you're not using 2FA yet for your account, if you do, disable it first.
  4. Execute the 2fainit [Bot] command, replacing [Bot] with your bot's name.

Assuming you got a successful reply, the following two things have happened:

  • A new <Bot>.maFile.PENDING file was generated by ASF in your config directory.
  • SMS was sent from Steam to the phone number you have assigned for the account above. If you didn't set a phone number, then an email was sent instead to the account e-mail address.

The authenticator details are not operational yet, however, you can review the generated file if you'd like to. If you want to be double safe, you can, for example, already write down the revocation code. The next steps will depend on your selected scenario.

Standalone authenticator

If you want to use ASF as your main (or even only) authenticator, now you need to do the finalization step:

  1. Execute the 2fafinalize [Bot] <ActivationCode> command, replacing [Bot] with your bot's name and <ActivationCode> with the code you've received through SMS or e-mail in the previous step.

Joint authenticator

If you want to have the same authenticator in both ASF and the official Steam mobile app, now you need to do the next steps:

  1. Ignore the SMS or e-mail code that you've received after the previous step.
  2. Install the Steam mobile app if it's not installed yet, and open it. Navigate to the Steam Guard tab and add a new authenticator by following the app's instructions.
  3. After your authenticator in the mobile app is added and working, return to ASF. You now need to tell ASF that finalization is done with the help of one of the two commands below:
  • Wait until the next 2fa code is shown in the Steam mobile app, and use the command 2fafinalized [Bot] <2fa_code_from_app> replacing [Bot] with your bot's name and <2fa_code_from_app> with the code you currently see in the Steam mobile app. If the code generated by ASF and the code you provided are the same, ASF assumes that an authenticator was added correctly and proceeds with importing your newly created authenticator.
  • We strongly recommend to do the above in order to ensure that your credentials are valid. However, if you don't want to (or can't) check if codes are the same and you know what you're doing, you can instead use the command 2fafinalizedforce [Bot], replacing [Bot] with your bot's name. ASF will assume that the authenticator was added correctly and proceed with importing your newly created authenticator.

After finalization

Assuming everything worked properly, the previously generated <Bot>.maFile.PENDING file was renamed to <Bot>.maFile.NEW. This indicates that your 2FA credentials are now valid and active. We recommend that you create a copy of that file and keep it in a secure and safe location. In addition to that, we recommend you open the file in your editor of choice and write down the revocation_code, which will allow you to, as the name implies, revoke the authenticator in case you lose it.

In regard to technical details, the generated maFile includes all details that we have received from the Steam server during linking the authenticator, and in addition to that, the device_id field, which may be needed for other authenticators. The file is fully compatible with SDA for import.

ASF automatically imports your authenticator once the procedure is done, and therefore 2fa and other related commands should now be operational for the bot account you linked the authenticator to.


ๅฐŽๅ…ฅ

Import process requires already linked and operational authenticator that is supported by ASF. ASF currently supports a few different official and unofficial sources of 2FA - Android, iOS, SteamDesktopAuthenticator and WinAuth, on top of manual method which allows you to provide required credentials yourself. If you don't have any authenticator yet, you need to choose one of available apps and set it up firstly. ๅฆ‚ๆžœๆ‚จไธ็Ÿฅ้“้ธๆ“‡ๅ“ชไธ€ๅ€‹๏ผŒๆˆ‘ๅ€‘ๆŽจ่–ฆ WinAuth๏ผŒไฝ†ๅช่ฆๆ‚จๆŒ‰็…ง่ชชๆ˜Žๆ“ไฝœ๏ผŒไธŠ่ฟฐไปปไฝ•ไธ€้ …้ƒฝๅฏไปฅๆญฃๅธธๅทฅไฝœใ€‚

ไปฅไธ‹ๆ‰€ๆœ‰ๆŒ‡ๅ—้ƒฝ่ฆๆฑ‚ๆ‚จๅทฒๆ“ๆœ‰ๅœจไธŠ่ฟฐๅทฅๅ…ท/ๆ‡‰็”จ็จ‹ๅผไธญ ๅฏ้‹่กŒ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จใ€‚ ๅฆ‚ๆžœๅฐŽๅ…ฅ็„กๆ•ˆ่ณ‡ๆ–™๏ผŒASF 2FAๅฐ‡็„กๆณ•ๆญฃๅธธ้‹่กŒ๏ผŒๅ› ๆญคๅœจๅ˜—่ฉฆๅฐŽๅ…ฅ่ณ‡ๆ–™ไน‹ๅ‰๏ผŒ่ซ‹็ขบไฟๆ‚จ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จ้‹่กŒๆญฃๅธธใ€‚ ้€™ๅŒ…ๆ‹ฌๆธฌ่ฉฆๅ’Œ้ฉ—่ญ‰ไปฅไธ‹่บซไปฝ้ฉ—่ญ‰ๅ™จๅŠŸ่ƒฝ่ƒฝๅฆๆญฃๅธธ้‹่กŒ๏ผš

  • ๆ‚จๅฏไปฅ็”Ÿๆˆไปฃ็ขผ๏ผŒไธ”ๅฎƒๅ€‘ๅ—Steam็ถฒ็ตกๆ‰ฟ่ช
  • ๆ‚จๅฏไปฅ็”ฑๆตๅ‹•่บซไปฝ้ฉ—่ญ‰ๅ™จ็ฒๅ–ไบคๆ˜“็ขบ่ช
  • ๆ‚จๅฏไปฅๆŽฅๅ—้€™ไบ›ไบคๆ˜“็ขบ่ช๏ผŒไธฆไธ”ๅฎƒๅ€‘่ขซSteam็ถฒ็ตกๆญฃ็ขบๅœฐ่ญ˜ๅˆฅ็‚บ็ขบ่ช/ๆ‹’็ต•

Ensure that your authenticator works by checking if above actions work - if they don't, then they won't work in ASF either, you'll only waste time and cause yourself additional trouble.


Androidๆ‰‹ๆฉŸ

The below instructions apply to Steam app in version 2.X, there are currently limited resources on extracting required details from version 3.0 onwards. We'll update this section once generally-available method is found. As of today, a workaround would be to intentionally install older version of Steam app, register 2FA and extract the required details first, after which it's possible to update the application to latest version - existing authenticator will continue to work.

้€šๅธธๆƒ…ๆณไธ‹๏ผŒๆ‚จ้œ€่ฆ**root**ๆฌŠ้™ไปฅๅพžๆ‚จ็š„Androidๆ‰‹ๆฉŸๅฐŽๅ…ฅ่บซไปฝ้ฉ—่ญ‰ๅ™จใ€‚ Rootๆ–นๆณ•ๅ› ่ฃ็ฝฎ่€Œ็•ฐ๏ผŒๆ‰€ไปฅๆˆ‘็„กๆณ•ๆŒ‡ๅฐŽๆ‚จrootๆ‚จ็š„่จญๅ‚™ใ€‚ Visit XDA for excellent guides on how to do that, as well as general information on rooting in general. ๅฆ‚ๆžœๆ‚จๆ‰พไธๅˆฐ้ฉ็”จๆ–ผๆ‚จ็š„่จญๅ‚™ๆˆ–ๆ•™็จ‹๏ผŒๅ˜—่ฉฆๆœ‰ๆ•ˆๅˆฉ็”จGoogleๆœ็ดขใ€‚

็†่ซ–ไธŠไพ†่ชฌ๏ผŒๆฒ’ๆœ‰rootๆฌŠ้™ๅฐฑ็„กๆณ•่จชๅ•ๅ—ไฟ่ญท็š„Steamๆช”ๆกˆใ€‚ The only official non-root method for extracting Steam files is creating unencrypted /data backup in one way or another and manually fetching appropriate files from it on your PC, however because such thing highly depends on your phone manufacturer and is not in Android standard, we won't discuss it here. ๅฆ‚ๆžœๆ‚จๅพˆๅนธ้‹ๆœ‰้€™ๆจฃ็š„ๅŠŸ่ƒฝ๏ผŒไฝ ๅฏไปฅ่€ƒๆ…ฎๅˆฉ็”จๅฎƒ๏ผŒไฝ†ๅคงๅคšๆ•ธ็”จๆˆถไธฆ้žๅฆ‚ๆญคใ€‚

Unofficially, it is possible to extract the needed files without root access, by installing or downgrading your Steam app to version 2.1 (or earlier), setting up mobile authenticator and then creating a snapshot of the app (together with the data files that we need) through adb backup. ไฝ†ๆ˜ฏ๏ผŒ็”ฑๆ–ผ้€™็จฎๆๅ–ๆ–‡ไปถ็š„ๆ–นๅผๅญ˜ๅœจๅšด้‡็š„ๅฎ‰ๅ…จๆผๆดž๏ผŒไธ”ๅฎŒๅ…จๆฒ’ๆœ‰ๆŠ€่ก“ๆ”ฏๆด๏ผŒๆˆ‘ๅ€‘ๅฐ‡ไธๆœƒๅœจๆญค่ฉณ็ดฐ่ชชๆ˜Ž๏ผŒๅŽŸๅ› ไน‹ไธ€ๆ˜ฏValveๅœจๆ–ฐ็‰ˆๆœฌไธญ็ฆ็”จๆญคๅฎ‰ๅ…จๆผๆดž๏ผŒๆˆ‘ๅ€‘ๅƒ…ๆ˜ฏๆๅˆฐๅญ˜ๅœจไฝฟ็”จๆญคๆ–นๆณ•็š„ๅฏ่ƒฝๆ€งใ€‚ Still, it might be possible to do a clean install of that version, link new authenticator, extract the required files, and then upgrade the app, which should be just enough, but you're on your own with this method anyway.

Assuming that you've successfully rooted your phone, you should afterwards download any root explorer available on the market, such as this one (or any other one of your preference). ๆ‚จ้‚„ๅฏไปฅ้€š้ŽADB๏ผˆAndroid Debug Bridge๏ผ‰ๆˆ–ไปปไฝ•ๅ…ถไป–ๅฏ็”จ็š„ๆ–นๆณ•่จชๅ•ๅ—ไฟ่ญท็š„ๆช”ๆกˆ๏ผŒๆˆ‘ๅ€‘ๅฐ‡้€š้Ž่ณ‡ๆบ็ฎก็†ๅ™จ้€ฒ่กŒ่จชๅ•๏ผŒๅ› ็‚บๅฎƒ็ต•ๅฐๆ˜ฏๅฐ็”จๆˆถๆœ€ๅ‹ๅฅฝ็š„ๆ–นๅผใ€‚

ๆ‰“้–‹ๆ น็€่ฆฝๅ™จๅพŒ๏ผŒๅฐŽ่ˆชๅˆฐ/data/data่ณ‡ๆ–™ๅคพใ€‚ ่ซ‹่จ˜ไฝ๏ผŒ/data/data็›ฎ้Œ„ๅ—ๅˆฐไฟ่ญท๏ผŒๅฆ‚ๆžœๆฒ’ๆœ‰root่จชๅ•ๆฌŠ้™๏ผŒๆ‚จๅฐ‡็„กๆณ•่จชๅ•ๅฎƒใ€‚ ๅœจ้‚ฃๆ‰พๅˆฐcom.valvesoftware.android.steam.community่ณ‡ๆ–™ๅคพไธฆๅฐ‡ๅ…ถ่ค‡่ฃฝๅˆฐ/sdcard๏ผŒๅฎƒๆŒ‡ๅ‘ๆ‚จ็š„ๅ…ง็ฝฎๅ…ง้ƒจๅญ˜ๅ„ฒใ€‚ ไน‹ๅพŒ๏ผŒๆ‚จๆ‡‰่ฉฒๅฏไปฅๅฐ‡ๆ‰‹ๆฉŸ้€ฃๆŽฅๅˆฐPCไธฆๅƒๅพ€ๅธธไธ€ๆจฃๅพžๅ…ง้ƒจๅญ˜ๅ„ฒๅ™จไธญๅพฉ่ฃฝ่ณ‡ๆ–™ๅคพใ€‚ ๅฆ‚ๆžœๆ‚จ็ขบๅฎšๅทฒๅฐ‡่ณ‡ๆ–™ๅคพ่ค‡่ฃฝๅˆฐๆญฃ็ขบ็š„ไฝ็ฝฎๅฏ่ฉฒ่ณ‡ๆ–™ๅคพ็„กๆณ•้กฏ็คบ๏ผŒ่ซ‹ๅ˜—่ฉฆ้‡ๆ–ฐๅ•Ÿๅ‹•ๆ‰‹ๆฉŸใ€‚

Now, you can choose if you want to import your authenticator to WinAuth first, then to ASF, or to ASF right away. ๅ…ˆๅฐ‡้ฉ—่ญ‰ๅ™จๅฐŽๅ…ฅWinAuth็š„้ธ้ …ๆ›ดๅ‹ๅฅฝ๏ผŒๅฎƒๅ…่จฑๆ‚จๅœจๆ‚จ็š„PCไธŠๅ‚™ไปฝ่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผŒ้€™ๆจฃๆ‚จๅฐฑๅฏไปฅๅพž3ๅ€‹ไธๅŒ็š„ๅœฐๆ–น็”Ÿๆˆไปฃ็ขผไธฆ็ขบ่ชไบคๆ˜“โ”€โ”€ๆ‚จ็š„ๆ‰‹ๆฉŸ๏ผŒๆ‚จ็š„PCไปฅๅŠASFใ€‚ ๅฆ‚ๆžœๆ‚จๆƒณ้€™ๆจฃๅš๏ผŒๅช้œ€ๆ‰“้–‹WinAuth๏ผŒๆทปๅŠ ๆ–ฐ็š„Steam่บซไปฝ้ฉ—่ญ‰ๅ™จไธฆๅพžAndroid้ธ้ …ไธญ้ธๆ“‡ๅฐŽๅ…ฅ๏ผŒ็„ถๅพŒ้ตๅพชๆŒ‡ๅ—๏ผŒ่จชๅ•ๆ‚จไน‹ๅ‰็ฒๅพ—็š„ๆช”ๆกˆใ€‚ ๅฎŒๆˆๅพŒ๏ผŒๆ‚จๅฏไปฅๅฐ‡ๆญค้ฉ—่ญ‰ๅ™จๅพžWinAuthๅฐŽๅ…ฅASF๏ผŒ้€™ๅฐ‡ๅœจไธ‹้ข็š„WinAuth้ƒจๅˆ†ไธญๅฐˆ้–€้€ฒ่กŒ่ชชๆ˜Žใ€‚

If you don't want to or don't need to go through WinAuth, then simply copy files/Steamguard-<SteamID> file from our protected directory, where SteamID is your 64-bit Steam identificator of the account that you want to add (if more than one, because if you have only one account then this will be the only file). ๆ‚จ้œ€่ฆๅฐ‡่ฉฒๆช”ๆ”พๅ…ฅASFconfig็›ฎ้Œ„ไธญใ€‚ Once you do that, rename the file to BotName.maFile, where BotName is the name of your bot you're adding ASF 2FA to. After this step, launch ASF - it should notice the .maFile and import it.

[*] INFO: ImportAuthenticator() <1> Converting .maFile into ASF format...
[*] INFO: ImportAuthenticator() <1> Successfully finished importing mobile authenticator!

That's all, assuming that you've imported the correct file with valid secrets, everything should work properly, which you can verify by using 2fa commands. If you made a mistake, you can always remove Bot.db and start over if needed.


iOS

For iOS you can use ios-steamguard-extractor. This is possible thanks to the fact that you can make decrypted backup, put in on your PC and use the tool in order to extract Steam data that is otherwise impossible to get (at least without jailbreak, due to iOS encryption).

Head over to latest release in order to download the program. Once you extract the data you can put it e.g. in WinAuth, then from WinAuth to ASF (although you can also simply copy generated json starting from { ending on } into BotName.maFile and proceed like usual). If you ask me, I strongly recommend to import to WinAuth first, then making sure that both generating tokens as well as accepting confirmations work properly, so you can be sure that everything is alright. If your credentials are invalid, ASF 2FA will not work properly, so it's much better to make ASF import step your last one.

ๆœ‰้—œๅ•้กŒ/้Œฏ่ชค๏ผŒ่ซ‹่จชๅ•** issues **ใ€‚

่ซ‹่จ˜ไฝ๏ผŒไธŠ้ข็š„ๅทฅๅ…ทๆ˜ฏ้žๅฎ˜ๆ–น็š„๏ผŒๆ‚จไฝฟ็”จๅฎƒ้œ€่ฆ่‡ชๆ“”้ขจ้šชใ€‚ We do not offer technical support if it doesn't work properly - we got a few signals that it's exporting invalid 2FA credentials - verify that confirmations work in authenticator like WinAuth prior to importing that data to ASF!


SteamๆกŒ้ข้ฉ—่ญ‰ๅ™จ

ๅฆ‚ๆžœๆ‚จ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จๅทฒ็ถ“ๅœจSDAไธญ้‹่กŒ๏ผŒๆ‚จๆ‡‰่ฉฒๆณจๆ„ๅˆฐmaFiles่ณ‡ๆ–™ๅคพไธญๅญ˜ๅœจsteamID.maFileๆ–‡ไปถใ€‚ Make sure that maFile is in unencrypted form, as ASF can't decrypt SDA files - unencrypted file content should start with { and end with } character. If needed, you can remove the encryption from SDA settings first, and enable it again when you're done. Once the file is in unencrypted form, copy it to config directory of ASF.

You can now rename steamID.maFile to BotName.maFile in ASF config directory, where BotName is the name of your bot you're adding ASF 2FA to. ๆˆ–่€…ๆ‚จๅฏไปฅไฟๆŒๅŽŸๆจฃ๏ผŒASFๆœƒๅœจ็™ป้Œ„ๅพŒ่‡ชๅ‹•่ญ˜ๅˆฅๅฎƒใ€‚ Renaming the file helps ASF by making it possible to use ASF 2FA before logging in, if you don't do that, then the file can be picked only after ASF successfully logs in (as ASF doesn't know steamID of your account before in fact logging in).

ๅฆ‚ๆžœๆ‚จๆญฃ็ขบๅŸท่กŒไบ†ๆ‰€ๆœ‰ๆ“ไฝœ๏ผŒ่ซ‹ๅ•Ÿๅ‹•ASF๏ผŒๆ‚จๆ‡‰่ฉฒๆณจๆ„ๅˆฐ๏ผš

[*] INFO: ImportAuthenticator() <1> Converting .maFile into ASF format...
[*] INFO: ImportAuthenticator() <1> Successfully finished importing mobile authenticator!

ๅพž็พๅœจ้–‹ๅง‹๏ผŒๆ‚จ็š„ASF 2FAๆ‡‰่ฉฒๅฏไปฅๅœจๆญคๅธณๆˆถ้‹่กŒใ€‚


WinAuth

Firstly create new empty BotName.maFile in ASF config directory, where BotName is the name of your bot you're adding ASF 2FA to. Remember that it should be BotName.maFile and NOT BotName.maFile.txt, Windows likes to hide known extensions by default. ๅฆ‚ๆžœๆ‚จๆไพ›็š„ๅ็จฑไธๆญฃ็ขบ๏ผŒASFๅฐ‡ไธๆœƒ่ญ˜ๅˆฅๅฎƒใ€‚

็พๅœจๅƒๅพ€ๅธธไธ€ๆจฃๅ•Ÿๅ‹•WinAuthใ€‚ ๅณ้ตๅ–ฎๆ“ŠSteamๅœ–ๆจ™๏ผŒ็„ถๅพŒ้ธๆ“‡โ€œ้กฏ็คบSteamGuardๅ’Œๆขๅพฉไปฃ็ขผโ€ใ€‚ ็„ถๅพŒ้ธๆ“‡โ€œๅ…่จฑ่ค‡่ฃฝโ€ใ€‚ You should notice familiar to you JSON structure on the bottom of the window, starting with {. Copy whole text into a BotName.maFile file created by you in previous step.

ๅฆ‚ๆžœๆ‚จๆญฃ็ขบๅŸท่กŒไบ†ๆ‰€ๆœ‰ๆ“ไฝœ๏ผŒ่ซ‹ๅ•Ÿๅ‹•ASF๏ผŒๆ‚จๆ‡‰่ฉฒๆณจๆ„ๅˆฐ๏ผš

[*] INFO: ImportAuthenticator() <1> Converting .maFile into ASF format...
[*] INFO: ImportAuthenticator() <1> Successfully finished importing mobile authenticator!

ๅพž็พๅœจ้–‹ๅง‹๏ผŒๆ‚จ็š„ASF 2FAๆ‡‰่ฉฒๅฏไปฅๅœจๆญคๅธณๆˆถ้‹่กŒใ€‚


ๅฎŒๆˆ

From this moment, all 2fa commands will work as they'd be called on your classic 2FA device. You can use both ASF 2FA and your authenticator of choice (Android, iOS, SDA or WinAuth) to generate tokens and accept confirmations.

If you have authenticator on your phone, you can optionally remove SteamDesktopAuthenticator and/or WinAuth, as we won't need it anymore. However, I suggest to keep it just in case, not to mention that it's more handy than normal steam authenticator. Just keep in mind that ASF 2FA is NOT a general purpose authenticator, it doesn't include all data that authenticator should have, but limited subset of original maFile. It's not possible to convert ASF 2FA back to original authenticator, therefore always make sure that you have general-purpose authenticator or maFile in other place, such as in WinAuth/SDA, or on your phone.


ๅฆ‚ไฝ•ไฝฟ็”จ

ASFๅฆ‚ไฝ•ไฝฟ็”จ2FAๆจก็ต„๏ผŸ

ๅฆ‚ๆžœASF 2FAๅฏ็”จ๏ผŒASFๅฐ‡ไฝฟ็”จๅฎƒ่‡ชๅ‹•็ขบ่ช็”ฑASF็™ผ้€/ๆŽฅๅ—็š„ไบคๆ˜“ใ€‚ ๅฎƒ้‚„ๅฏไปฅๆ นๆ“š้œ€่ฆ่‡ชๅ‹•็”Ÿๆˆ2FAไปฃ็ขผ๏ผŒไพ‹ๅฆ‚็‚บไบ†็™ป้Œ„ใ€‚ ้™คๆญคไน‹ๅค–๏ผŒ้‚„ๅฏไปฅๅŸท่กŒ2faๅ‘ฝไปคไปฅไฝฟ็”จASF 2FAใ€‚ That should be all for now, if I didn't forget about anything - basically ASF uses 2FA module on as-needed basis.


็‚บไฝ•ๆˆ‘้œ€่ฆ2FAไปฃ็ขผ๏ผŸ

ๆ‚จ้œ€่ฆ2FAไปฃ็ขผๆ‰่ƒฝ่จชๅ•ๅ—2FAไฟ่ญท็š„ๅธณๆˆถ๏ผŒๅ…ถไธญๅŒ…ๆ‹ฌๅ…ทๆœ‰ASF 2FA็š„ๆฏๅ€‹ๅธณๆˆถใ€‚ ๆ‚จๆ‡‰่ฉฒๅœจ็”จๆ–ผๅฐŽๅ…ฅ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จไธญ็”Ÿๆˆไปฃ็ขผ๏ผŒไฝ†ๆ‚จไนŸๅฏไปฅ้€š้Ž่Šๅคฉๅ‘็ตฆๅฎšๆฉŸๅ™จไบบ็š„็™ผ้€2faๅ‘ฝไปค็”Ÿๆˆ่‡จๆ™‚ไปฃ็ขผใ€‚ ๆ‚จ้‚„ๅฏไปฅไฝฟ็”จ2fa <BotNames>ๅ‘ฝไปค็‚บ็ตฆๅฎš็š„ๆฉŸๆขฐไบบๅฏฆไพ‹็”Ÿๆˆ่‡จๆ™‚ไปฃ็ขผใ€‚ ้€™ๆ‡‰่ฉฒ่ถณไปฅ่ฎ“ๆ‚จ่จชๅ•ๆฉŸๆขฐไบบๅธณๆˆถ๏ผŒไพ‹ๅฆ‚้€š้Ž็€่ฆฝๅ™จ๏ผŒไฝ†ๅฆ‚ไธŠๆ‰€่ฟฐโ€”โ€”ๆ‚จๆ‡‰่ฉฒไฝฟ็”จๅ‹ๅฅฝ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผˆAndroid๏ผŒiOS๏ผŒSDAๆˆ–WinAuth๏ผ‰ใ€‚


ๅœจๅฐŽๅ…ฅASF 2FAๅพŒ๏ผŒๆˆ‘ๅฏไปฅไฝฟ็”จๆˆ‘ๅŽŸๆœ‰็š„่บซไปฝ้ฉ—่ญ‰ๅ™จๅ—Ž๏ผŸ

ๆ˜ฏ็š„๏ผŒๆ‚จ็š„ๅŽŸๅง‹้ฉ—่ญ‰ๅ™จไป็„ถๅฏ็”จไธฆๅฏไปฅ่ˆ‡ASF 2FAไธ€่ตทไฝฟ็”จใ€‚ ้€™ๅฐฑๆ˜ฏๆ•ดๅ€‹้Ž็จ‹โ€”โ€”ๆˆ‘ๅ€‘ๅฐ‡ๆ‚จ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จๆ†‘ๆ“šๅฐŽๅ…ฅASF๏ผŒๅ› ๆญคASFๅฏไปฅไฝฟ็”จๅฎƒๅ€‘ไธฆไปฃ่กจๆ‚จๆŽฅๅ—้ธๅฎš็š„็ขบ่ชใ€‚


ASFๆตๅ‹•่บซไปฝ้ฉ—่ญ‰ๅ™จๅœจๅ“ช่ฃไฟๅญ˜๏ผŸ

ASFๆตๅ‹•้ฉ—่ญ‰ๅ™จไปฅๅŠ่ˆ‡็ตฆๅฎšๅธณๆˆถ็›ธ้—œ็š„ๅ…ถไป–้—œ้ตๆ•ธๆ“šไฟๅญ˜ๅœจ้…็ฝฎ็›ฎ้Œ„ไธญ็š„BotName.dbๆช”ๆกˆไธญใ€‚ ๅฆ‚ๆžœๆ‚จๆƒณ็งป้™คASF 2FA๏ผŒ่ซ‹้–ฑ่ฎ€ไปฅไธ‹ๅ…งๅฎนใ€‚


ๅฆ‚ไฝ•็งป้™คASF 2FA๏ผŸ

Simply stop ASF and remove associated BotName.db of the bot with linked ASF 2FA you want to remove. This option will remove associated imported 2FA with ASF, but will NOT delink your authenticator. If you instead want to delink your authenticator, apart from removing it from ASF (firstly), you should delink it in authenticator of your choice (Android, iOS, SDA or WinAuth), or - if you can't for some reason, use revocation code that you received during linking that authenticator, on the Steam website. It's not possible to unlink your authenticator through ASF, this is what general-purpose authenticator that you already have should be used for.


ๆˆ‘ๅฐ‡่บซไปฝ้ฉ—่ญ‰ๅ™จ้ˆๆŽฅๅˆฐSDA/WinAuth๏ผŒ็„ถๅพŒๅฐŽๅ…ฅๅˆฐASFใ€‚ ๆˆ‘็พๅœจๅฏไปฅๅ–ๆถˆ้ˆๆŽฅไธฆๅœจๆ‰‹ๆฉŸไธŠๅ†ๆฌก้ˆๆŽฅๅ—Ž๏ผŸ

ๅพžๆœชใ€‚ ASF ๅฐŽๅ…ฅๆ‚จ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จๆ•ธๆ“šไปฅไพฟไฝฟ็”จๅฎƒใ€‚ ๅฆ‚ไธŠๆ‰€่ฟฐ๏ผŒๅฆ‚ๆžœๆ‚จไฝฟ็”จ่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผŒ้‚ฃ้บผๆ‚จไนŸๆœƒๅฐŽ่‡ดASF 2FAๅœๆญข้‹่กŒ๏ผŒ็„ก่ซ–ๆ‚จๆ˜ฏๅฆ้ฆ–ๅ…ˆๅฐ‡ๅ…ถ็งป้™คใ€‚ ๅฆ‚ๆžœๆ‚จๆƒณๅœจๆ‰‹ๆฉŸๅ’ŒASFไธŠไฝฟ็”จ่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผˆๅŠ ไธŠSDA/WinAuthไธญ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผ‰๏ผŒ้‚ฃ้บผๆ‚จ้œ€่ฆๅพžๆ‰‹ๆฉŸไธญๅฐŽๅ…ฅๆ‚จ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผŒ่€Œไธๆ˜ฏๅœจSDA/WinAuthไธญๅ‰ตๅปบๆ–ฐ่บซไปฝ้ฉ—่ญ‰ๅ™จใ€‚ ๆ‚จๅช่ƒฝๆ“ๆœ‰ไธ€ๅ€‹้ˆๆŽฅ่บซไปฝ้ฉ—่ญ‰ๅ™จ๏ผŒ้€™ๅฐฑๆ˜ฏASF ๅฐŽๅ…ฅ่ฉฒ่บซไปฝ้ฉ—่ญ‰ๅ™จๅŠๅ…ถๆ•ธๆ“š็š„ๅŽŸๅ› ๏ผŒไปฅไพฟๅฐ‡ๅ…ถ็”จไฝœASF 2FAโ€”โ€”ๅฎƒ่ˆ‡ๅŽŸๆœฌ็š„่บซไปฝ้ฉ—่ญ‰ๅ™จ็›ธๅŒ๏ผŒๅชๆ˜ฏๅญ˜ๅœจๆ–ผๅ…ฉๅ€‹ๅœฐๆ–นใ€‚ If you decide to delink your mobile authenticator credentials - regardless in which way, ASF 2FA will stop working, as previously copied mobile authenticator credentials will no longer be valid. ๅฆ‚ไธŠๆ‰€่ฟฐ๏ผŒ่ฆๅœจๆ‰‹ๆฉŸไธŠๅฐ‡ASF 2FA่ˆ‡่บซไปฝ้ฉ—่ญ‰ๅ™จไธ€่ตทไฝฟ็”จ๏ผŒๆ‚จๅฟ…้ ˆๅฐ‡ๅ…ถๅพžAndroid/iOSๅฐŽๅ…ฅใ€‚


ไฝฟ็”จASF 2FAๆฏ”WinAuth/SDA/ๅ…ถไป–้ฉ—่ญ‰ๅ™จๆŽฅๅ—ๆ‰€ๆœ‰็ขบ่ชๆ›ดๅฅฝๅ—Ž๏ผŸ

ๆ˜ฏ็š„๏ผŒๆœ‰ๅนพๅ€‹ๅŽŸๅ› ใ€‚ First and most important one - using ASF 2FA significantly increases your security, as ASF 2FA module ensures that ASF will only accept automatically its own confirmations, so even if attacker does request a trade that is harmful, ASF 2FA will not accept such trade, as it was not generated by ASF. In addition to security part, using ASF 2FA also brings performance/optimization benefits, as ASF 2FA fetches and accepts confirmations immediately after they're generated, and only then, as opposed to inefficient polling for confirmations each X minutes done e.g. by SDA or WinAuth. In short, there is no reason to use third-party authenticator over ASF 2FA, if you plan on automating confirmations generated by ASF - that's exactly what ASF 2FA is for, and using it does not conflict with you confirming everything else in authenticator of your choice. We strongly recommend to use ASF 2FA for entire ASF activity - this is much more secure than any other solution.


้€ฒ้šŽ

ๅฆ‚ๆžœๆ‚จๆ˜ฏ้ซ˜็ดš็”จๆˆถ๏ผŒ้‚„ๅฏไปฅๆ‰‹ๅ‹•็”ŸๆˆmaFileใ€‚ This can be used in case you'd want to import authenticator from other sources than the ones we've described above. ๅฎƒๆ‡‰ๆœ‰็š„**ๆœ‰ๆ•ˆJSON็ตๆง‹**ๅฆ‚ไธ‹๏ผš

{
  "shared_secret": "STRING",
  "identity_secret": "STRING"
}

ๆจ™ๆบ–้ฉ—่ญ‰ๅ™จๆ•ธๆ“šๆœ‰ๆ›ดๅคšๅญ—ๆฎตโ€”โ€”ๅœจๅฐŽๅ…ฅๆœŸ้–“ๅฎƒๅ€‘ๅฎŒๅ…จ่ขซASFๅฟฝ็•ฅ๏ผŒๅ› ็‚บๅฎƒๅ€‘ไธๆ˜ฏๅฟ…้œ€็š„ใ€‚ You don't have to remove them - ASF only requires valid JSON with 2 mandatory fields described above, and will ignore additional fields (if any). Of course, you need to replace STRING placeholder in the example above with valid values for your account. Each STRING should be base64-encoded representation of bytes the appropriate private key is made of.

Clone this wiki locally