No description
Find a file
Carson McManus 8b1f3a145d add check-aur.sh to check if the aur package works
intended to be used in CI
2022-01-15 11:40:25 -05:00
.github Revert broken AUR automation 2021-11-14 15:23:51 -05:00
.vscode add vscode debug launchers 2021-08-08 11:08:33 -04:00
scripts add check-aur.sh to check if the aur package works 2022-01-15 11:40:25 -05:00
src add sda compat unit test for no web cookie 2022-01-15 09:36:10 -05:00
steamguard Make WebCookie optional in Session 2022-01-15 02:21:36 +02:00
.gitignore add check-aur.sh to check if the aur package works 2022-01-15 11:40:25 -05:00
Cargo.lock Release steamguard-cli v0.4.2 2021-11-14 11:46:08 -05:00
Cargo.toml Release steamguard-cli v0.4.2 2021-11-14 11:46:08 -05:00
LICENSE licensing and stuff 2021-08-25 08:36:02 -04:00
PKGBUILD update PKGBUILD 2021-11-14 11:58:59 -05:00
README.md link to the AUR in the readme 2021-11-14 12:05:58 -05:00
rustfmt.toml add rustfmt.toml and run cargo fmt 2021-08-08 12:54:46 -04:00

steamguard-cli

Rust

A command line utility for setting up and using Steam Mobile Authenticator (AKA Steam 2FA). It can also be used to respond to trade and market confirmations.

The only legitimate place to download steamguard-cli binaries is through this repo's releases, or by any package manager that is linked in this document.

Disclaimer

This utility is effectively in beta. Use this software at your own risk. Make sure to back up your maFiles regularly, and make sure to actually write down your revocation code. If you lose both of these, we can't help you, your only recourse is to beg Steam support.

Install

If you have the Rust toolchain installed:

cargo install steamguard-cli

Arch-based systems can install from the AUR:

  • Forsteamguard-cli-git
  • Non-git release is not officially provided. Please open an issue if you would like to help set that up.

Otherwise, you can download binaries from the releases.

Building From Source

cargo build --release

Usage

steamguard-cli looks for your maFiles/manifest.json in at these paths, in this order:

  • ~/.config/steamguard-cli/maFiles/
  • ~/maFiles/

Your maFiles can be created with or imported from Steam Desktop Authenticator. You can create maFiles with steamguard-cli using the setup action (steamguard setup).

REMEMBER TO MAKE BACKUPS OF YOUR maFiles, AND TO WRITE DOWN YOUR RECOVERY CODE!

Full helptext can be displayed with:

steamguard --help

One Liners

Generate and copy a new code to clipboard:

steamguard-cli | xclip -selection clipboard

Importing 2FA Secret Into Other Applications

It's possible to import your 2FA secret into other applications, like Google Authenticator or KeeWeb. The uri field contains a URI in that starts with otpauth://..., which you can create a QR code for.

Contributing

By contributing code to this project, you give me and any future maintainers a non-exclusive transferable license to use that code for this project, including permission to modify, redistribute, and relicense it.

License

steamguard-cli, the command line program is licensed under GPLv3.

steamguard, the library that is used by steamguard-cli is dual licensed under MIT or Apache 2.0, at your option.