Commit graph

644 commits

Author SHA1 Message Date
Carson McManus
f8ae7d4e0e
fix SDA encryption compatibility (#236)
fixes #233
2023-06-26 23:02:48 +00:00
Carson McManus
da44f49c56
add some unit tests (#234)
- add unit test for migrating single accounts
- add manifest v1 loading tests
- disable a test
- update comment
- update vscode runners
- add a unit test to make sure migrated maFiles can still be read
2023-06-26 16:44:14 +00:00
Carson McManus
46ddaad281
import: tweak the helptext a little bit (#232) 2023-06-26 12:36:37 -04:00
Carson McManus
fdf54e6498 Bump steamguard-cli v0.9.2 2023-06-25 20:27:47 -04:00
Carson McManus
a062e718d7
fix passkey cli argument being printed in plaintext with debug logging (#229)
fixes #228
2023-06-26 00:23:26 +00:00
Carson McManus
ac7717bde8 Bump steamguard-cli v0.9.1 2023-06-25 19:53:12 -04:00
Carson McManus
d2ba7d8f1d
fix null OAuthToken field in SDA accounts causing migrations to crash and burn (#227) 2023-06-25 23:52:48 +00:00
Carson McManus
93a5fe643c Bump steamguard v0.9.0, steamguard-cli v0.9.0, safety bump steamguard-cli v0.9.0 2023-06-25 13:15:00 -04:00
Carson McManus
1632e2f10e
add PhoneLinker, and the ability to add a phone number to the account during setup (#223)
- add proto for IPhoneService
- add PhoneClient
- add PhoneLinker
- fix lints and such
- add comments
- update phone linker
- use phonenumber crate for phone linker
- adjust errors for account linker
- update setup command to be able to add phone numbers
- adjust logging in the setup command
- update account linker
2023-06-25 17:11:24 +00:00
Carson McManus
d87caa06f6
add an update checker (#222) 2023-06-25 09:24:53 -04:00
Carson McManus
f1855ba7c0 fix typo in quickstart 2023-06-24 15:52:36 -04:00
Carson McManus
a5be7b26bb
Add qr-login command to be able to approve qr code logins on other devices (#214)
- add QrApprover
- implement qr-login subcommand

closes #197
2023-06-24 13:45:03 -04:00
Carson McManus
bff16bd341
automatically refresh access token to avoid prompting to log in (#221) 2023-06-24 17:18:22 +00:00
Carson McManus
64697b6808
trade: fix not saving new tokens if there are no available confirmations (#220) 2023-06-24 13:02:54 -04:00
Carson McManus
7e04a4240a
Add TransportError type (#219)
- add TransportError type
- adjust Transport trait
2023-06-24 16:41:03 +00:00
Carson McManus
2dc6376533
print better errors when deserializing json (#218)
- print stripped json whenever there is a type mismatch when
deserializing
- Revert "print stripped json whenever there is a type mismatch when
deserializing"
- print better errors when deserializing json
2023-06-24 16:06:12 +00:00
Carson McManus
f080e35971
add quickstart document (#216) 2023-06-24 09:47:25 -04:00
Carson McManus
2d180f0209 Bump steamguard-cli v0.8.2 2023-06-24 08:25:56 -04:00
Carson McManus
2934dd3927
add a debug command to help triage deserialization issues (#213)
- add a debug command to help triage deserialization issues
- adjust the parsing for legacy accounts
2023-06-24 08:17:56 -04:00
Carson McManus
6a5b8d5573 fix exec permission on aur publish script 2023-06-23 15:42:35 -04:00
Carson McManus
a72126ffcd update pkgbuild 2023-06-23 15:41:04 -04:00
Carson McManus
fe0d6e9aca Bump steamguard v0.8.1, steamguard-cli v0.8.1 2023-06-23 15:22:51 -04:00
Carson McManus
9835b8a52f
change built artifact name from steamguard-cli to steamguard (#208) 2023-06-23 15:21:46 -04:00
Carson McManus
3eb17d78d2 add issue templates 2023-06-23 14:07:27 -04:00
Carson McManus
4deff5f633
make CI faster and more comprehensive (#207) 2023-06-23 13:46:55 -04:00
Carson McManus
cbc46ad8eb
Dead code cleanup, subcommand refactor (#206)
- clean up dead code
- fix lints
- move Session type to legacy module
- refactor service names into constants
- refactor build_url to be less restrictive for service names
- refactor most commands into their own modules
2023-06-23 17:36:23 +00:00
Carson McManus
8defefb11e
fix manifest migrations not working for encrypted maFiles (#201)
fixes #200
2023-06-23 12:40:23 +00:00
Carson McManus
7950e43f70 fix formatting in readme 2023-06-23 06:52:13 -04:00
Carson McManus
bd0d1f1fba add funding.yml 2023-06-22 17:27:22 -04:00
Carson McManus
e4eabdcdd3 Bump steamguard v0.8.0, steamguard-cli v0.8.0, safety bump steamguard-cli v0.8.0 2023-06-22 17:01:58 -04:00
Carson McManus
ac3120b016 update release script 2023-06-22 16:51:27 -04:00
Carson McManus
ee670c41c0 update release script 2023-06-22 16:46:38 -04:00
Carson McManus
ef382c1dce
add windows builds to release script, update readme (#195) 2023-06-22 16:42:44 -04:00
Carson McManus
bfd0667f3a
Use IAuthenticationService for login, account migrations, other major refactors (#194)
fixes #193
fixes #192  
fixes #107

- [x] Implement the new login process
    - [x] Tested
- [x] Update the authenticator setup process
    - [x] Tested
- [x] Update the authenticator remove process
    - [x] Tested
- [x] Manifest format migrator
    - [x] Tested
- [x] Make it possible to import SDA accounts
- [x] Make sure confirmations still work
    - [x] Fetching
    - [x] Responding
- [x] Make it so that the login process doesn't prompt for which method
to use
- [x] Make it so that device confirmation and email confirmation auth
session guards work
2023-06-22 20:20:15 +00:00
Jonas Süskind
75fcf3c456
Remove debug print to stdout in trade sub command (#191)
Every time when the `trade` sub command is executed, the webpage gets
printed to stdout which is a bit irritating and unnecessary.

This PR fixes this, in that it changes the `println!` macro to a
`trace!` macro.
2023-04-19 18:07:10 -04:00
Jonas Süskind
bf553ba251
Change steamguard-cli command to steamguard in example (#189)
A very minor pull request for a small (I believe) mistake in the
`README.md`. The command for generating and copying a new code to the
clipboard used `steamguard-cli` as command which took me a bit off guard
and made me question if I installed steamguard-cli correctly.

This PR changes it to `steamguard`.
2023-03-22 19:10:46 +00:00
Carson McManus
b277e53099 Bump steamguard v0.7.1, steamguard-cli v0.7.1 2023-03-18 10:52:41 -04:00
Carson McManus
4ba0459bb6
fix prompts sometimes not showing up (again) (#187)
- fix tui::pause only accept enter  to continue so it's less confusing
- replace unwrap with flush
- replace some prints with eprints
- make tui::prompt flush stdout and stderr

fixes #178
2023-03-18 14:20:37 +00:00
Carson McManus
3457f9cb43
disallow blank encryption passkeys (#186)
fixes #185
2023-03-18 10:08:57 -04:00
Carson McManus
2d4f9bb25c
Merge pull request #180 from dyc3/dependabot/cargo/tokio-1.20.3
Bump tokio from 1.19.2 to 1.20.3
2023-01-07 12:10:13 -05:00
dependabot[bot]
b4e5574815
Bump tokio from 1.19.2 to 1.20.3
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.20.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:46:32 +00:00
Carson McManus
15bb6230f0
Merge pull request #176 from dyc3/api-response-refactor
api response refactor
2022-12-06 10:12:25 -05:00
Carson McManus
8366173eb1 fix a couple of lints 2022-12-06 10:07:25 -05:00
Carson McManus
99f977d7df reorganize steam api responses 2022-12-06 10:02:07 -05:00
Carson McManus
911ead0242 actually fix architecture field on deb package 2022-12-05 12:07:39 -05:00
Carson McManus
9def58a39c Release steamguard v0.7.0, steamguard-cli v0.7.0, safety bump steamguard-cli v0.7.0 2022-12-05 11:58:57 -05:00
Carson McManus
c86eedd63c increment to v0.6.0 so smart-release increments it again 2022-12-05 11:58:27 -05:00
Carson McManus
932c98def5 update full release script to check for master branch 2022-12-05 11:50:37 -05:00
Carson McManus
daa930fbee
Merge pull request #174 from dyc3/qr
add the ability to generate a QR code for 2fa secrets
2022-12-05 11:24:17 -05:00
Carson McManus
27adb3d019
Merge pull request #175 from dyc3/setup-update
fix using uppercase letters in username during setup causing panic
2022-12-05 11:24:08 -05:00