Commit graph

99 commits

Author SHA1 Message Date
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
2d180f0209 Bump steamguard-cli v0.8.2 2023-06-24 08:25:56 -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
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
Carson McManus
b277e53099 Bump steamguard v0.7.1, steamguard-cli v0.7.1 2023-03-18 10:52:41 -04: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
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
5599e28c9f add the ability to generate a QR code for 2fa secrets 2022-12-05 08:47:33 -05: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
15349156db remove termion 2022-06-25 11:04:12 -04:00
Carson McManus
230f85b6ac add crossterm to cargo.toml 2022-06-25 09:09:23 -04:00
Carson McManus
eeded86641 protect Session memory, values are zeroized when dropped 2022-06-19 14:52:17 -04:00
Carson McManus
4a8f7a74d2 reimplement completion subcommand 2022-06-19 12:37:40 -04:00
Carson McManus
abe808b7bf upgrade to clap v3, convert global level arguments 2022-06-14 06:37:30 -04:00
Carson McManus
a19f379314 Release steamguard-cli v0.4.5 2022-06-14 06:17:40 -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
39707e808a update dependencies 2022-06-08 20:49:29 -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
Carson McManus
df699f0785 Release steamguard-cli v0.4.2 2021-11-14 11:46:08 -05:00
Carson McManus
7c949a75c8 Release steamguard-cli v0.4.1 2021-08-29 21:01:17 -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
49a264ba3f move incorrect passkey error 2021-08-20 10:49:43 -04:00
Carson McManus
fdc606fb0e add a unit test for encryption 2021-08-20 09:37:55 -04:00
Carson McManus
531e69ea88 prompt for passkey if not provided 2021-08-17 18:24:26 -04:00
Carson McManus
02d8cade2a correctly implement SDA compatible decryption 2021-08-17 18:24:26 -04:00
Carson McManus
7d7dd6701e add broken encrypted maFiles test 2021-08-17 18:24:26 -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
a5f9f7671b better logic for determining where the user's maFiles are located 2021-08-12 18:06:18 -04:00
Carson McManus
298d29dc07 improve error handling in accountlinker 2021-08-09 18:44:42 -04:00
Carson McManus
79f8341aad move most http requests to the steam API into SteamApiClient 2021-08-08 01:26:25 -04:00
Carson McManus
6c34a8f2df refactor confirmations parsing, fixes #66 2021-07-31 16:57:51 -04:00
Carson McManus
c6d9fd0d75 seperate cli stuff from library stuff, and put it in another crate 2021-07-31 12:24:49 -04:00
Carson McManus
4be38f8854 update to rsa 0.5 2021-07-29 22:52:48 -04:00
Carson McManus
3dcccd1e63 add interactive confirmation menu 2021-07-29 19:42:45 -04:00
Carson McManus
c23db2a5e9 add Confirmation struct, and improve confirmation parsing 2021-07-27 23:49:53 -04:00
Carson McManus
c936d9a0ac add uuid crate 2021-07-27 10:10:20 -04:00
Carson McManus
71bb8e8adc add a little bit of validation to user input 2021-04-04 10:40:16 -04:00
Carson McManus
fe6a51030f add working login process 2021-03-30 15:51:26 -04:00
Carson McManus
8ded30e09e add logging 2021-03-27 10:35:52 -04:00
Carson McManus
bde8a37d3f add argument parsing 2021-03-27 09:31:38 -04:00
Carson McManus
05b944c40b add working manifest loading 2021-03-25 19:47:44 -04:00
Carson McManus
142f394d98 add working RSA encryption for password during login 2021-03-24 17:49:09 -04:00
Carson McManus
5b8d581a48 add working 2fa code generation 2021-03-21 23:00:16 -04:00