Commit graph

559 commits

Author SHA1 Message Date
Carson McManus
3f5fa9a033
Merge pull request #156 from dyc3/offline-code-gen
Make it possible to generate codes offline
2022-06-21 20:38:02 -04:00
Carson McManus
a52af3675b add code subcommand back in, because it makes the arg parsing better 2022-06-21 19:31:39 -04:00
Carson McManus
fdc61e63d1 add --offline flag for generating codes, closes #155 2022-06-20 20:57:04 -04:00
Carson McManus
610cda120e get_server_time now returns Result, fixes #152 2022-06-20 20:56:36 -04:00
Carson McManus
2678961a4c fix not prompting for password for decrypt 2022-06-19 15:23:55 -04:00
Carson McManus
1ee063f58e
Merge pull request #154 from dyc3/more-memory-protection
Mark all sensitive fields in SteamGuardAccount as secret
2022-06-19 14:59:39 -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
d8db1ae9b3
Merge pull request #151 from dyc3/refactor-clap-derive
Upgrade to clap v3, switch argument parsing to derive api
2022-06-19 14:48:53 -04:00
Carson McManus
8839a18543 cargo fmt 2022-06-19 14:44:47 -04:00
Carson McManus
c86e31648a fix some warnings 2022-06-19 13:01:25 -04:00
Carson McManus
0b84a103e5 remove old arg parsing completely 2022-06-19 13:00:36 -04:00
Carson McManus
d13ca2079e add conflicts_with arg metadata 2022-06-19 12:59:20 -04:00
Carson McManus
2fc13d40e2 switch get_selected_accounts to new args 2022-06-19 12:57:54 -04:00
Carson McManus
174456226b improve help test for verbosity 2022-06-19 12:48:07 -04:00
Carson McManus
5e3b2507ab add arg_enum marker for verbosity arg 2022-06-19 12:47:07 -04:00
Carson McManus
ed9cf91cfb return better error for unimplemented subcommand 2022-06-19 12:45:33 -04:00
Carson McManus
e653ac684f set name and bin_name metadata 2022-06-19 12:42:36 -04:00
Carson McManus
1b7c089fa1 fix arg parsing for shell arg 2022-06-19 12:39:33 -04:00
Carson McManus
221e64ab8c change debug line 2022-06-19 12:38:47 -04:00
Carson McManus
4a8f7a74d2 reimplement completion subcommand 2022-06-19 12:37:40 -04:00
Carson McManus
8dd10c9b29 move debug subcommand impl 2022-06-19 12:16:20 -04:00
Carson McManus
aaded51d38 move generate code subcommand impl 2022-06-19 11:54:42 -04:00
Carson McManus
31c08ac206 move trade and remove subcommand impls 2022-06-19 11:54:16 -04:00
Carson McManus
73281ef069 move import subcommand impl 2022-06-19 11:52:26 -04:00
Carson McManus
37539f7679 move encrypt and decrypt subcommand impls to functions 2022-06-19 11:40:20 -04:00
Carson McManus
138f36f562 move help text 2022-06-19 11:32:04 -04:00
Carson McManus
9f7c8fef68 remove old verbosity arg 2022-06-19 11:31:56 -04:00
Carson McManus
b040088038 swtich mafiles path to new args 2022-06-19 11:26:18 -04:00
Carson McManus
07b9439c27 switch to a better setup for subcommands 2022-06-19 11:14:35 -04:00
Carson McManus
2f4d1e3cfa make it compile again 2022-06-19 10:56:52 -04:00
Carson McManus
14d49d33b1 move args definitions to new file 2022-06-19 10:48:18 -04:00
Carson McManus
b55df7ea26 add subcommand arg types 2022-06-19 10:38:59 -04:00
Carson McManus
e6847975ff converted some subcommands 2022-06-14 06:37:30 -04:00
Carson McManus
6ef038efc9 convert most of the remaining arg definitions 2022-06-14 06:37:30 -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
eb08e751b4 fix architecture string for deb packages, again 2022-06-14 06:16:59 -04:00
Carson McManus
57c64b346d
Merge pull request #150 from dyc3/fix-149
fix not getting prompted interactively for encryption passkey
2022-06-13 22:22:01 -04:00
Carson McManus
2c68f3389d fix not getting prompted interactively for encryption passkey 2022-06-12 22:01:35 -04:00
Carson McManus
84e2712403 fix aur tester job 2022-06-12 11:36:43 -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
01498ff069 fix typo 2022-06-12 11:04:17 -04:00
Carson McManus
af0379ac3d
Merge pull request #148 from dyc3/bin-portability
Better binary portability
2022-06-12 10:31:30 -04:00
Carson McManus
944bd2abcd remove aur updater from full release script 2022-06-12 10:24:55 -04:00
Carson McManus
bc0ec74596 fix deb package architecture metadata 2022-06-12 10:20:46 -04:00
Carson McManus
6a82b236aa add symlink for "steamguard-cli" in deb packages 2022-06-12 10:19:54 -04:00
Carson McManus
28b4f8ea39 build releases using cross for more portable builds 2022-06-12 09:46:44 -04:00
Carson McManus
0374525697 switch to using rustls-tls to make binaries more portable 2022-06-12 09:41:47 -04:00