-
Notifications
You must be signed in to change notification settings - Fork 20
[PM-25012] Add data field to Cipher type, and add functions for client-side parsing of the field. #517
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
Conversation
โฆ vault/PM-25012/cipher_opaque_data
|
Claude encountered an error โโ View job I'll analyze this and get back to you. |
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Reportโ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #517 +/- ##
==========================================
+ Coverage 78.70% 78.96% +0.26%
==========================================
Files 296 296
Lines 30500 30884 +384
==========================================
+ Hits 24005 24388 +383
- Misses 6495 6496 +1 โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
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.
This looks really good. I just have a few questions
|
@nikwithak I think we can target main directly |
|
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.
I don't think platform owns any of this code anymore, but I'll approve anyways :)
โฆta field to Cipher type, and add functions for client-side parsing of the field. (bitwarden/sdk-internal#517)
|




๐๏ธ Tracking
https://bitwarden.atlassian.net/browse/PM-25012
๐ Objective
This PR adds the
datafield to the Cipher struct, and adds a function for parsing that field into the appropriate CipherType (Identity, SshKey, Login, SecureNote, Card) on the client-side, rather than consuming the server-provided values.The function sits unused - after #455 is merged, we should consider adding this to the
CiphersClient::getandCipherClient::listfunctions behind a new feature flag.โฐ Reminders before review
team
๐ฆฎ 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 confirmedissue 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