Commit graph

84 commits

Author SHA1 Message Date
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
2c68f3389d fix not getting prompted interactively for encryption passkey 2022-06-12 22:01:35 -04:00
Carson McManus
be80904f96 cargo fmt 2022-02-22 09:38:41 -05:00
Carson McManus
a56659e44f force load all accounts when encrypting and decrypting 2022-02-22 09:29:34 -05:00
Carson McManus
ae2049abe8 make auto-upgrades more explicit 2022-02-22 09:19:56 -05:00
Carson McManus
7dcfbc112f refactor: move selected account logic into function 2022-02-22 09:17:04 -05:00
Carson McManus
00ea8dca71 refactor: account manager no longer needs to have all accounts loaded in order to function 2022-02-21 12:50:50 -05:00
Carson McManus
c11593e7e4 add --fail-fast argument for responding to confirmations 2022-02-21 12:14:15 -05:00
Carson McManus
b1d559ea00 add non-zero exit codes when unrecoverable errors occur. 2022-02-21 11:59:14 -05:00
Carson McManus
1ffe464ed8 cargo fmt 2021-09-06 16:57:36 -04:00
Carson McManus
e4cf29e852 don't allow setup or import for account_names already in the manifest, fixes #109 2021-09-06 16:51:44 -04:00
Carson McManus
a92cd5b1aa allow accounts to be removed from manifest without successfully removing authenticator from account 2021-09-06 16:14:57 -04:00
Carson McManus
274dd373c2 cargo fmt 2021-09-06 16:05:26 -04:00
Carson McManus
e6d8de4dc2 add some logging for generating codes 2021-09-06 15:49:23 -04:00
Carson McManus
a311df931b indicate that the username arg is case sensitive 2021-09-01 08:56:24 -04:00
Carson McManus
bb6c733999 save empty manifest directly after prompting to create one 2021-08-29 20:17:17 -04:00
Carson McManus
ece0f19ec0 cargo fmt 2021-08-25 09:09:02 -04:00
Carson McManus
69169708ef fix finalization code flow 2021-08-25 09:07:58 -04:00
Carson McManus
001e507d30 print revocation code during setup process 2021-08-25 09:06:42 -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
e611e31ad3 move encryption stuff into new module 2021-08-19 16:55:57 -04:00
Carson McManus
aa1fa6a318 fix not being able to encrypt file contents if it was longer than a certain amount of bytes 2021-08-19 14:15:38 -04:00
Carson McManus
d3cdc309ed prompt user for encryption passkey if not provided 2021-08-17 19:20:57 -04:00
Carson McManus
e1f86d3750 fix passkey arg 2021-08-17 19:04:02 -04:00
Carson McManus
f1158f9a3d implement decrypt 2021-08-17 18:54:16 -04:00
Carson McManus
531e69ea88 prompt for passkey if not provided 2021-08-17 18:24:26 -04:00
Carson McManus
1b1f12f423 implement saving encrypted maFiles 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
c98ff1c914 allow load_accounts to take encryption passkey 2021-08-17 18:24:26 -04:00
Carson McManus
4788b330ed add shell completion generation 2021-08-17 18:13:05 -04:00
Carson McManus
1258ef6e97 handle unused results 2021-08-14 11:25:53 -04:00
Carson McManus
0bc5ca7016 combine do_login and do_login_raw 2021-08-14 11:24:15 -04:00
Carson McManus
ca86b44640 add prompt_char helper function 2021-08-14 11:10:21 -04:00
Carson McManus
f38f9b6e52 move input prompting code into tui module 2021-08-14 10:01:25 -04:00
Carson McManus
5689431f8c add import subcommand 2021-08-13 19:04:03 -04:00
Carson McManus
f5ac96f722 cargo fmt 2021-08-12 18:54:38 -04:00
Carson McManus
0af027b27e fix default maFiles path from args handling 2021-08-12 18:36:03 -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
d460fa8b12 make --all and --username conflict with each other 2021-08-11 19:58:18 -04:00
Carson McManus
357d04f34b add account removal, closes #10 2021-08-11 19:39:29 -04:00
Carson McManus
d67a93a982 cargo fmt 2021-08-10 22:45:17 -04:00
Carson McManus
847deafe86 save manifest after finalization 2021-08-10 21:10:04 -04:00
Carson McManus
91e2a1b2c6 fix username arg not accepting values 2021-08-09 22:25:39 -04:00
Carson McManus
691d927050 adding phone numbers does not work 2021-08-09 21:43:46 -04:00
Carson McManus
bb762b2f47 add some more logging in phoneajax 2021-08-09 20:11:15 -04:00
Carson McManus
071d9d7d2d enable logging for steamguard module 2021-08-09 19:48:18 -04:00