Commit graph

45 commits

Author SHA1 Message Date
Tilo Spannagel
f3910790bb Run "cargo fmt" 2021-08-01 12:43:18 +00: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
d6aedb771c add comment 2021-07-31 12:01:23 -04:00
Carson McManus
67a7b9b0ee use to_be_bytes for build_time_bytes 2021-07-31 11:47:37 -04:00
Carson McManus
fcc56d6d73 change parse_shared_secret to not panic, add test for build_time_bytes 2021-07-31 11:44:56 -04:00
Carson McManus
7c58e28d56 clean up imports 2021-07-31 11:08:41 -04:00
Carson McManus
66731164d6 remove commented code 2021-07-31 11:00:22 -04:00
Carson McManus
9aea25ea32 change import 2021-07-31 10:57:02 -04:00
Carson McManus
e0a668fa1e change LoginResult to Result<Session, LoginError> 2021-07-31 10:55:55 -04:00
Carson McManus
cc48bc9537 clean up and improve encrypt_password unit test 2021-07-31 10:39:48 -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
bbc2f77b30 adjust trade subcommand loop 2021-07-29 09:08:06 -04:00
Carson McManus
e3f7d10394 add get_confirmation_details 2021-07-28 16:09:21 -04:00
Carson McManus
d4c1758f1b implement --accept-all 2021-07-28 15:48:06 -04:00
Carson McManus
489842cc78 add send_confirmation_ajax 2021-07-28 15:07:15 -04:00
Carson McManus
8b5d0ef0ff move confirmation description to function
probably temporary
2021-07-28 14:10:14 -04:00
Carson McManus
c23db2a5e9 add Confirmation struct, and improve confirmation parsing 2021-07-27 23:49:53 -04:00
Carson McManus
d2bf5478ba require login only when session is invalid 2021-07-27 19:50:39 -04:00
Carson McManus
d8ffc179e0 add incomplete account linker 2021-07-27 16:24:56 -04:00
Carson McManus
b313b857c8 fixed generate_confirmation_hash_for_time 2021-04-04 23:18:27 -04:00
Carson McManus
d64bf5cade can request trade confirmations, don't know if parsing works 2021-04-04 17:48:44 -04:00
Carson McManus
36c4b7c819 started get_trade_confirmations 2021-04-04 14:07:06 -04:00
Carson McManus
71bb8e8adc add a little bit of validation to user input 2021-04-04 10:40:16 -04:00
Carson McManus
747c09c91a add test for encrypt_password 2021-04-04 09:38:34 -04:00
Carson McManus
fe6a51030f add working login process 2021-03-30 15:51:26 -04:00
Carson McManus
23257ee615 add account selection from arguments 2021-03-27 12:14:34 -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
52b40ab582 load manifest and generate code 2021-03-27 08:39:26 -04:00
Carson McManus
e9d9b61024 add session serialization 2021-03-27 08:17:56 -04:00
Carson McManus
347322ce26 add the rest of the fields to SteamGuardAccount 2021-03-26 14:31:48 -04:00
Carson McManus
d7b952b40f add load_accounts 2021-03-26 14:05:54 -04:00
Carson McManus
4e583530cd update SteamGuardAccount struct to make it easier to serialize 2021-03-26 13:32:37 -04:00
Carson McManus
a355cb6644 update Manifest struct 2021-03-26 13:14:59 -04:00
Carson McManus
05b944c40b add working manifest loading 2021-03-25 19:47:44 -04:00
Carson McManus
196e4ffdb8 add manifest and manifest entry types 2021-03-25 17:45:41 -04:00
Carson McManus
e058586680 set steam id when email auth needed 2021-03-25 15:31:50 -04:00
Carson McManus
3376da2da2 add data to login results 2021-03-25 15:26:45 -04:00
Carson McManus
8680d8d4c0 add oauth data parsing 2021-03-25 13:52:55 -04:00
Carson McManus
748c9b01d0 add other login results 2021-03-25 13:22:42 -04:00
Carson McManus
4a90c146e5 add login request 2021-03-25 12:43:41 -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