-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-15994] Move encryption to km ownership #12576
base: main
Are you sure you want to change the base?
Conversation
Fixed Issues
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12576 +/- ##
==========================================
+ Coverage 33.78% 33.80% +0.01%
==========================================
Files 2912 2919 +7
Lines 90693 90608 -85
Branches 17151 17152 +1
==========================================
- Hits 30641 30630 -11
+ Misses 57666 57591 -75
- Partials 2386 2387 +1 ☔ View full report in Codecov by Sentry. |
@@ -1,6 +1,6 @@ | |||
// FIXME: Update this file to be type safe and remove this and next line | |||
// @ts-strict-ignore | |||
import { EncString } from "../../platform/models/domain/enc-string"; | |||
import { EncString } from "../../../../key-management/src/cryptography/domain/enc-string"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bitwarden/key-management
. There's several like it. Please review the PR for all instances.
import { OrgKey } from "@bitwarden/common/types/key"; | ||
|
||
import { EncString } from "../../../../../key-management/src/cryptography/domain/enc-string"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use @bitwarden/key-management
instead of relative pathing?
import { | ||
EncString, | ||
EncryptedString, | ||
} from "../../../../key-management/src/cryptography/domain/enc-string"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use @bitwarden/key-management
instead of relative pathing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved for Autofill concerns
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-15994
📔 Objective
Moves a lot of the remaining crypto domain from platform to km, since km will own the corresponding sdk code in the long term too. (Further, this also cleans up some internal km ownership and file structure in the process).
Specifically transferred:
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes