Skip to content
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

Refactor the uri match fix and fix ssh-key sync #5339

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

BlackDex
Copy link
Collaborator

@BlackDex BlackDex commented Jan 1, 2025

Refactor uri match

Refactored the uri match fix to also convert numbers within a string to an int. If it fails it will be null.

Fix ssh-key sync

If any of the mandatory ssh-key json data values are not a string or are an empty string, this will break the mobile clients.
This commit fixes this by checking if any of the values are missing or invalid and converts the json data to null.
It will ensure the clients can sync and show the vault.

Fixes #5343
Fixes #5322

Refactored the uri match fix to also convert numbers within a string to an int.
If it fails it will be null.

Signed-off-by: BlackDex <[email protected]>
@BlackDex BlackDex requested a review from dani-garcia January 1, 2025 15:36
If any of the mandatory ssh-key json data values are not a string or are an empty string, this will break the mobile clients.
This commit fixes this by checking if any of the values are missing or invalid and converts the json data to `null`.
It will ensure the clients can sync and show the vault.

Fixes dani-garcia#5343
Fixes dani-garcia#5322

Signed-off-by: BlackDex <[email protected]>
@BlackDex BlackDex changed the title Refactor the uri match change Refactor the uri match fix and fix ssh-key sync Jan 4, 2025
@BlackDex BlackDex requested review from dani-garcia and removed request for dani-garcia January 4, 2025 14:14
@dani-garcia dani-garcia merged commit dfd9e65 into dani-garcia:main Jan 4, 2025
5 checks passed
@BlackDex BlackDex deleted the refactor-match-fix branch January 4, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants