1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-13 13:49:37 +01:00
bitwarden-browser/libs/vault
Bernd Schoolmann 01f6fd7ee3
[PM-16227] Move import to sdk and enable it in browser/web (#12479)
* Move import to sdk and enable it in browser/web

* Add uncomitted files

* Update package lock

* Fix prettier formatting

* Fix build

* Rewrite import logic

* Update ssh import logic for cipher form component

* Fix build on browser

* Break early in retry logic

* Fix build

* Fix build

* Fix build errors

* Update paste icons and throw error on wrong import

* Fix tests

* Fix build for cli

* Undo change to jest config

* Undo change to feature flag enum

* Remove unneeded lifetime

* Fix browser build

* Refactor control flow

* Fix i18n key and improve import behavior

* Remove for loop limit

* Clean up tests

* Remove unused code

* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>

* Move import logic to service and add tests

* Fix linting

* Remove erroneous includes

* Attempt to fix storybook

* Fix storybook, explicitly implement ssh-import-prompt service abstraction

* Fix eslint

* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts

Co-authored-by:  Audrey  <ajensen@bitwarden.com>

* Fix services module

* Remove ssh import sdk init code

* Add tests for errors

* Fix import

* Fix import

* Fix pkcs8 encrypted key not parsing

* Fix import button showing on web

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-03-10 18:41:47 +01:00
..
src [PM-16227] Move import to sdk and enable it in browser/web (#12479) 2025-03-10 18:41:47 +01:00
jest.config.js [PM-16872] Update libs to use explicit dependencies (#12770) 2025-01-10 11:21:38 +01:00
package.json [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
README.md [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
test.setup.ts [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
tsconfig.json [PM-16227] Move import to sdk and enable it in browser/web (#12479) 2025-03-10 18:41:47 +01:00
tsconfig.spec.json [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00

Vault

This lib represents the public API of the Vault team at Bitwarden. Modules are imported using @bitwarden/vault.