1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-13 00:51:45 +01:00
Commit Graph

247 Commits

Author SHA1 Message Date
Andreas Coroiu
6fd5801739
[EC-598] feat: hash client data and throw if aborted 2023-03-30 15:05:58 +02:00
Andreas Coroiu
259e646ed7
[EC-598] feat: check for supported key algorithms 2023-03-30 14:37:36 +02:00
Andreas Coroiu
142aa016d4
[EC-598] feat: check origin and rp.id effective domains 2023-03-30 14:25:10 +02:00
Andreas Coroiu
b8821ccd3d
[EC-598] feat: check user id length 2023-03-30 13:54:46 +02:00
Andreas Coroiu
f172625f26
[EC-598] feat: start working on new Fido2ClientService 2023-03-30 13:24:07 +02:00
Andreas Coroiu
e7454501ea
[EC-598] feat: add general error handling for attestation 2023-03-30 10:59:19 +02:00
Andreas Coroiu
b3d5ab4472
[EC-598] feat: add signatures to attestation 2023-03-30 10:55:59 +02:00
Andreas Coroiu
151afeb241
[EC-598] feat: implement assertion 2023-03-30 09:12:54 +02:00
Andreas Coroiu
5bf4156fc6
[EC-598] feat: increment counter during assertion 2023-03-29 16:55:09 +02:00
Andreas Coroiu
597bc0b197
[EC-598] feat: add user confirmation test to assertion
also rewrite to use cipher views in tests
2023-03-29 16:23:19 +02:00
Andreas Coroiu
c2ec87a3f3
[EC-598] feat: implement missing credential checks 2023-03-29 10:37:02 +02:00
Andreas Coroiu
231edf82f7
[EC-598] chore: add todo tests about deleted items 2023-03-29 09:51:53 +02:00
Andreas Coroiu
80fbfc9d13
[EC-598] fix: properly convert credentials to guid raw format 2023-03-28 15:50:01 +02:00
Andreas Coroiu
c882c37f82
[EC-598] feat: add separate nonDiscoverableId to keys 2023-03-28 15:04:16 +02:00
Andreas Coroiu
6d90489ace
[EC-598] feat: start implementing getAssertion 2023-03-28 10:38:25 +02:00
Andreas Coroiu
f9c684695b
[EC-598] feat: add ignored enterpriseAttestation param 2023-03-27 13:53:46 +02:00
Andreas Coroiu
f31bd3eca9
[EC-598] feat: complete implementation of makeCredential 2023-03-27 13:38:21 +02:00
Andreas Coroiu
343df7efdb
[EC-598] feat: add counter to fido2key 2023-03-27 09:53:03 +02:00
Andreas Coroiu
ad27234576
[EC-598] feat: tweak key data to contain separate type and algorithm 2023-03-27 09:45:18 +02:00
Andreas Coroiu
800f032e92
[EC-598] feat: don't leak internal errors during creation 2023-03-24 16:30:20 +01:00
Andreas Coroiu
e327e3f9d8
[EC-598] chore: use webauthn authenticator model as base instead of CTAP 2023-03-24 16:23:00 +01:00
Andreas Coroiu
6bf680cacc
[EC-598] feat: add support for non-discoverable credentials 2023-03-23 10:47:58 +01:00
Andreas Coroiu
f49822989c
[EC-598] chore: rearrange tests 2023-03-23 09:38:52 +01:00
Andreas Coroiu
260bcc9f9e
[EC-598] feat: remove ability to duplicate excluded credentials 2023-03-22 16:07:13 +01:00
Andreas Coroiu
4926278fb9
[EC-598] feat: add support for saving discoverable credential 2023-03-22 15:37:16 +01:00
Andreas Coroiu
cb9f102b7d
[EC-598] chore: rearrange tests 2023-03-22 14:13:38 +01:00
Andreas Coroiu
376be67f28
[EC-598] feat: rearrange order of execution 2023-03-22 10:49:05 +01:00
Andreas Coroiu
fbfaa06cbb
[EC-598] feat: confirm new credentials 2023-03-22 10:28:28 +01:00
Andreas Coroiu
260ea22adb
[EC-598] feat: handle unsupported pinAuth 2023-03-22 10:01:01 +01:00
Andreas Coroiu
e1833ca352
[EC-598] feat: add check for invalid option values 2023-03-21 17:27:52 +01:00
Andreas Coroiu
696e036ca8
[EC-598] feat: add check for unsupported algorithms 2023-03-21 16:59:26 +01:00
Andreas Coroiu
078bf9dcb5
[EC-598] feat: allow user to confirm duplication 2023-03-21 14:55:49 +01:00
Andreas Coroiu
c8ab590086
[EC-598] feat: first tested rule in new authentitcator 2023-03-21 14:18:06 +01:00
Andreas Coroiu
e70d6cdcd4
[EC-598] feat: start creating separate authenticator service 2023-03-20 11:09:48 +01:00
Andreas Coroiu
1a034ea26e
[EC-598] feat: implement full support for timeouts 2023-02-10 16:02:40 +01:00
Andreas Coroiu
158d1fbe01
[EC-598] feat: add timeout and UV to params 2023-02-10 15:52:46 +01:00
Andreas Coroiu
5f776c7176
[EC-598] chore: add small todo comment 2023-02-10 15:46:26 +01:00
Andreas Coroiu
24dcedb498
[EC-598] chore: collect all passkeys stuff under common folder 2023-02-10 13:26:19 +01:00
Andreas Coroiu
526dd11e64
Merge branch 'master' into EC-598-beeep-properly-store-passkeys-in-bitwarden 2023-02-10 13:08:19 +01:00
Matt Gibson
1f3017214e
Auth/reorg auth (#4694)
* PM-74 move desktop hint component

* PM-60 move update temp password to auth team

* PS-2298 Add auth code owners file
2023-02-08 13:57:41 -06:00
Andreas Coroiu
67aad0c5b7
[EC-489] chore: remove obsolete identifier field (#4575)
* [EC-489] chore: remove obsolete `identifier` field

* [EC-489] chore: remove identifier from org response
2023-02-08 16:33:41 +01:00
Matt Gibson
cf972e784c
Auth/ps 2298 reorg auth (#4564)
* Move auth service factories to Auth team

* Move authentication componenets to Auth team

* Move auth guard services to Auth team

* Move Duo content script to Auth team

* Move auth CLI commands to Auth team

* Move Desktop Account components to Auth Team

* Move Desktop guards to Auth team

* Move two-factor provider images to Auth team

* Move web Accounts components to Auth Team

* Move web settings components to Auth Team

* Move web two factor images to Auth Team

* Fix missed import changes for Auth Team

* Fix Linting errors

* Fix missed CLI imports

* Fix missed Desktop imports

* Revert images move

* Fix missed imports in Web

* Move angular lib components to Auth Team

* Move angular auth guards to Auth team

* Move strategy specs to Auth team

* Update .eslintignore for new paths

* Move lib common abstractions to Auth team

* Move services to Auth team

* Move common lib enums to Auth team

* Move webauthn iframe to Auth team

* Move lib common domain models to Auth team

* Move common lib requests to Auth team

* Move response models to Auth team

* Clean up whitelist

* Move bit web components to Auth team

* Move SSO and SCIM files to Auth team

* Revert move SCIM to Auth team

SCIM belongs to Admin Console team

* Move captcha to Auth team

* Move key connector to Auth team

* Move emergency access to auth team

* Delete extra file

* linter fixes

* Move kdf config to auth team

* Fix whitelist

* Fix duo autoformat

* Complete two factor provider request move

* Fix whitelist names

* Fix login capitalization

* Revert hint dependency reordering

* Revert hint dependency reordering

* Revert hint component

This components is being picked up as a move between clients

* Move web hint component to Auth team

* Move new files to auth team

* Fix desktop build

* Fix browser build
2023-02-06 15:53:37 -06:00
Robyn MacCallum
4f7bd77560
[SG-900] Implement auto-fill callout (#4670)
* Implement autofill callouts

* Fix copy for dismissed callout

* Delay closing popup after using callout auto-fill
2023-02-06 13:04:11 -05:00
Brandon Maharaj
bbc709d74e
fix: change to 10 (#4662) 2023-02-06 11:36:09 -05:00
Andreas Coroiu
68331f061e
[EC-861] Add external id to member modal (#4504)
* [EC-861] feat: add `externalId` field to ui

* [EC-861] feat: add `externalId` to services and data classes
2023-02-06 15:54:59 +01:00
Robyn MacCallum
8a9e59094a
Login Flows (#4411)
* [SG-171] Login with a device request: Desktop (#3999)

* Move LoginWithDeviceComponent to libs

* Create login module

* Remove login component from previous location

* Move startPasswordlessLogin method to base class

* Register route for login with device component

* Add new localizations

* Add Login with Device page styles

* Add desktop login with device component

* Spacing fix

* Add content box around page

* Update wording of helper text

* Make resend timeout a class variable

* SG-173 - Login device approval desktop (#4232)

* SG-173 Implemented UI and login for login approval request

* SG-173 - Show login approval after login

* SG-173 Fetch login requests if the setting is true

* SG-173 Add subheading to new setting

* SG-173 Handle modal dismiss denying login request

* SG-173 Fix pr comments

* SG-173 Implemented desktop alerts

* SG-173 Replicated behaviour of openViewRef

* SG-173 Fixed previous commit

* SG-173 PR fix

* SG-173 Fix PR comment

* SG-173 Added missing service injection

* SG-173 Added logo to notifications

* SG-173 Fix PR comments

* [SG-910] Override self hosted check for desktop (#4405)

* Override base component self hosted check

* Add selfhost check to environment service

* [SG-170] Login with Device Request - Browser (#4198)

* work: ui stuff

* fix: use parent

* fix: words

* [SG-987] [SG-988] [SG-989] Fix passwordless login request (#4573)

* SG-987 Fix notification text and button options

* SG-988 Fix approval and decline confirmation toasts

* SG-989 Fix methods called

* SG-988 Undo previous commit

* [SG-1034] [Defect] - Vault is empty upon login confirmation (#4646)

* fix: sync after login

* undo: whoops

---------

Co-authored-by: Carlos Gonçalves <cgoncalves@bitwarden.com>
Co-authored-by: Brandon Maharaj <bmaharaj@bitwarden.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
2023-02-05 10:57:21 -05:00
Matt Bishop
dcc7846138
[CSA-27] Use new dependency-free locale service for WebAuthN translations (#4557) 2023-02-04 09:23:42 -05:00
Matt Bishop
6df37dd715
[CSA-28] Use path normalization in API requests (#4580)
* Use path normalization in API requests

* Remove CLI webpack config change that's unneeded

* Add additional tests
2023-02-03 14:24:49 -05:00
Bernd Schoolmann
fa231499d6
Fix missing kdf parameters in connector code (#4638) 2023-02-02 20:21:56 -05:00
Robyn MacCallum
7ebedbecfb
[SG-998] and [SG-999] Vault and Autofill team refactor (#4542)
* Move DeprecatedVaultFilterService to vault folder

* [libs] move VaultItemsComponent

* [libs] move AddEditComponent

* [libs] move AddEditCustomFields

* [libs] move attachmentsComponent

* [libs] folderAddEditComponent

* [libs] IconComponent

* [libs] PasswordRepormptComponent

* [libs] PremiumComponent

* [libs] ViewCustomFieldsComponent

* [libs] ViewComponent

* [libs] PasswordRepromptService

* [libs] Move FolderService and FolderApiService abstractions

* [libs] FolderService imports

* [libs] PasswordHistoryComponent

* [libs] move Sync and SyncNotifier abstractions

* [libs] SyncService imports

* [libs] fix file casing for passwordReprompt abstraction

* [libs] SyncNotifier import fix

* [libs] CipherServiceAbstraction

* [libs] PasswordRepromptService abstraction

* [libs] Fix file casing for angular passwordReprompt service

* [libs] fix file casing for SyncNotifierService

* [libs] CipherRepromptType

* [libs] rename CipherRepromptType

* [libs] CipherType

* [libs] Rename CipherType

* [libs] CipherData

* [libs] FolderData

* [libs] PasswordHistoryData

* [libs] AttachmentData

* [libs] CardData

* [libs] FieldData

* [libs] IdentityData

* [libs] LocalData

* [libs] LoginData

* [libs] SecureNoteData

* [libs] LoginUriData

* [libs] Domain classes

* [libs] SecureNote

* [libs] Request models

* [libs] Response models

* [libs] View part 1

* [libs] Views part 2

* [libs] Move folder services

* [libs] Views fixes

* [libs] Move sync services

* [libs] cipher service

* [libs] Types

* [libs] Sync file casing

* [libs] Fix folder service import

* [libs] Move spec files

* [libs] casing fixes on spec files

* [browser] Autofill background, clipboard, commands

* [browser] Fix ContextMenusBackground casing

* [browser] Rename fix

* [browser] Autofill content

* [browser] autofill.js

* [libs] enpass importer spec fix

* [browser] autofill models

* [browser] autofill manifest path updates

* [browser] Autofill notification files

* [browser] autofill services

* [browser] Fix file casing

* [browser] Vault popup loose components

* [browser] Vault components

* [browser] Manifest fixes

* [browser] Vault services

* [cli] vault commands and models

* [browser] File capitilization fixes

* [desktop] Vault components and services

* [web] vault loose components

* [web] Vault components

* [browser] Fix misc-utils import

* [libs] Fix psono spec imports

* [fix] Add comments to address lint rules
2023-01-31 16:08:37 -05:00