Xit
Xit copied to clipboard
Watch the keychain for updates
Watch for keychain events in case the user changes or deletes a password.
Use SecKeychainAddCallback with kSecUpdateEventMask and kSecDeleteEventMask.
- [ ] When a password is changed, reload it and log in again
- [ ] When a password is deleted, prompt the user to re-enter it or forget the account