Repository navigation
fix(sync): a Mac connect uses a stored secret only where the library still points - #4824
Merged
Merged
Conversation
…on's stored secret
…ds its profiles, and a field read waits for the library
…rted, before a tunnel rewrote it
…uses one that moves during the test
…e, and the editor lists profiles after its read-back
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
connect_savedsince feat(core-sync): personal records go up sealed under the personal key at keyed wire ids #4815 and fix(core-sync): a moved secret goes back only once its record lands, and a record kept on the device is not sealed again #4816.DialedSecretsgates each connect-time Keychain read: the database password, a credential profile's password, the SSL key passphrase and plugin fields, and the SSH password, key passphrase and TOTP secret, inline or from a profile.KeychainSyncedSecretstellsSecretLandingsbefore a landing or removal touches the Keychain. A landing the library has not read back makes the gate read the core's file first (CoreLibraryStore.landingsRead).connectToSession(through the SSH profile as it stands), session redials, metadata and lane drivers, native backup and Test Connection.Follow-ups for 0.90
Test plan
DialedSecretsTests(17 cases) andConnectionEditorStoreSecretStateTests.editorReadsBackAPulledMove.verify.sh testpasses on DialedSecretsTests, DriverOpenSecretReadTests, the ConnectionEditorStore suites, KeychainSyncedSecretsTests, KeychainSyncedConnectionSecretsTests, CoreLibraryStoreTests, SessionRecoveryLoopTests, SessionLanesTests, DatabaseManagerTunnelTests, CredentialLeaseRoutingTests, LocalCredentialConsentTests, ConnectionWarningTests, DatabaseManagerRDSEndpointTests, CloudSQLIAMAuthTests, EnvVarReferenceConsentTests, the NativeDump, SchemaRegistry and MetadataConnectionPool suites, SyncPassFollowerTests and CredentialProfileStorageTests.verify.sh buildandlinton each changed Swift file pass.