1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Matt Gibson
ee664059d2 Fix/lock lowdb file (#470)
* Lock data.json while running

* Await floating promises

* Increase retry frequency and attempt count for lock file

* tweak lock retry times
2022-02-10 10:24:41 -06:00
Matt Gibson
1b409653a2 Fix/bitwarden serve (#454)
* Handle null passedOptions

* Require authentication to use `bs serve`
2022-01-26 10:28:56 -06:00
Thomas Rittson
8b650666c5 Fix migration to Key Connector (#452)
* Move Key Connector check to subclass

* Move authService.logout call to main program

* Move Key Connector migration check to unlock command

* Use get/setConvertAccountRequired flag

* Move Key Connector convert to own command, set usesKeyConnector after conversion

* Remove KC conversion check from syncCommand, fix callback

* Make class service private

* Fix naming convention

* Update jslib and deps
2022-01-21 06:03:37 +10:00
Kyle Spearrin
922cd1dc54 serve command (#451) 2022-01-19 10:45:14 -05:00
Addison Beck
179f1dfe5d [refactor(Account Switching)] Implement StateService (#424) 2021-12-28 15:38:51 -05:00
Oscar Hinton
910b4a24e6 Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Thomas Rittson
85f4f1e727 [Key Connector] Add support for key connector (#406)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:16 +01:00
Matt Gibson
230e00e423 Fix unlock env and passwordfile (#352)
* Handle null options

* Pass in ConsoleLogService dependency
2021-07-20 09:54:04 -05:00
Philip Kaiser
47308ef240 --passwordenv doesn't work for for unlock (#347)
* - Add passwordenv parameter to unlock command
- Add passwordfile parameter to unlock command
- Adapt help message

* Remove newline

* Add warning if passwordenv var not found

* Appease the linter

* Refactor

* Undo last commit
2021-07-02 15:04:07 -05:00
Matt Gibson
62b5a05c40 Use cryptoservice to compare key to local keyhash (#331)
* Use cryptoservice to compare key to local keyhash

* Fix bugs

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-06-21 12:23:30 -05:00
Oscar Hinton
477066118e Add jslib as a "real" dependency (#321)
* Split jslib

* Bump jslib

* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
2021-06-07 19:25:55 +02:00
Kyle Spearrin
bd0f28b3be SSO login (#154)
* support sso login

* update jslib

* set clientid in base login command
2020-08-03 12:30:32 -04:00
Kyle Spearrin
f5426469bb only block interaction if env var set
resolves #118
2020-03-12 15:37:44 -04:00
Kyle Spearrin
e7450d27e4 prompt for unlock if can interact 2019-10-21 16:04:51 -04:00
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Casey Watson
4b99745114 Don't show * mask when entering password (#23)
- The * mask has the potential to leak the users password length and
should not be used.

Fixes #8
2018-08-16 16:01:25 -04:00
Kyle Spearrin
acd562e18c prelogin kdf info 2018-08-14 15:13:40 -04:00
Keith Kelly
c7160c0870 Use stderr for prompts to better allow scripting (#14)
* Update invocations of inquirer.js prompts to output prompt to stderr.

fixes #7

* Updates to use updated typings from @types/inquirer
2018-06-18 22:07:45 -04:00
Kyle Spearrin
200effe772 switch from readline sync to inquirer 2018-05-23 11:16:23 -04:00
Kyle Spearrin
33f0f5eae0 update template ids 2018-05-18 09:16:34 -04:00
Kyle Spearrin
576c529b10 powershell examples 2018-05-16 23:27:47 -04:00
Kyle Spearrin
8d66118b19 lock/unlock commands 2018-05-16 10:25:25 -04:00