runfix: download cert from device settings for basic mls deivce [WPB-9193] #17435
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
If the device is a basic MLS device, corecrypto will mark its identity status as valid. If the status is valid but the device's credential type is basic (1), we should mark the certificate status as "not activated" and allow the user to download the certificate manually.
Screenshots/Screencast (for UI changes)
Before:
![Screenshot 2024-05-22 at 08 21 48](https://private-user-images.githubusercontent.com/45733298/332682076-903e1167-364f-4391-a795-2362f16f59d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5NjEwMDAsIm5iZiI6MTcyNDk2MDcwMCwicGF0aCI6Ii80NTczMzI5OC8zMzI2ODIwNzYtOTAzZTExNjctMzY0Zi00MzkxLWE3OTUtMjM2MmYxNmY1OWQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDE5NDUwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNjNmMxOWQ4MGY5MWFiZTc4N2E4MjY0NGVlMWY4MThiZWY5N2JhNzUwODg3YjI1YjVkYTZhYWZjZjhhOTVmYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CuoF1p6TxEpL2inoLArgmQrnDzHqkzHpo4T6OyZURDc)
Now:
![Screenshot 2024-05-22 at 07 49 12](https://private-user-images.githubusercontent.com/45733298/332682087-18aa4ecd-36a2-451d-a956-0f14e675fb00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5NjEwMDAsIm5iZiI6MTcyNDk2MDcwMCwicGF0aCI6Ii80NTczMzI5OC8zMzI2ODIwODctMThhYTRlY2QtMzZhMi00NTFkLWE5NTYtMGYxNGU2NzVmYjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDE5NDUwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViNTJkZjZkMDVjYTkxMzY1ZGFjMmY3MTk5NGY4MDI3MGQyMjE4ZWRkN2MwNzE2ZGI0NjNmMDJhMTMwMGZjMWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3FQVhiHE-nOtmohep3Yo3-b2O1jrzb-UClF5ACYHfpE)
Checklist