1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-14 10:26:19 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Lorenz Brun 6d89c0f157
fido2-utils: fix BufferSource conversions (#11784)
The original implementation of bufferSourceToUint8Array was incorrect as
it did not consider that TypedArray instances represent a view of the
underlying ArrayBuffer which does not necessarily cover the entire
backing ArrayBuffer. This resulted in the output of this function
containing data which would not be logically contained in the input.

This was partially fixed by #8787 for the common case of the input
already being an Uint8Array, but it was still broken for any other
TypedArrays. But #8222 introduced another copy of the original broken
code, breaking the Uint8Array case again.

Fix this once and hopefully for the last time with a correct
implementation of bufferSourceToUint8Array and using that in the
appropriate places instead of open-coding it. In addition there are now
tests which exercise most edge cases with regards to ArrayBuffer and
TypedArrays.
2024-11-11 14:54:36 -05:00
.checkmarx Update SAST preset to query set (#8569) 2024-04-01 16:24:04 -04:00
.codescene disable code duplication check in unit tests (#6773) 2023-11-06 15:48:34 -05:00
.github Check run earlier during setup (#11958) 2024-11-11 13:19:33 -05:00
.husky Update husky hooks (#7738) 2024-01-30 06:50:54 -08:00
.storybook [CL-425] - add tools card component (#11375) 2024-10-11 23:00:45 +02:00
.vscode Add rust analyzer support for desktop-native (#8830) 2024-04-22 18:58:29 +02:00
apps delete ciphers as an admin when they're unassigned (#11930) 2024-11-11 12:46:51 -06:00
bitwarden_license [PM-8161] Payment optional trial MVP (#10872) 2024-11-11 17:05:37 +01:00
libs fido2-utils: fix BufferSource conversions (#11784) 2024-11-11 14:54:36 -05:00
patches Make Argon2 WebAssembly module unload after use (#5072) 2023-07-03 07:12:42 -05:00
scripts Fix locale test after typescript upgrade (#11859) 2024-11-05 11:40:47 +01:00
.browserslistrc [PM-6788][PM-7755] add babel/preset-env and browserslist (#9383) 2024-05-30 18:42:26 -04:00
.editorconfig Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
.eslintignore [PM-5539] Migrate ThemingService (#8219) 2024-03-13 15:25:39 +00:00
.eslintrc.json [CL-425] - add tools card component (#11375) 2024-10-11 23:00:45 +02:00
.git-blame-ignore-revs add prettier formatting merge commit to .git-blame-ignore-revs (#7037) 2023-11-29 17:53:26 -05:00
.gitattributes Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
.gitignore Noop notifications for dev (#6671) 2023-10-24 15:18:23 +02:00
.nvmrc [PM-8229] Bump node to 20.13.1-LTS (#8078) 2024-05-30 13:24:06 +02:00
.prettierignore [PM-5551] Removing Autofill v2 and AutofillOverlay Feature Flags (#7642) 2024-01-22 17:11:07 +00:00
.prettierrc.json Update CL documentation (#5379) 2023-05-08 14:46:59 +02:00
angular.json [PM-4347] Upgrade angular to 17 (#11031) 2024-11-04 11:51:43 -05:00
babel.config.json [PM-6788] enable bugfixes in babel/preset-env (#9465) 2024-05-31 17:59:39 -04:00
clients.code-workspace [AC-2302] Extract device approve/deny logic into a service (#8818) 2024-05-20 11:18:23 +01:00
CONTRIBUTING.md Update README and CONTRIBUTING to point to contributing.bitwarden.com (#2771) 2022-06-13 17:34:07 +10:00
jest.config.js [PM-14478] Add libs/key-management to jest.config (#11854) 2024-11-05 10:03:43 -06:00
LICENSE_BITWARDEN.txt Update LICENSE_BITWARDEN.txt (#3505) 2022-09-13 09:04:36 -04:00
LICENSE_GPL.txt Prepare bitwarden_license directory (#2663) 2022-05-09 17:50:15 +02:00
LICENSE.txt Prepare bitwarden_license directory (#2663) 2022-05-09 17:50:15 +02:00
package-lock.json [deps] Platform: Update webpack to v5.96.1 (#11319) 2024-11-11 14:08:24 +01:00
package.json [deps] Platform: Update webpack to v5.96.1 (#11319) 2024-11-11 14:08:24 +01:00
README.md Fix badge links (#7713) 2024-01-30 20:24:07 +00:00
SECURITY.md Revise language on SECURITY.md 2022-03-15 15:39:14 -04:00
tailwind.config.js [PM-9869] Create SendFormContainer (#10147) 2024-07-19 21:17:52 +02:00
tsconfig.eslint.json [CL-425] - add tools card component (#11375) 2024-10-11 23:00:45 +02:00
tsconfig.json [CL-425] - add tools card component (#11375) 2024-10-11 23:00:45 +02:00

Bitwarden

GitHub Workflow browser build on main GitHub Workflow CLI build on main GitHub Workflow desktop build on main GitHub Workflow web build on main gitter chat


Bitwarden Client Applications

This repository houses all Bitwarden client applications except the Mobile application.

Please refer to the Clients section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.