Skip to content

Conversation

@malkovitc
Copy link

Summary

Fixes #797

  • Remove KeychainHelper.swift and KeychainHelperProtocol
  • Add generic save/load/delete methods to KeychainManagerProtocol
  • Update NostrIdentityBridge to use KeychainManagerProtocol
  • Update FavoritesPersistenceService to use KeychainManagerProtocol
  • Update PreviewKeychainManager and MockKeychain with new methods

Test plan

  • Verify keychain operations work correctly (save/load/delete identity keys)
  • Verify favorites persistence works correctly
  • Verify Nostr identity bridge functions properly
  • Run existing unit tests

🤖 Generated with Claude Code

…lesstech#797)

Merge KeychainHelper functionality into KeychainManager to provide
a single, unified API for all keychain operations.

- Remove KeychainHelper.swift and KeychainHelperProtocol
- Add generic save/load/delete methods to KeychainManagerProtocol
- Update NostrIdentityBridge to use KeychainManagerProtocol
- Update FavoritesPersistenceService to use KeychainManagerProtocol
- Update PreviewKeychainManager with new methods
- Update MockKeychain and add MockKeychainHelper typealias for backwards compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combine KeychainManager and KeychainHelper

1 participant