Auto delete spaces in security key
- Dominant language
- Swift
- Stars
- 684
- Forks
- 154
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 24
Description
### Steps To Reproduce
1. Generate a security in Meta Account Centre '...'
2. Copy the key
3. Manually add the key
4. Don't delete the spaces in between the segments
### Expected Result
It would be nice if the key needn't be modified by deleting the spaces manually.
### Actual Result
The app reports "Error reading the key".
### Screenshots or Videos
_No response_
### Additional Context
_No response_
### Build Version
2023.5.0 (38)
### Environment Details
- iPhone 15 Pro IOS 17.4.1
### Issue Tracking Info
- [ ] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Contributor guide
Research direction
Start by locating the iOS security-key parsing or validation entry point and reproduce the reported flow with a copied key containing spaces. Confirm the existing tests or validation behavior, then verify that a spaced key is accepted without requiring manual cleanup while invalid keys remain rejected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100