Repository navigation
fix(core): a Team Library copy carries no device credential path, and the core lists what a shared row would use here - #4687
Merged
Conversation
…Mac's decoder needs them
…y, a socket host, and any file path
…vice-paths # Conflicts: # core/crates/ffi/src/sync/team_library.rs
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
LocalFilefields (keys, certificates, SQLite extensions);ExportableSSHConfigdecoder needs. The SSH sign-in method stays, so a key copy asks the reader for a key of their own.duckdbFilePath(MotherDuckmd:included),libsqlFilePath,attachedDatabasesandlocalSocketPathmove fromLocalFiletoDestinationinfield_trust.rsandConnectionFieldTrust.swift, and travel.tablepro_sync::adapters::library::shared_row_local_uses, exposed asCore.sharedRowLocalUses(record, fileBased:)(fileBasedcomes from an app whose engines this core lacks; None asks this core's drivers). It lists what a row from another origin would use of this device: the SSH agent, key files and default keys per server for the main host and each hop (as the core's transports try them, password tunnels included), the SSH profile link, and a database file or socket here.ssh_key_passphraseorssl_key_passphrase, which open key files on the publishing device that the copy no longer names, and a member never opens one an older build sealed. Password, SSH password and TOTP secret still go. Edits that name a passphrase still parse.Test plan
bundle_tests.rs:md:copy, a DuckDB file copy and a libSQL copy keep their path.local_uses_tests.rs: each auth method, named keys with the agent, each hop by host, the profile, files, socket hosts,md:and remote files left out, a local name holding://.team_library.rs: the FFI list crosses, and an app'sfileBasedoverrides an empty driver registry.team_secrets.rs:a_publish_seals_no_key_passphrase.secrets.rs: the pinned testa_secret_goes_up_only_when_the_copy_uses_itis now…_and_a_key_passphrase_never, since passphrases stop going up. The FFI saved-secrets test holds both passphrases and reads neither.tablepro-syncandtablepro-ffi --libtests, storagefield_trusttests and clippy on macOS; storage and sync tests and clippy in the Linux container; TableProCore package tests (ConnectionFieldTrust); field trust parity script; C# bindings and Windows build.