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

32 Commits

Author SHA1 Message Date
Oscar Hinton
f20af0cd7c WebAuthn (#163) 2021-03-15 16:16:51 +01:00
Matt Gibson
2c414ce27a Use log service for console messages (#221)
* Use logService for console messages

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* Use browser-process-hrtime for timing

* test LogService implementations

* Ignore default import of hrtime

* Clean up imports. Require ConsoleLog injection

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-11 10:44:57 -06:00
Matt Gibson
72bf18f369 Fix 1password importer (#222)
* Change cipher type based on csv type header

* Test identity and credit card import

* Do not use node 'fs' module

Karma is being used for automated tests so node modules are not available

* WIP: mac and windows 1password importer split

Need to improve windows field identification to limit secret data
exposure and improve user experience

* Hide fields with likely secret values

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-08 11:29:57 -06:00
Matt Gibson
2b8c2c2b3e Revert "Use logService for console messages (#214)" (#219)
This reverts commit 0fed528b6f.
2020-12-04 13:58:32 -06:00
Matt Gibson
0fed528b6f Use logService for console messages (#214)
* Use logService for console messages

* linter autofixes

* Use full import path

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* linter fixes

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-04 12:38:26 -06:00
Addison Beck
79b856cb6e Implement User-based API Keys (#197)
* Added support for authenticating with an API key

* added api service methods for user api keys

* fixed a copy/pasted api endpoint url

* Let toIdentityToken() use a a prestored client_id in place of the application client_id if one exists

* Allowed for api key auth in the cli

* Removed some commented out code commited for apiKey auth

* Cleanup for ApiKey auth in the CLI

* Removed cli prefix from client_crendential auth types

* Removed ClientPrefix conditional from decoded token getters

* Update src/services/api.service.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>

* formatting

* changed command from login --apiKey to login --apikey

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-11-10 15:15:40 -05:00
Kyle Spearrin
9957125d3a dont set keys if not there on sso (#152)
* dont set keys if not there on sso

* a comment
2020-08-17 14:27:44 -04:00
Kyle Spearrin
14b01f2e5d null check vaulttimeoutservice 2020-08-04 09:17:25 -04:00
Kyle Spearrin
261a20031f suth service support for complete sso login (#136) 2020-07-31 11:55:14 -04:00
Oscar Hinton
c62f5287cd Desktop biometrics support (#119)
* Initial work on windows hello support

* Switch to use windows.security.credentials.ui UserConsentVerifier

* Fix linting warnings

* Remove unessesary supportsBiometric from lock screen

* Rename biometric.main to windows.biometric.main. Add abstraction for biometric.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Rename fingerprintUnlock to biometric

* Add new functions to cliPlatformUtils.service.ts.

* Hide login if biometric is not supported

* Export default for biometric.*.main.ts

* Remove @nodert-win10-rs4/windows.security.credentials

* Add build requirements to readme

* Auto prompt biometric when starting the application.

* Ensure we support biometric before trying to auto prompt.

* Fix review comments and linting errors
2020-07-23 13:32:20 -04:00
Kyle Spearrin
fefef546f0 sso support (#127)
* support for sso

* created master password boolean

* resetMasterPassword flows

* throw on bad ctor for token request
2020-07-16 08:59:29 -04:00
Kyle Spearrin
cd46f64993 implement AuthServiceAbstraction 2019-05-27 10:29:09 -04:00
Kyle Spearrin
7ec8d3a3b5 missing await 2019-04-18 09:47:00 -04:00
Kyle Spearrin
773c51901f trim email also 2018-09-08 08:13:33 -04:00
Kyle Spearrin
d56c5ff4f1 just check statusCode 2018-08-15 09:01:00 -04:00
Kyle Spearrin
9f26f9f377 support for prelogin kdf info 2018-08-14 15:12:10 -04:00
Kyle Spearrin
af43232567 make keypair on login if missing 2018-07-03 12:06:01 -04:00
Kyle Spearrin
3cc759791e 2fa provider properties 2018-06-26 22:39:39 -04:00
Kyle Spearrin
cf5bce1ea9 supports duo platform util 2018-05-16 15:30:28 -04:00
Kyle Spearrin
7112911cb8 2fa adjustments in auth services 2018-05-15 21:11:20 -04:00
Kyle Spearrin
6e6dc422ac option to not set crypto keys 2018-04-25 12:42:52 -04:00
Kyle Spearrin
fc1114a6bd refactor crypto service to use crypto functions 2018-04-21 23:14:04 -04:00
Kyle Spearrin
fae4530564 use TwoFactorProviderType enum for remember me 2018-04-19 14:07:11 -04:00
Kyle Spearrin
f673bd62d7 move bow-row direct, and selected provider support 2018-04-04 14:18:42 -04:00
Kyle Spearrin
bea9e06506 added 2fa support for org duo 2018-04-03 15:11:03 -04:00
Kyle Spearrin
166ed44392 Revert "reference barrels"
This reverts commit 2d9f53fbed.
2018-02-19 13:07:19 -05:00
Kyle Spearrin
2d9f53fbed reference barrels 2018-02-19 12:33:32 -05:00
Kyle Spearrin
4412708ecb send loggedout message 2018-02-15 13:39:18 -05:00
Kyle Spearrin
4a3705e675 remove unnecessary fields from 2fa providers 2018-02-02 12:03:05 -05:00
Kyle Spearrin
7c3bed1737 updates for 2fa auth services 2018-02-01 22:55:49 -05:00
Kyle Spearrin
edc3bd1f81 convert services to abstractions 2018-01-23 17:29:15 -05:00
Kyle Spearrin
6c9e0c4cd3 added auth service 2018-01-23 15:58:13 -05:00