10000 [PM-17935] Fixed CXF decoder for iOS 18.3 by fedemkr · Pull Request #1343 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-17935] Fixed CXF decoder for iOS 18.3 #1343

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

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

fedemkr
Copy link
Member
@fedemkr fedemkr commented Feb 11, 2025

🎟️ Tracking

PM-17935

📔 Objective

Fix Credential Exchange decoding error happening from iOS 18.3 where credentialId and rpId has changed their final d casing so we don't need the custom management of that anymore from that iOS version.

Prior to iOS 18.3: credentialID and rpID which doesn't match the same format as in the SDK, thus the custom logic is needed for decoding.
After iOS 18.3: credentialId and rpId which matches the same format as in the SDK.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation 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 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

…ntialId and rpId on iOS 18.3 so the custom transformation is no longer needed.
Copy link
codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 89.62%. Comparing base (aff6b06) to head (195e9f8).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...ervices/API/Extensions/JSONDecoder+Bitwarden.swift 81.81% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1343   +/-   ##
=======================================
  Coverage   89.61%   89.62%           
=======================================
  Files         754      754           
  Lines       47392    47396    +4     
=======================================
+ Hits        42471    42477    +6     
+ Misses       4921     4919    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details564f7aa5-dc52-4f4b-ade6-20bb173c66e0

Great job, no security vulnerabilities found in this Pull Request

@fedemkr fedemkr merged commit 0cbedd2 into main Feb 13, 2025
9 checks passed
@fedemkr fedemkr deleted the PM-17935/fix-cxp-decoding-error branch February 13, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0