pub async fn fix_identities() -> Result<(), Error>
Expand description
Ensure that the user has at least one valid identity on disk.
This function performs the following:
- Migrate users from the old identity format
- Validate all identity key pairs
- Create a new identity if none exist