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
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
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
Carson McManus
b277e53099
Bump steamguard v0.7.1, steamguard-cli v0.7.1
2023-03-18 10:52:41 -04: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
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
5634cf82ee
fix doc comment
2022-12-05 11:18:59 -05:00
Carson McManus
738e8f1664
update comment
2022-12-05 10:41:15 -05:00
Carson McManus
b5f4364733
update some comments and some printed messages
2022-12-05 10:36:38 -05:00
Carson McManus
2a5284f678
update some docs
2022-12-05 10:32:58 -05:00
Carson McManus
dcf1779f39
update AddAuthenticatorResponse
2022-12-05 10:29:54 -05:00
Carson McManus
d3099d7686
implement phone_validate
2022-12-05 10:29:28 -05:00
Carson McManus
9f1d692d6d
steamguard: add SteamGuardAccount::from_reader
2022-08-13 09:29:40 -04:00
Carson McManus
2409fac47e
add some more debug logging around sending confirmations
2022-07-23 07:48:08 -04:00
Carson McManus
9657ea6822
Release steamguard v0.5.0, steamguard-cli v0.5.0, safety bump steamguard-cli v0.5.0
2022-06-25 11:24:43 -04:00
Carson McManus
610cda120e
get_server_time now returns Result, fixes #152
2022-06-20 20:56:36 -04:00
Carson McManus
1a6ad62a2e
cargo fmt
2022-06-19 14:52:17 -04:00
Carson McManus
eeded86641
protect Session
memory, values are zeroized when dropped
2022-06-19 14:52:17 -04:00
Carson McManus
deabfc299d
protect top level secrets in SteamGuardAccount
...
except for session
2022-06-19 14:52:17 -04:00
Carson McManus
43f73e91bd
Release steamguard v0.4.2, steamguard-cli v0.4.4
2022-06-12 11:05:19 -04:00
Carson McManus
0374525697
switch to using rustls-tls to make binaries more portable
2022-06-12 09:41:47 -04:00
Carson McManus
eb199178b1
Adjusting changelogs prior to release of steamguard v0.4.1, steamguard-cli v0.4.3
2022-01-15 12:26:40 -05:00
Yoav Shai
4900a2ede7
Make WebCookie optional in Session
...
The maFile from Steam Desktop Authenticator may set this field to null
2022-01-15 02:21:36 +02:00
Carson McManus
c27b01318b
add a better failure message for account link status 2
2022-01-02 09:46:01 -05:00
Carson McManus
1e2d82afb5
remove the need for nightly toolchain
2021-08-25 10:26:34 -04:00
Carson McManus
f892f1afdc
more misc cargo toml update
2021-08-25 09:22:36 -04:00
Carson McManus
e5ee4b64de
update readme
2021-08-25 09:18:13 -04:00
Carson McManus
4e57ce073a
licensing and stuff
2021-08-25 08:36:02 -04:00
Carson McManus
5a004efd06
update package metadata and stuff
2021-08-25 00:26:07 -04:00
Carson McManus
bf0b6d1572
replace secrets
crate with secrecy
2021-08-25 00:19:17 -04:00
Carson McManus
4e09b98d07
add TwoFactorSecret type, which zeros out memory when deallocated
2021-08-24 22:56:25 -04:00
Carson McManus
cee428b708
move fixtures to the right spot
2021-08-14 22:51:03 -04:00
Carson McManus
1b213841e9
fixes SDA manifest parsing compatibility
2021-08-14 20:54:25 -04:00
Carson McManus
5da5d32976
add some unit tests for saving and loading the manifest
2021-08-14 13:46:09 -04:00
Carson McManus
1825acdbb3
add test for account recovery confirmation
2021-08-14 12:29:39 -04:00
Carson McManus
2fa4be52d9
parse descriptions for confirmations
2021-08-14 12:16:40 -04:00
Carson McManus
357d04f34b
add account removal, closes #10
2021-08-11 19:39:29 -04:00
Carson McManus
746f76af18
fix login response deserialization
2021-08-10 21:07:04 -04:00
Carson McManus
51fea91577
remove stray line
2021-08-10 20:54:29 -04:00
Carson McManus
5379e9572c
document phone_add_ajaxop more
2021-08-10 20:54:01 -04:00
Carson McManus
217a88f0de
add phone_add_ajaxop
2021-08-10 20:28:20 -04:00
Carson McManus
72c0acfbf1
cargo fmt
2021-08-10 17:17:41 -04:00
Carson McManus
c3d3f33ec3
add remove_authenticator
2021-08-09 23:08:51 -04:00
Carson McManus
555b47b3fb
fix add authenticator response parsing again
2021-08-09 22:46:50 -04:00
Carson McManus
5cfdb84bc2
add trace logging for finalize_authenticator
2021-08-09 22:11:09 -04:00
Carson McManus
ad2cdd2a7e
fix parsing for add authenticator response
2021-08-09 22:00:49 -04:00
Carson McManus
691d927050
adding phone numbers does not work
2021-08-09 21:43:46 -04:00