Commit graph

657 commits

Author SHA1 Message Date
Carson McManus
4ba0459bb6
fix prompts sometimes not showing up (again) (#187)
- fix tui::pause only accept enter  to continue so it's less confusing
- replace unwrap with flush
- replace some prints with eprints
- make tui::prompt flush stdout and stderr

fixes #178
2023-03-18 14:20:37 +00:00
Carson McManus
3457f9cb43
disallow blank encryption passkeys (#186)
fixes #185
2023-03-18 10:08:57 -04:00
Carson McManus
2d4f9bb25c
Merge pull request #180 from dyc3/dependabot/cargo/tokio-1.20.3
Bump tokio from 1.19.2 to 1.20.3
2023-01-07 12:10:13 -05: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
15bb6230f0
Merge pull request #176 from dyc3/api-response-refactor
api response refactor
2022-12-06 10:12:25 -05: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
911ead0242 actually fix architecture field on deb package 2022-12-05 12:07:39 -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
932c98def5 update full release script to check for master branch 2022-12-05 11:50:37 -05:00
Carson McManus
daa930fbee
Merge pull request #174 from dyc3/qr
add the ability to generate a QR code for 2fa secrets
2022-12-05 11:24:17 -05:00
Carson McManus
27adb3d019
Merge pull request #175 from dyc3/setup-update
fix using uppercase letters in username during setup causing panic
2022-12-05 11:24:08 -05:00
Carson McManus
5634cf82ee fix doc comment 2022-12-05 11:18:59 -05:00
Carson McManus
cae60f6ed6 fix using uppercase letters in username during setup causing panic
fixes #171
2022-12-05 10:55:45 -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
85c4662a61 remove username argument from ArgsSetup because it was causing problems 2022-12-05 09:18:38 -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
ea7bd32ec7
Merge pull request #168 from dyc3/fix-deb
fix Architecture field for debian package
2022-10-11 17:44:26 -04:00
Carson McManus
409518f455 fix Architecture field for debian package 2022-09-08 16:31:39 -04:00
Carson McManus
8c453585d5
Merge pull request #167 from dyc3/stderr-for-prompts
write input prompts to stderr instead of stdout
2022-09-08 16:29:10 -04:00
Carson McManus
7f0d5ca8ab write input prompts to stderr instead of stdout
closes #166
2022-09-08 16:24:23 -04:00
Carson McManus
db6557ca0d
Merge pull request #162 from dyc3/from-reader
add SteamGuardAccount::from_reader
2022-08-13 09:33:47 -04:00
Carson McManus
9f1d692d6d steamguard: add SteamGuardAccount::from_reader 2022-08-13 09:29:40 -04:00
Carson McManus
0d90792c47 add check in prompt_confirmation_menu to make sure confirmations is not empty 2022-08-04 23:07:43 -04:00
Carson McManus
980a14deb1
Merge pull request #161 from dyc3/confirmation-debug-logging
add some more debug logging around sending confirmations
2022-07-23 07:51:14 -04:00
Carson McManus
2409fac47e add some more debug logging around sending confirmations 2022-07-23 07:48:08 -04:00
Carson McManus
352a892075 specify version for steamguard in steamguard-cli 2022-06-25 11:26:43 -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
f9385ac78e update full release script 2022-06-25 11:24:26 -04:00
Carson McManus
9d1f2a7ee7 remove version specification for steamguard in steamguard-cli 2022-06-25 11:22:43 -04:00
Carson McManus
c78dd00731
Merge pull request #159 from dyc3/crossterm
Switch to crossterm library for terminal ui stuff
2022-06-25 11:13:19 -04:00
Carson McManus
6e31f66dde cargo fmt 2022-06-25 11:08:03 -04:00
Carson McManus
a9e5d4b1c5 fix up unit tests 2022-06-25 11:07:57 -04:00
Carson McManus
15349156db remove termion 2022-06-25 11:04:12 -04:00
Carson McManus
0b340a3cf1 replace tty check with crossterm 2022-06-25 11:01:40 -04:00
Carson McManus
5a262650a0 converted remaining tui module to crossterm 2022-06-25 10:57:37 -04:00
Carson McManus
ebe31b6df7 convert prompt_confirmation_menu to crossterm 2022-06-25 10:14:34 -04:00
Carson McManus
230f85b6ac add crossterm to cargo.toml 2022-06-25 09:09:23 -04:00
Carson McManus
afb1d79aea adjust visibility of some functions/modules 2022-06-25 09:06:29 -04:00
Carson McManus
ad8344460d Merge branch 'master' of github.com:dyc3/steamguard-cli 2022-06-25 09:02:14 -04:00
Carson McManus
5303bd69d0 small improvements to full release script 2022-06-25 09:01:00 -04:00
Carson McManus
9f338a7af3
Merge pull request #158 from dyc3/passkey-env-var
add STEAMGUARD_CLI_PASSKEY environment variable
2022-06-23 23:58:18 -04:00
Carson McManus
cac5f57cc7 add STEAMGUARD_CLI_PASSKEY environment variable 2022-06-23 23:39:41 -04:00
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