Files
cindy/packages/remote-credentials-native
Dash 5ac26ed2bd fix(remote-desktop): 修复多屏 Mac 解锁并隔离手机指纹影响 (#4896)
* fix(remote-desktop): 修复多屏 Mac 自动解锁窗口识别

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* test(remote-desktop): 覆盖多窗口采集预算与对象映射

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(remote-desktop): 副屏变化时仍清理原密码框

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(mobile): 排除 Mac 专用凭证源码的指纹变化

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* test(mobile): 兼容指纹边界测试的 Windows 换行

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-25 21:29:53 +08:00
..

Cindy remote credential native core

This library is wired into the Mac host and iOS controller in this worktree. The Android controller implements the same wire protocol in its native module. See integration status for the product contract, required server rollout and remaining lockscreen/device validation. The Mac helper targets macOS 12+, matching the Desktop application's minimum.

The permanent signing key stays in native Keychain/Secure Enclave APIs. Session ECDH keys are ephemeral and are released when the native channel closes. Passwords must never cross the React Native or Electron renderer bridge. The iOS vault's internal methods must be called only by the native transaction coordinator after peer confirmation; they are not public Expo methods.

Build and test the pure native core with swift test. Tests generate temporary keys in memory and do not access personal Keychain data or verify a real OS password. An iOS build is a compile check, not a biometric test.

Cryptographic implementation: JOSESwift 3.0.0, Apache-2.0, pinned in Package.resolved. Its license is included by the repository's third-party notice generator in Mac and iOS artifacts.

Apple contracts: OpenDirectory password verification, Keychain accessibility and user presence.