Commit graph

604 commits

Author SHA1 Message Date
Carson McManus
201288952a CI: update rust cache steps 2023-06-29 10:35:50 -04:00
Carson McManus
4b92d46049
trade: use bulk confirmation operations (#248)
- Confirmer: add bulk confirmation operations
- trade: use bulk confirmation operations

closes #241
2023-06-29 14:33:56 +00:00
Carson McManus
0b8de57e3a
misc workflow improvements (#247)
- CI: add checks for build targets
- adjust release script
2023-06-29 08:33:34 -04:00
Carson McManus
6af4374da3
trade: misc confirmation fixes and tests (#246) 2023-06-27 19:13:26 +00:00
Carson McManus
0d24d12c55
trade: refactor how confirmations work so it's more reliable (#245) 2023-06-27 10:20:27 -04:00
Carson McManus
09fd78a5a5 Bump steamguard v0.9.2, steamguard-cli v0.9.4 2023-06-26 20:22:31 -04:00
Carson McManus
79c01833e8
fix manifest migration flow not prompting for passkey if not provided in args (#240) 2023-06-26 20:15:22 -04:00
Carson McManus
ad5a9b3131
trade: fix Account Details confirmation not parsing (#239)
fixes #238
2023-06-26 23:57:17 +00:00
Carson McManus
7d39da8213 Bump steamguard v0.9.1, steamguard-cli v0.9.3 2023-06-26 19:12:07 -04:00
Carson McManus
4fed9486de
trade: adjust logging for deserializing confirmations (#237) 2023-06-26 23:11:15 +00:00
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