Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package owly for openSUSE:Factory checked in at 2026-11-23 12:24:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/owly (Old) and /work/SRC/openSUSE:Factory/.owly.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "owly" Mon Nov 23 12:24:41 2026 rev:2 rq:1399738 version:0.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/owly/owly.changes 2026-11-20 14:48:42.643424301 +0100 +++ /work/SRC/openSUSE:Factory/.owly.new.1340718/owly.changes 2026-11-23 12:29:16.182519058 +0100 @@ -1,0 +2,15 @@ +Sun Nov 22 09:45:33 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 0.4.3: + * Fix receiving multiple photos from iOS Photos. + * Browse now lists AWDL peers like send does, on an owlyd + lease, showing each receiver once. + * Transfer fixes: Apple client certificates, link shares, + DVZip fallback, idle-timeout restart, chunked upload + with real TotalBytes, 45s Ask timeout, optional + StatusCode and BLE contact-hash array. + * test-card: watch Wi-Fi for 1 minute, record per-report + mode and omdrop implementation; RTL8812BU works in + exclusive mode, Intel 3168 fails. + +------------------------------------------------------------------- Old: ---- owly-0.4.2.tar.zst New: ---- owly-0.4.3.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ owly.spec ++++++ --- /var/tmp/diff_new_pack.ZFSt76/_old 2026-11-23 12:29:21.077725135 +0100 +++ /var/tmp/diff_new_pack.ZFSt76/_new 2026-11-23 12:29:21.081725304 +0100 @@ -17,7 +17,7 @@ Name: owly -Version: 0.4.2 +Version: 0.4.3 Release: 0 Summary: AirDrop over AWDL for Linux Wi-Fi cards License: MIT AND Apache-2.0 AND BSD-3-Clause AND ISC AND Unicode-3.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ZFSt76/_old 2026-11-23 12:29:21.207730609 +0100 +++ /var/tmp/diff_new_pack.ZFSt76/_new 2026-11-23 12:29:21.228731493 +0100 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="url">https://github.com/t4t5/owly.git</param> <param name="scm">git</param> - <param name="revision">refs/tags/v0.4.2</param> + <param name="revision">refs/tags/v0.4.3</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> </service> @@ -16,6 +16,7 @@ <param name="srcdir">owly</param> <param name="compression">zst</param> <param name="update">true</param> + <param name="filter">true</param> </service> <service name="cargo_audit" mode="manual"/> </services> ++++++ owly-0.4.2.tar.zst -> owly-0.4.3.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/Cargo.lock new/owly-0.4.3/Cargo.lock --- old/owly-0.4.2/Cargo.lock 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/Cargo.lock 2026-11-11 19:49:04.000000000 +0100 @@ -691,7 +691,7 @@ [[package]] name = "omdrop-owl" -version = "0.4.2" +version = "0.4.3" dependencies = [ "nix", "owly-radio", @@ -727,7 +727,7 @@ [[package]] name = "owly-airdrop" -version = "0.4.2" +version = "0.4.3" dependencies = [ "base64", "flate2", @@ -748,7 +748,7 @@ [[package]] name = "owly-awdl" -version = "0.4.2" +version = "0.4.3" dependencies = [ "tokio", "tracing", @@ -756,7 +756,7 @@ [[package]] name = "owly-cli" -version = "0.4.2" +version = "0.4.3" dependencies = [ "clap", "futures-util", @@ -778,7 +778,7 @@ [[package]] name = "owly-radio" -version = "0.4.2" +version = "0.4.3" dependencies = [ "crc32fast", "nix", @@ -793,7 +793,7 @@ [[package]] name = "owlyd" -version = "0.4.2" +version = "0.4.3" dependencies = [ "futures-util", "nix", @@ -1647,7 +1647,7 @@ [[package]] name = "xtask" -version = "0.4.2" +version = "0.4.3" dependencies = [ "serde", "serde_json", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/Cargo.toml new/owly-0.4.3/Cargo.toml --- old/owly-0.4.2/Cargo.toml 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/Cargo.toml 2026-11-11 19:49:04.000000000 +0100 @@ -10,7 +10,7 @@ # upgrades in place. The packages and their `v<version>` tag follow it # (packaging/arch), and so does owly-radio's requirement on owly-awdl, which # publishing needs. -version = "0.4.2" +version = "0.4.3" edition = "2024" rust-version = "1.88" license = "MIT" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/README.md new/owly-0.4.3/README.md --- old/owly-0.4.2/README.md 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/README.md 2026-11-11 19:49:04.000000000 +0100 @@ -120,6 +120,7 @@ | Realtek RTL8852CE | `rtw89_8852ce` | ✅ Shared and exclusive | • Legion Slim 5 16AHP9, `10ec:c852`, Omarchy 4.0.4 (kernel 7.2.5)<br>• ThinkBook 16 G7 IML, `10ec:c852`, Ubuntu 24.04.5 (kernel 7.0) | | Realtek RTL8922AE | `rtw89_8922ae` | ✅ Exclusive | ASUS System Version, `10ec:8922`, CachyOS (kernel 7.3.0) | | Realtek RTL8852BU (USB) | `rtw89_8852bu` | ✅ Exclusive (opt-in), as a second card | USB adapter, `35bc:0108`, NixOS 26.05 (kernel 7.2.9) | +| Realtek RTL8812BU (USB) | `rtw88_8822bu` | ✅ Exclusive | • ASUSTeK COMPUTER INC. ASUS Vivobook 14 X1404VAPBF_X1404VA, `2357:0138`, openSUSE Tumbleweed (kernel 7.3.0), shared: partly<br>• ASUSTeK COMPUTER INC. ASUS Vivobook 14 X1404VAPBF_X1404VA, `2357:0138`, openSUSE Tumbleweed (kernel 7.3.0), exclusive | | Qualcomm Atheros AR9287 | `ath9k` | ✅ Shared | Acer Aspire 4750, `168c:002e`, Ubuntu 24.04.5 LTS (kernel 7.0.0) | | Intel 9260 | `iwlwifi` | ✅ Exclusive | `8086:2526`, Debian 13 (kernel 7.2.12) | | Intel 9560 | `iwlwifi` | ✅ Exclusive | Lenovo 81SY, `8086:a370`, Omarchy 4.0.0 (kernel 7.2.8) | @@ -138,6 +139,7 @@ | Qualcomm WCN6855 (QCNFA765) | `ath11k_pci` | ❌ Can't create the monitor interface both modes need ([#45](https://github.com/t4t5/owly/issues/45)) | ThinkPad, `17cb:1103`, CachyOS (kernel 7.2.9) | | Qualcomm WCN7850 (FastConnect 7800) | `ath12k_wifi7_pci` | ❌ Shared: receives nothing from the phone ([#40](https://github.com/t4t5/owly/issues/40)); exclusive untested | `17cb:1107`, Fedora 44 (kernel 7.2.9) | | Intel Dual Band Wireless-AC 7265 | `iwlwifi` | ❌ Exclusive: firmware asserts on every ad-hoc start ([#16](https://github.com/t4t5/owly/issues/16)) | Zenbook UX305CA, `8086:095a`, Omarchy 4.0.4 (kernel 7.2.5) | +| Intel Dual Band Wireless-AC 3168 | `iwlwifi` | ❌ Exclusive: firmware asserts on every ad-hoc start, like the 7265 ([#109](https://github.com/t4t5/owly/issues/109)) | ASUS S2 Air Series PF4NU1F, `8086:24fb`, EndeavourOS (kernel 6.18.55) | | Intel Wireless-AC 8260 | `iwlwifi` | ❌ Exclusive: firmware resets on channel 44; no transfer on 6 | NUC6i7KYK, `8086:24f3`, Home Assistant OS (kernel 6.12) | | Intel Dual Band Wireless-AC 8265 | `iwlwifi` | ❌ Exclusive: firmware resets about 10 s after the ad-hoc cell starts; through a hidden AP, nothing heard from the phone | EliteBook x360 1030 G3, `8086:24fd`, Manjaro (kernel 6.12) | @@ -160,7 +162,7 @@ owly test-card ``` -This walks you through a photo each way with an iPhone, watches Wi-Fi for five minutes, and writes a JSON report. Open a pull request adding it to [`hardware/reports/`](hardware/README.md), or attach it to an issue. +This walks you through a photo each way with an iPhone, watches Wi-Fi for a minute, and writes a JSON report. Open a pull request adding it to [`hardware/reports/`](hardware/README.md), or attach it to an issue. A card with no entry in `drivers.toml` gets the `*` entry, which runs only with `allow_untested = true`. Cards that can inject frames from a monitor interface while connected to Wi-Fi are the likely candidates for shared mode. Most mac80211 drivers can, but how they behave around it varies, which is what `drivers.toml` records. To try other settings, copy the `*` entry to `/etc/owly/drivers.toml` under your driver's name (`basename $(readlink /sys/class/net/<wifi>/device/driver)`) and change it there. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/driver/receiver.rs new/owly-0.4.3/crates/owly-airdrop/src/driver/receiver.rs --- old/owly-0.4.2/crates/owly-airdrop/src/driver/receiver.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/driver/receiver.rs 2026-11-11 19:49:04.000000000 +0100 @@ -24,8 +24,6 @@ use crate::proto::receiver::{Answer, Config, Connection, Event}; const HANDSHAKE_TIMEOUT: Duration = Duration::from_secs(10); -/// A connection with no traffic for this long, and no prompt up, is closed. -const IDLE_TIMEOUT: Duration = Duration::from_secs(60); /// Most connections from one address at a time. const MAX_PER_PEER: usize = 4; /// An upload must bring at least this much in every `RATE_WINDOW`, about @@ -39,6 +37,9 @@ /// Where received files go. pub destination: PathBuf, pub max_connections: usize, + /// A connection with no traffic for this long, and no prompt up, is + /// closed. + pub idle_timeout: Duration, } impl Options { @@ -47,6 +48,7 @@ config, destination, max_connections: 16, + idle_timeout: Duration::from_secs(60), } } } @@ -287,7 +289,8 @@ let mut conn = Connection::new(self.config.clone()); let mut buf = vec![0; 64 << 10]; let mut timer: Option<Instant> = None; - let mut idle = Instant::now() + IDLE_TIMEOUT; + let idle_timeout = self.options.idle_timeout; + let mut idle = Instant::now() + idle_timeout; let mut answer: Option<oneshot::Receiver<Answer>> = None; let mut staging: Option<Staging> = None; let mut id = 0; @@ -419,7 +422,7 @@ tracing::debug!(peer = %self.peer, "<- {}", first_line(&buf[..n])); } let now = Instant::now(); - idle = now + IDLE_TIMEOUT; + idle = now + idle_timeout; if staging.is_some() { window.0 += n as u64; if now >= window.1 { @@ -464,6 +467,9 @@ held.update(|s| s.busy = false); } conn.answer(reply); + // The prompt's time doesn't count: the sender gets the + // whole idle time for its `/Upload`. + idle = Instant::now() + idle_timeout; } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/driver/sender.rs new/owly-0.4.3/crates/owly-airdrop/src/driver/sender.rs --- old/owly-0.4.2/crates/owly-airdrop/src/driver/sender.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/driver/sender.rs 2026-11-11 19:49:04.000000000 +0100 @@ -23,7 +23,7 @@ use crate::proto::archive::compress::{Compressor, Encoder}; use crate::proto::archive::cpio::{self, Entry}; use crate::proto::archive::extract::RelPath; -use crate::proto::mdns::SUPPORTS_DVZIP; +use crate::proto::mdns::{SUPPORTS_DVZIP, SUPPORTS_MIXED_TYPES, SUPPORTS_PIPELINING}; use crate::proto::messages::{AskFile, Offer}; use crate::proto::sender::{self, Action, Config, Outcome, Receiver, ResponseReader, Transfer}; @@ -66,8 +66,8 @@ Self::with_client_identity(config, None) } - /// A sender that presents a client certificate, which Apple senders - /// don't (TLS-3). For tests. + /// A sender that presents a client certificate, as Apple senders do + /// (TLS-3). For tests. #[doc(hidden)] pub fn with_client_identity(config: Config, identity: Option<&Identity>) -> io::Result<Self> { Ok(Sender { @@ -105,8 +105,8 @@ } /// Asks the receiver at `addr` to take `payload`, and uploads it if it - /// does. `receiver_flags` is its TXT `flags`, which decides between - /// DVZip and gzip. + /// does. `receiver_flags` is its TXT `flags`, or `0` if they aren't + /// known, and decides between DVZip and gzip (UP-1b). pub async fn send( &self, addr: SocketAddrV6, @@ -114,11 +114,7 @@ receiver_flags: u32, events: Option<mpsc::UnboundedSender<Event>>, ) -> io::Result<Outcome> { - let compressor = if receiver_flags & SUPPORTS_DVZIP != 0 { - Compressor::DvZip - } else { - Compressor::Gzip - }; + let compressor = compressor(receiver_flags); let (offer, archive) = match payload { Payload::Urls(urls) => (Offer::Urls(urls.clone()), None), Payload::Files(paths) => { @@ -243,6 +239,19 @@ .map_err(|_| io::Error::new(io::ErrorKind::TimedOut, "the receiver stopped reading"))? } +/// DVZip unless the receiver's TXT `flags` leave it out. Flags with neither +/// SupportsPipelining nor SupportsMixedTypes aren't a valid receiver's +/// (MDNS-5), such as the `0` of an instance whose TXT hasn't arrived, so +/// they say nothing and get DVZip too (UP-1b). +fn compressor(receiver_flags: u32) -> Compressor { + let known = receiver_flags & (SUPPORTS_PIPELINING | SUPPORTS_MIXED_TYPES) != 0; + if known && receiver_flags & SUPPORTS_DVZIP == 0 { + Compressor::Gzip + } else { + Compressor::DvZip + } +} + /// A fresh transfer ID: an uppercase UUID v4 (§6.4). fn uuid_v4() -> io::Result<String> { let mut b = [0u8; 16]; @@ -454,4 +463,15 @@ assert_eq!(e.kind(), io::ErrorKind::TimedOut); assert_eq!(started.elapsed(), WRITE_TIMEOUT); } + + // spec: UP-1b, MDNS-5 + #[test] + fn gzip_only_for_a_receiver_whose_flags_leave_out_dvzip() { + assert_eq!(compressor(0x089), Compressor::Gzip); + assert_eq!(compressor(0x08b), Compressor::DvZip); + assert_eq!(compressor(0x3fb), Compressor::DvZip); + // No TXT yet, or flags no valid receiver sends. + assert_eq!(compressor(0), Compressor::DvZip); + assert_eq!(compressor(0x001), Compressor::DvZip); + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/proto/archive/extract.rs new/owly-0.4.3/crates/owly-airdrop/src/proto/archive/extract.rs --- old/owly-0.4.2/crates/owly-airdrop/src/proto/archive/extract.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/proto/archive/extract.rs 2026-11-11 19:49:04.000000000 +0100 @@ -192,6 +192,7 @@ allowed: Vec<Allowed>, limits: Limits, seen: HashSet<RelPath>, + destinations: HashSet<RelPath>, entries: u32, total: u64, } @@ -202,6 +203,7 @@ allowed, limits, seen: HashSet::new(), + destinations: HashSet::new(), entries: 0, total: 0, } @@ -229,8 +231,21 @@ .allowed .iter() .any(|a| path == a.path && a.is_directory == entry.is_dir()); - let item = if !listed && entry.is_file() && self.is_sidecar(&path) { + let wrapped_file = self + .allowed + .iter() + .any(|a| !a.is_directory && a.path.components().len() == 2 && path == a.path); + let wrapper = !listed + && entry.is_dir() + && self.allowed.iter().any(|a| { + !a.is_directory + && a.path.components().len() == 2 + && a.path.parent().as_ref() == Some(&path) + }); + let item = if wrapper || !listed && entry.is_file() && self.is_sidecar(&path) { Item::Skip + } else if wrapped_file && entry.is_file() { + Item::File(RelPath::file_name(path.last())?) } else if listed || self.is_inside_directory(&path) { if entry.is_dir() { Item::Dir(path.clone()) @@ -243,6 +258,11 @@ if !self.seen.insert(path) { return Err(Error::Duplicate(entry.name.clone())); } + if let Item::File(destination) | Item::Dir(destination) = &item + && !self.destinations.insert(destination.clone()) + { + return Err(Error::Duplicate(entry.name.clone())); + } self.total = self.total.saturating_add(entry.size); if self.total > self.limits.max_total { return Err(Error::TooLarge); @@ -447,6 +467,61 @@ )); } + // spec: UP-2a, UP-7, UP-7a + #[test] + fn wrapped_photos_are_flattened_without_allowing_other_entries_or_collisions() { + let mut r = rules(&[("wrap-one/one.jpg", false), ("wrap-two/two.jpg", false)]); + assert_eq!( + r.check(&entry("./wrap-one", MODE_DIR | 0o755, 0)), + Ok(Item::Skip) + ); + assert_eq!( + r.check(&entry("./wrap-one/one.jpg", MODE_FILE | 0o644, 3)), + Ok(Item::File(RelPath::file_name("one.jpg").unwrap())) + ); + assert_eq!( + r.check(&entry("./wrap-one/._one.jpg", MODE_FILE | 0o644, 2)), + Ok(Item::Skip) + ); + assert_eq!( + r.check(&entry("./wrap-two", MODE_DIR | 0o755, 0)), + Ok(Item::Skip) + ); + assert_eq!( + r.check(&entry("./wrap-two/two.jpg", MODE_FILE | 0o644, 3)), + Ok(Item::File(RelPath::file_name("two.jpg").unwrap())) + ); + assert!(matches!( + r.check(&entry("./other", MODE_DIR | 0o755, 0)), + Err(Error::NotAsked(_)) + )); + assert!(matches!( + r.check(&entry("./wrap-one/other.jpg", MODE_FILE | 0o644, 1)), + Err(Error::NotAsked(_)) + )); + assert!(matches!( + r.check(&entry("./wrap-one/one.jpg", MODE_FILE | 0o644, 1)), + Err(Error::Duplicate(_)) + )); + + let mut r = rules(&[("a/photo.jpg", false), ("b/photo.jpg", false)]); + r.check(&entry("./a/photo.jpg", MODE_FILE | 0o644, 1)) + .unwrap(); + assert!(matches!( + r.check(&entry("./b/photo.jpg", MODE_FILE | 0o644, 1)), + Err(Error::Duplicate(_)) + )); + let mut r = rules(&[("a/photo.jpg", false)]); + assert_eq!( + r.check(&entry("./a/photo.jpg", MODE_FILE | 0o644, 1001)), + Err(Error::TooLarge) + ); + assert!(matches!( + r.check(&entry("./a/photo.jpg", 0o120777, 1)), + Err(Error::Unsupported(_)) + )); + } + // spec: SEC-3 #[test] fn enforces_limits() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/proto/ble.rs new/owly-0.4.3/crates/owly-airdrop/src/proto/ble.rs --- old/owly-0.4.2/crates/owly-airdrop/src/proto/ble.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/proto/ble.rs 2026-11-11 19:49:04.000000000 +0100 @@ -16,10 +16,10 @@ #[derive(Debug, Clone, Copy, Default, PartialEq, Eq)] pub struct Advert { pub tag: [u8; 3], - pub apple_id: [u8; 2], - pub phone: [u8; 2], - pub email: [u8; 2], - pub email2: [u8; 2], + /// The sender's contact hashes: the first 2 bytes of SHA-256 of its + /// Apple ID, a phone number or an email address. A slot doesn't say + /// which, since senders rotate them between advertisements (BLE-2). + pub hashes: [[u8; 2]; 4], } impl Advert { @@ -39,7 +39,7 @@ out.extend_from_slice(&self.tag); out.extend_from_slice(&[0; 4]); out.push(0x03); - for hash in [self.apple_id, self.phone, self.email, self.email2] { + for hash in self.hashes { out.extend_from_slice(&hash); } out.push(0x00); @@ -67,10 +67,7 @@ fn hashes_in_order() { let advert = Advert { tag: [0; 3], - apple_id: [1, 2], - phone: [3, 4], - email: [5, 6], - email2: [7, 8], + hashes: [[1, 2], [3, 4], [5, 6], [7, 8]], }; assert_eq!( &advert.manufacturer_data()[11..], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/proto/messages.rs new/owly-0.4.3/crates/owly-airdrop/src/proto/messages.rs --- old/owly-0.4.2/crates/owly-airdrop/src/proto/messages.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/proto/messages.rs 2026-11-11 19:49:04.000000000 +0100 @@ -171,7 +171,7 @@ /// `None` for the legacy shape. pub transfer_id: Option<String>, /// The key of the iOS 18 shape's `TransferType` dict, such as `files` - /// or `links` (docs/open-questions.md, item 12). Encoding derives it + /// or `links` (§6.4). Encoding derives it /// from the offer when it's `None`. pub transfer_type: Option<String>, pub sender_computer_name: String, @@ -251,8 +251,7 @@ Value::Dict(Dict::from([("id".into(), id.clone().into())])), ); } - // `links` for a URL share hasn't been captured from an Apple - // sender (docs/open-questions.md, item 12). + // `links` for a URL share, as iOS sends it (§6.4). let kind = match (&self.transfer_type, &self.offer) { (Some(kind), _) => kind.as_str(), (None, Offer::Files(_)) => "files", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/src/proto/receiver.rs new/owly-0.4.3/crates/owly-airdrop/src/proto/receiver.rs --- old/owly-0.4.2/crates/owly-airdrop/src/proto/receiver.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/src/proto/receiver.rs 2026-11-11 19:49:04.000000000 +0100 @@ -522,7 +522,9 @@ }; // ASK-5: every path is checked before anyone is asked about it, and // what's written must be what the prompt names: `FileBomPath` is - // `./<FileName>`. + // `./<FileName>`, or `./<folder>/<FileName>` for a regular file, as + // Photos wraps each file of a multi-photo share. Extraction drops the + // folder. if let Offer::Files(files) = &request.offer && files.iter().any(|f| { let (Ok(name), Ok(path)) = @@ -531,6 +533,9 @@ return true; }; name != path + && !(!f.is_directory + && path.components().len() == 2 + && path.last() == name.last()) }) { self.fail(400); @@ -698,3 +703,73 @@ } } } + +#[cfg(test)] +mod tests { + use super::*; + use std::collections::BTreeMap; + + fn offered(paths: &[(&str, &str, bool)]) -> plist::Value { + use plist::Value; + Value::Dict(BTreeMap::from([( + "Files".into(), + Value::Array( + paths + .iter() + .map(|(name, path, directory)| { + Value::Dict(BTreeMap::from([ + ("FileName".into(), Value::String((*name).into())), + ("FileBomPath".into(), Value::String((*path).into())), + ("FileIsDirectory".into(), Value::Bool(*directory)), + ])) + }) + .collect(), + ), + )])) + } + + // spec: ASK-5 + #[test] + fn wrapped_photos_reach_the_confirmation_prompt() { + let mut connection = Connection::new(Arc::new(Config::new("Receiver"))); + connection.ask(&offered(&[ + ( + "one.jpg", + "./PHMediaFormatConversionRequest-one/one.jpg", + false, + ), + ( + "two.jpg", + "./PHMediaFormatConversionRequest-two/two.jpg", + false, + ), + ])); + let Some(Event::Ask(request)) = connection.poll() else { + panic!("missing prompt") + }; + assert!(matches!(request.offer, Offer::Files(files) if files.len() == 2)); + } + + // spec: ASK-5, SEC-1 + #[test] + fn wrapped_paths_still_require_safe_paths_and_the_displayed_file_name() { + for (path, directory) in [ + ("../photo.jpg", false), + ("/folder/photo.jpg", false), + ("./folder/../photo.jpg", false), + ("./folder/deeper/photo.jpg", false), + ("./folder/other.jpg", false), + ("./folder/photo.jpg", true), + ] { + let mut connection = Connection::new(Arc::new(Config::new("Receiver"))); + connection.ask(&offered(&[("photo.jpg", path, directory)])); + assert!( + !connection + .events + .iter() + .any(|event| matches!(event, Event::Ask(_))), + "accepted {path}" + ); + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/tests/harness/mod.rs new/owly-0.4.3/crates/owly-airdrop/tests/harness/mod.rs --- old/owly-0.4.2/crates/owly-airdrop/tests/harness/mod.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/tests/harness/mod.rs 2026-11-11 19:49:04.000000000 +0100 @@ -61,6 +61,7 @@ ($(#[$meta:meta])* async fn $name:ident($veth:ident: Veth) $body:block) => { $(#[$meta])* #[test] + #[cfg_attr(not(target_os = "linux"), ignore = "needs Linux network namespaces (unshare, ip)")] fn $name() { if let Some($veth) = harness::enter(stringify!($name)) { tokio::runtime::Builder::new_multi_thread() @@ -177,9 +178,19 @@ /// A receiver on `b`, serving in the background. pub async fn receiver(veth: &Veth, config: Config) -> Running { + receiver_with(veth, config, |_| {}).await +} + +/// A receiver on `b` with its options changed by `adjust`. +pub async fn receiver_with( + veth: &Veth, + config: Config, + adjust: impl FnOnce(&mut Options), +) -> Running { let dest = tempfile::tempdir().unwrap(); let identity = Identity::generate().unwrap(); - let options = Options::new(config, dest.path().to_path_buf()); + let mut options = Options::new(config, dest.path().to_path_buf()); + adjust(&mut options); let (receiver, events) = Receiver::bind(veth.b.socket(PORT), &identity, options) .await .unwrap(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-airdrop/tests/loopback.rs new/owly-0.4.3/crates/owly-airdrop/tests/loopback.rs --- old/owly-0.4.2/crates/owly-airdrop/tests/loopback.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-airdrop/tests/loopback.rs 2026-11-11 19:49:04.000000000 +0100 @@ -419,6 +419,26 @@ } } +// spec: HTTP-1 +veth_test! { + async fn the_wait_for_the_upload_starts_at_the_answer(veth: Veth) { + let mut r = receiver_with(&veth, config(), |o| o.idle_timeout = Duration::from_secs(3)).await; + let mut c = connect(&veth).await; + c.send(&ask_for("x", ID)).await; + // The user takes 2 s to accept, and the sender 2 s more to upload: + // longer than the idle timeout since the /Ask, but not since the + // answer. + let request = r.next_request().await; + tokio::time::sleep(Duration::from_secs(2)).await; + request.accept(); + assert_eq!(c.response().await.unwrap().status, 200); + tokio::time::sleep(Duration::from_secs(2)).await; + let body = archive(&[(entry("./x", 0o100644, 1), b"x")]); + assert_eq!(c.request(&upload(ID, "application/x-cpio", &body)).await.unwrap().status, 200); + assert_eq!(r.files(), [("x".to_string(), b"x".to_vec())]); + } +} + // spec: UP-11 veth_test! { async fn upload_completes_at_the_archive_trailer(veth: Veth) { @@ -631,6 +651,7 @@ let socket = Socket::new(Domain::IPV6, Type::DGRAM, Some(Protocol::UDP)).unwrap(); socket.set_only_v6(true).unwrap(); socket.set_reuse_address(true).unwrap(); + #[cfg(all(unix, not(target_os = "solaris"), not(target_os = "illumos")))] socket.set_reuse_port(true).unwrap(); let any = std::net::SocketAddr::from((std::net::Ipv6Addr::UNSPECIFIED, mdns::MDNS_PORT)); socket.bind(&any.into()).unwrap(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-cli/src/airdrop.rs new/owly-0.4.3/crates/owly-cli/src/airdrop.rs --- old/owly-0.4.2/crates/owly-cli/src/airdrop.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-cli/src/airdrop.rs 2026-11-11 19:49:04.000000000 +0100 @@ -138,17 +138,47 @@ .map_err(|e| e.to_string()) } -/// `owly browse`. -pub async fn browse(args: BrowseArgs) -> Result<ExitCode, String> { +/// `owly browse`: by mDNS and, on an owlyd lease, by `/Discover` at the +/// radio's AWDL peers (DISC-5), as `owly send` finds them. +pub async fn browse(bus: Option<&str>, args: BrowseArgs) -> Result<ExitCode, String> { async { let (iface, name) = args.on.resolve()?; let _advert = advertise(args.no_ble).await; let sender = Sender::new(sender::Config::new(name, random_service_id()?))?; - browse_receivers(&iface, &sender, Duration::from_secs(args.seconds), |r| { - println!("{:<14} {:?} ({})", r.instance, r.name, r.addr); - false - }) - .await?; + let limit = Duration::from_secs(args.seconds); + let deadline = tokio::time::Instant::now() + limit; + let lease = Lease::find(bus, &iface.name) + .await + .inspect_err(|e| eprintln!("not trying the radio's AWDL peers: {e}")) + .ok(); + let seen = std::cell::RefCell::new(std::collections::HashSet::new()); + let show = |r: &Listed| { + if seen.borrow_mut().insert(r.addr) { + println!("{:<14} {:?} ({})", r.instance, r.name, r.addr); + } + }; + let by_peers = async { + if let Some(lease) = &lease { + discover_peers(&iface, &sender, lease, deadline, |r| { + show(&r); + false + }) + .await; + } + }; + let (by_mdns, ()) = tokio::join!( + browse_receivers(&iface, &sender, limit, |r| { + show(r); + false + }), + by_peers + ); + // Without a lease, mDNS was the only way to find anyone. + match by_mdns { + Err(e) if lease.is_none() => return Err(e), + Err(e) => eprintln!("not browsing mDNS: {e}"), + Ok(()) => {} + } Ok(ExitCode::SUCCESS) } .await @@ -474,15 +504,40 @@ to: Option<&str>, deadline: tokio::time::Instant, ) -> io::Result<Listed> { - let mut tried = std::collections::HashSet::new(); + let mut found = None; let mut others = BTreeSet::new(); + discover_peers(iface, sender, lease, deadline, |r| { + if to.is_none_or(|t| same_name(t, &r.name) || t == r.instance) { + found = Some(r); + return true; + } + say_other(&mut others, to, &r.name); + false + }) + .await; + found.ok_or_else(|| io::Error::new(io::ErrorKind::TimedOut, no_peer(to, &others))) +} + +/// `/Discover` at each of the lease's AWDL peers until `deadline`, handing +/// each one that answers to `on_listed` once, until it says to stop. +async fn discover_peers( + iface: &Interface, + sender: &Sender, + lease: &Lease, + deadline: tokio::time::Instant, + mut on_listed: impl FnMut(Listed) -> bool, +) { + let mut tried = std::collections::HashSet::new(); + let mut answered = std::collections::HashSet::new(); while tokio::time::Instant::now() < deadline { for mac in lease.peers().await { + if answered.contains(&mac) { + continue; + } if tried.insert(mac) { eprintln!("trying AWDL peer {mac}"); } let addr = SocketAddrV6::new(mac.link_local(), AIRDROP_PORT, 0, iface.index); - let mac = mac.to_string(); // A peer that refuses fails at once; one that's silent mustn't // hold up the others for long. let wait = deadline @@ -492,23 +547,20 @@ else { continue; }; - if to.is_none_or(|t| same_name(t, &receiver.computer_name) || t == mac) { - return Ok(Listed { - instance: mac, - name: receiver.computer_name, - addr, - // UP-1b: no TXT to say, and Apple receivers take DVZip. - flags: RECEIVER_FLAGS | SUPPORTS_DVZIP, - }); + answered.insert(mac); + let listed = Listed { + instance: mac.to_string(), + name: receiver.computer_name, + addr, + // UP-1b: no TXT to say, and Apple receivers take DVZip. + flags: RECEIVER_FLAGS | SUPPORTS_DVZIP, + }; + if on_listed(listed) { + return; } - say_other(&mut others, to, &receiver.computer_name); } tokio::time::sleep(Duration::from_millis(500)).await; } - Err(io::Error::new( - io::ErrorKind::TimedOut, - no_peer(to, &others), - )) } /// Whether `to` is this name, with a straight and a curly apostrophe alike: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-cli/src/main.rs new/owly-0.4.3/crates/owly-cli/src/main.rs --- old/owly-0.4.2/crates/owly-cli/src/main.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-cli/src/main.rs 2026-11-11 19:49:04.000000000 +0100 @@ -95,7 +95,7 @@ Command::Radio(Radio::Peers) => radio::peers(bus).await, Command::Receive(args) => airdrop::receive(bus, args).await, Command::Send(args) => airdrop::send(bus, args).await, - Command::Browse(args) => airdrop::browse(args).await, + Command::Browse(args) => airdrop::browse(bus, args).await, Command::TestCard(args) => test_card::run(bus, args).await, Command::Capture(args) => capture::run(args).await, } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-cli/src/test_card.rs new/owly-0.4.3/crates/owly-cli/src/test_card.rs --- old/owly-0.4.2/crates/owly-cli/src/test_card.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-cli/src/test_card.rs 2026-11-11 19:49:04.000000000 +0100 @@ -6,9 +6,11 @@ //! alone, pings the gateway for a baseline, opens a window, waits for the //! phone, has the tester send a photo each way, closes the window, and then //! watches the station for the drop some drivers show after teardown. The -//! photos go through omdrop-core where it's installed (`omdrop on`, `omdrop -//! send`), whose hooks take the radio from owlyd; otherwise this takes the -//! radio itself, and runs this binary's own `owly receive` and `owly send`. +//! photos go through omdrop where it's installed (`omdrop on`, `omdrop +//! send`), whose hooks take the radio from owlyd, and the report says +//! whether omdrop-core or the Python implementation answered; otherwise this +//! takes the radio itself, and runs this binary's own `owly receive` and +//! `owly send`. //! //! The report names the card, the machine it's in, the driver, kernel, mode //! and each step's result and timing. It holds no MAC or IP address, the @@ -39,7 +41,7 @@ pub struct Args { /// How long to watch Wi-Fi after teardown, in seconds (0 skips the /// watch). - #[arg(long, default_value_t = 300)] + #[arg(long, default_value_t = 60)] watch: u32, /// What to send to the phone (default: a generated test image). #[arg(long)] @@ -66,8 +68,9 @@ status: Option<String>, mode: Option<String>, channel: Option<u64>, - /// How the photos went: `omdrop-core`, `owly` or `none`. - transfers: &'static str, + /// How the photos went: `owly`, `none`, or the omdrop implementation + /// that answered, such as `omdrop-core 0.1.7` or `omdrop 0.18.2`. + transfers: String, steps: Vec<Step>, wifi: Wifi, } @@ -148,7 +151,7 @@ kernel: read("/proc/sys/kernel/osrelease"), os: os_name(), machine: machine(), - transfers: "none", + transfers: "none".into(), ..Report::default() }; @@ -189,9 +192,9 @@ Path_::None }; report.transfers = match path { - Path_::Omdrop => "omdrop-core", - Path_::Owly(_) => "owly", - Path_::None => "none", + Path_::Omdrop => omdrop_implementation().await, + Path_::Owly(_) => "owly".into(), + Path_::None => "none".into(), }; let gateway = gateway(&station).await; @@ -427,6 +430,32 @@ .unwrap_or_default() } +/// Which implementation answers `omdrop` commands. omdrop runs the +/// Python one unless omdrop-core is installed and chosen, so a command on +/// PATH doesn't say: `omdrop version` adds an `omdrop-core` line for core. +async fn omdrop_implementation() -> String { + let out = Command::new("omdrop").arg("version").output().await; + implementation(&out.map_or_else( + |_| String::new(), + |o| String::from_utf8_lossy(&o.stdout).into_owned(), + )) +} + +/// `omdrop-core 0.1.7` where `omdrop version` lists core, else `omdrop +/// 0.18.2`, else `omdrop`. +fn implementation(version: &str) -> String { + let line = |name: &str| { + version + .lines() + .map(str::trim) + .find(|l| l.split_whitespace().next() == Some(name)) + }; + line("omdrop-core") + .or_else(|| line("omdrop")) + .unwrap_or("omdrop") + .to_string() +} + fn which(program: &str) -> bool { std::env::var_os("PATH") .is_some_and(|path| std::env::split_paths(&path).any(|d| d.join(program).is_file())) @@ -882,6 +911,14 @@ } #[test] + fn the_omdrop_implementation_comes_from_its_version() { + let core = "omdrop 0.18.2\nomdrop-core 0.1.7\n"; + assert_eq!(implementation(core), "omdrop-core 0.1.7"); + assert_eq!(implementation("omdrop 0.18.2\n"), "omdrop 0.18.2"); + assert_eq!(implementation(""), "omdrop"); + } + + #[test] fn a_program_is_found_off_path() { let nowhere = OsStr::new("/nonexistent"); let sh = Some(PathBuf::from("/bin/sh")); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-radio/Cargo.toml new/owly-0.4.3/crates/owly-radio/Cargo.toml --- old/owly-0.4.2/crates/owly-radio/Cargo.toml 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-radio/Cargo.toml 2026-11-11 19:49:04.000000000 +0100 @@ -12,7 +12,7 @@ [dependencies] crc32fast = "1" nix = { version = "0.31", default-features = false, features = ["fs", "net", "process", "signal", "socket", "time"] } -owly-awdl = { version = "0.4.2", path = "../owly-awdl", features = ["driver"] } +owly-awdl = { version = "0.4.3", path = "../owly-awdl", features = ["driver"] } serde = { version = "1", features = ["derive"] } serde_json = "1" tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "process", "rt", "sync", "time"] } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/crates/owly-radio/drivers.toml new/owly-0.4.3/crates/owly-radio/drivers.toml --- old/owly-0.4.2/crates/owly-radio/drivers.toml 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/crates/owly-radio/drivers.toml 2026-11-11 19:49:04.000000000 +0100 @@ -101,6 +101,15 @@ ] notes = "Intel Dual Band Wireless-AC 7265 (Zenbook UX305CA, 8086:095a, kernel 7.2.5)." +[devices."8086:24fb"] +status = "broken" +mode = "exclusive" +channels = [6] +issues = [ + "This Intel Wireless-AC 3168's firmware (3168-29) asserts on every ad-hoc start (https://github.com/t4t5/owly/issues/109).", +] +notes = "Intel Dual Band Wireless-AC 3168NGW (ASUS S2 Air Series PF4NU1F, 8086:24fb, kernel 6.18.55). The same assert as the 7265 (#16): ADVANCED_SYSASSERT 0x102C, data1 0x20A." + [devices."8086:24f3"] status = "broken" mode = "exclusive" @@ -127,6 +136,14 @@ ] notes = "Realtek RTL8822BE (Crosshair VII Hero, 10ec:b822, kernel 7.2.9). Shared mode is untried. The ad-hoc interface sits beside the station. EINVAL on 44 and 149, neither \"No IR\". The kernel logs \"failed to get tx report from firmware\" through the session. The station is back about 6 s after teardown and stayed up for the five minutes watched, without a forced reconnect." +[drivers.rtw88_8822bu] +status = "tested" +mode = "exclusive" +issues = [ + "In shared mode the phone never lists this computer, so nothing can be sent to it, though sending to the phone works and Wi-Fi stays up.", +] +notes = "Realtek RTL8812BU (USB, TP-Link Archer T3U Plus, 2357:0138, kernel 7.3.0), as a second card beside a connected built-in one. Exclusive mode on channel 44, where the ad-hoc cell starts on 5 GHz: both directions, and Wi-Fi back after teardown. Shared mode on channel 44, with the generic entry's reconnect: AWDL syncs, the phone answers pings over awdl0 and takes a send, but never opens a connection to this computer, after a phone restart too. The kernel logs \"failed to get tx report from firmware\" when the radio is given back." + [drivers.rtw88_8821au] status = "broken" mode = "exclusive" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/docs/SPEC.md new/owly-0.4.3/docs/SPEC.md --- old/owly-0.4.2/docs/SPEC.md 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/docs/SPEC.md 2026-11-11 19:49:04.000000000 +0100 @@ -88,12 +88,11 @@ | 1 | 3 | tag | rotates with the advertiser's BLE address (BLE-5) | | 4 | 4 | reserved | `00 × 4` | | 8 | 1 | version | `0x03` | -| 9 | 2 | Apple ID hash | first 2 bytes of SHA-256(Apple ID) | -| 11 | 2 | phone hash | first 2 bytes of SHA-256(phone) | -| 13 | 2 | email hash | first 2 bytes of SHA-256(email) | -| 15 | 2 | email 2 hash | first 2 bytes of SHA-256(second email) | +| 9 | 8 | contact hashes | four 2-byte hashes, each the first 2 bytes of SHA-256 of the sender's Apple ID, a phone number or an email address | | 17 | 1 | reserved | `0x00` | +The hashes are in no fixed order: a sender rotates them between advertisements with the same tag. A receiver that matches contacts MUST compare against every slot. + Version 1 has the same layout, with offsets 0–7 all zero and `0x01` at offset 8. **BLE-3** (sender) A sender with no Apple identity MAY send zero hashes. Everyone-mode receivers wake regardless of the hashes. Contacts Only receivers won't wake at all, so such a sender can never reach them. @@ -370,11 +369,11 @@ **TLS-1** All AirDrop HTTP runs over TLS 1.2 or 1.3. Endpoints MUST NOT offer TLS 1.0. No ALPN protocol is negotiated, and sessions aren't resumed. -**TLS-2** TLS provides encryption only, not peer authentication. Receivers accept self-signed certificates, don't check host names, and accept any TLS connection in every visibility mode, Contacts Only included. Identity is carried in the record (§7), not the TLS handshake. An implementation MUST present a certificate and MUST NOT reject a peer for being self-signed. +**TLS-2** TLS provides encryption only, not peer authentication. Receivers accept self-signed certificates, don't check host names, and accept any TLS connection in every visibility mode, Contacts Only included. Identity is carried in the record (§7); for the sender's client certificate, see TLS-3. An implementation MUST present a certificate and MUST NOT reject a peer for being self-signed. -**TLS-3** Senders don't present a TLS client certificate. A sender MUST NOT depend on one. A receiver MUST accept connections without one, and SHOULD accept them with one. +**TLS-3** Asked for a client certificate, a sender presents one on the connection that carries `/Ask` and `/Upload`, and none on the `/Discover` connection. It's a two-certificate chain: a leaf with subject `CN=com.apple.idms.appleid.prd.<account ID>` and extended key usages client and server authentication, issued by Apple Application Integration Certification Authority, and that intermediate, issued by Apple Root CA. Whether a receiver should check it isn't defined in this version. A sender MUST NOT depend on presenting one. A receiver MUST accept connections without one, and SHOULD accept them with one. -**HTTP-1** (connections) HTTP/1.1. `/Ask` and `/Upload` MUST share one TLS connection: a receiver rejects an `/Upload` on any other (UP-6). A sender sends `/Discover` on its own connection, closes it, and opens a new one for `/Ask` and `/Upload`. A receiver MUST also accept `/Discover` followed by `/Ask` on the same connection. +**HTTP-1** (connections) HTTP/1.1. `/Ask` and `/Upload` MUST share one TLS connection: a receiver rejects an `/Upload` on any other (UP-6). A sender sends `/Discover` on its own connection and opens a new one for `/Ask` and `/Upload`. It can leave the `/Discover` connection open, idle, and reset it about 30 s later. A receiver MUST also accept `/Discover` followed by `/Ask` on the same connection. **HTTP-2** All requests are `POST`. A sender SHOULD send `/Ask` with only these headers, and no `Host` or `Accept*`: @@ -438,8 +437,9 @@ | Key | Type | Req | Notes | |---|---|---|---| -| `StatusCode` | int | R | `100` = Everyone mode, `200` = sender matched a contact, `401` = Contacts Only and no match. | +| `StatusCode` | int | O | `100` = Everyone mode, `200` = sender matched a contact, `401` = Contacts Only and no match. A receiver can leave it out of a response that lists the sender. | | `ReceiverComputerName` | string | C | Display name. Present ⇔ the sender may see this receiver. | +| `IsAirDropable` | bool | O | `true` in a response that lists the sender. Not defined further in this version. | | `ReceiverModelName` | string | O | e.g. `MacBookPro18,1`. Senders choose the receiver's icon from it. | | `ReceiverMediaCapabilities` | data | O | UTF-8 **JSON** (not a plist), see DISC-3. | | `ReceiverRecordData` | data | O | Receiver's record (§7). Lets the sender show it as a contact. | @@ -500,13 +500,15 @@ | `BundleID` | string | R | Originating app, e.g. `com.apple.finder`. | | `ConvertMediaFormats` | bool | R | `false`: don't transcode. | | `SenderRecordData` | data | C | As in `/Discover`. | -| `SenderIdentityAuthTag` | data | O | 3 bytes. Not needed in Everyone mode. Its derivation isn't defined in this version. | -| `Files` | array\<dict\> | C | Required for a file share, see below. | +| `SenderIdentityAuthTag` | data | O | 3 bytes, different for each transfer, and not the BLE advertisement's tag (BLE-2). Not needed in Everyone mode. Its derivation isn't defined in this version. | +| `Files` | array\<dict\> | C | Required for a file share, see below. Empty with a link share. | | `Items` | array\<string\> | C | The URLs, for a link share. Empty with a file share. The legacy form omits it. | | `FileIcon` | data | O | Preview thumbnail, JPEG 2000, ≤ 540 px on the long side. | A request MUST carry a non-empty `Files` or a non-empty `Items`, not both. +A link share in the current form carries `TransferType` `{"links": {}}`, the URLs in `Items` and an empty `Files`, with `BundleID` naming the app it was shared from, such as `com.apple.mobilesafari`. It can carry a `FileIcon`. + **`Files[]` entry** | Key | Type | Req | Notes | @@ -514,7 +516,7 @@ | `FileName` | string | R | Base name. | | `FileType` | string | R | Uniform Type Identifier, e.g. `public.heic`, `public.jpeg`, `public.data` (fallback). Not a MIME type. | | `FileSize` | int | R (current) | Uncompressed size in bytes. | -| `FileBomPath` | string | R | Path inside the `/Upload` archive. MUST be `./<FileName>`: the `./` prefix is required. | +| `FileBomPath` | string | R | Path inside the `/Upload` archive: `./<FileName>`, or `./<folder>/<FileName>` for a regular file in a wrapper directory. The `./` prefix is required. | | `FileIsDirectory` | bool | R | | | `ShouldConvertMediaFormats` | bool | R (current) | `false`. | | `ConvertMediaFormats` | int | legacy | `0`. The legacy form's name for the field above. | @@ -528,15 +530,15 @@ **ASK-1** `200` means accepted. Any other status, a closed connection, or no response within the sender's timeout means declined or failed, and the sender MUST NOT send `/Upload`. -**ASK-2** (receiver) A receiver that prompts its user MUST hold the `/Ask` request open until the user answers or 15 s pass. On a decline, or its own timeout, a receiver SHOULD respond with a non-200 status such as `403` and close the connection, so the sender doesn't wait out its own timeout. Some receivers send no response to a decline. Senders handle either under ASK-1. +**ASK-2** (receiver) A receiver that prompts its user MUST hold the `/Ask` request open until the user answers or its own timeout passes. That timeout SHOULD be 15 s. Some receivers have none, and keep the prompt up until the sender gives up (ASK-2a). On a decline, or its own timeout, a receiver SHOULD respond with a non-200 status such as `401` or `403` and close the connection, so the sender doesn't wait out its own timeout. Some receivers send no response to a decline. Senders handle either under ASK-1. -**ASK-2a** (sender) A sender MUST time out an unanswered `/Ask` and treat it as declined. The timeout MUST be longer than 15 s, so that a slow user isn't cut off before the receiver gives up. +**ASK-2a** (sender) A sender MUST time out an unanswered `/Ask` and treat it as declined. The timeout MUST be longer than 15 s, so that a slow user isn't cut off before the receiver gives up. Senders wait about 45 s, then reset the connection and report the transfer as declined. **ASK-3** (receiver) A receiver MUST NOT accept without prompting unless the user has configured it to. **ASK-4** (sender) For a link share, the sender MUST NOT send `/Upload`. The share is complete when `/Ask` returns `200`. -**ASK-5** (receiver) A receiver MUST treat every `FileName` and `FileBomPath` as untrusted (SEC-1). It MUST refuse an `/Ask` whose `FileBomPath` isn't `./<FileName>`, so that the file written is the one the prompt names. +**ASK-5** (receiver) A receiver MUST treat every `FileName` and `FileBomPath` as untrusted (SEC-1). It MUST refuse an `/Ask` whose `FileBomPath` isn't `./<FileName>` or, for a regular file, `./<folder>/<FileName>`. The wrapper MUST be exactly one safe path component. The file written MUST have the name shown by the prompt. **ASK-6** Receivers accept without prompting when the sender's record verifies as the receiver's own Apple ID (§7). No field of the request can claim this. @@ -556,9 +558,11 @@ Content-Length: 76166 ``` +A sender can also send `SenderPseudonym` (`pseud:` and base64) and `SenderPushToken` (64 hex digits). What they're for isn't defined in this version. + **UP-1** `Content-Type` is `application/x-dvzip` (DVZip, §6.6) or `application/x-cpio` (gzip). -**UP-1a** The body is sent either with `Content-Length` or with `Transfer-Encoding: chunked`. A receiver MUST accept both. A sender SHOULD use `Content-Length`. +**UP-1a** The body is sent either with `Content-Length` or with `Transfer-Encoding: chunked`. A receiver MUST accept both. Senders use both. **UP-1b** (sender) A sender that doesn't know the receiver's TXT flags, such as one that found the receiver under DISC-5, SHOULD send DVZip. @@ -569,11 +573,13 @@ | Entry | Mode | Notes | |---|---|---| | `.` | `040755` (directory) | Root entry. Earlier senders leave it out. | -| `./<FileName>` | `0100644` (regular file) | One per `Files[]` entry. The name equals its `FileBomPath`. | +| `<FileBomPath>` | `0100644` (regular file) | One per `Files[]` entry, not necessarily in the order of `Files`. | | `TRAILER!!!` | `0` | Terminator. | A sender MUST send the `.` root entry. A receiver MUST accept archives with and without it. +For the wrapped regular-file form in ASK-5, the archive MAY include a `./<folder>` directory entry before the file. The receiver MUST save the file as `<FileName>` without retaining the wrapper directory. + **UP-3** (receiver) A receiver MUST answer `Expect: 100-continue` with `100 Continue`. Senders send it when the receiver doesn't advertise SupportsPipelining. **UP-4** (receiver) A `Content-Type` other than the two in UP-1 → `406`, with `Connection: close`. @@ -582,7 +588,7 @@ **UP-6** (receiver) A receiver MUST reject an upload that doesn't follow an accepted `/Ask` on the same connection. -**UP-7** (receiver) A receiver MUST reject archive entries that aren't listed in the accepted `/Ask`. +**UP-7** (receiver) A receiver MUST reject archive entries that aren't listed in the accepted `/Ask`, except for the wrapper directory entries in UP-2a and the metadata in UP-7a. **UP-7a** (receiver) A sender can add AppleDouble members, named `._<name>`, that hold a file's metadata and aren't listed in the `/Ask`. A receiver SHOULD accept a `._<name>` member next to a listed item, or inside a listed directory, rather than reject the archive under UP-7, and MAY discard it. @@ -590,7 +596,7 @@ **UP-9** The `TransferID` header MUST equal `TransferID.id` from the `/Ask`. A receiver SHOULD reject an upload whose `TransferID` header doesn't match. It MUST accept an upload with no `TransferID` header when the `/Ask` used the legacy form. -**UP-10** A sender SHOULD send `TotalBytes: 0`, not the real size. A receiver MUST NOT rely on `TotalBytes`. +**UP-10** `TotalBytes` is the sum of the files' `FileSize`, or `0`. A receiver MUST NOT rely on it. **UP-11** (receiver) An upload is complete when the archive's `TRAILER!!!` entry has been read, whether or not the rest of the body, such as a chunked body's terminating zero-length chunk, has arrived. A receiver MUST then respond as UP-5 says rather than wait for the body to end. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/docs/implementation.md new/owly-0.4.3/docs/implementation.md --- old/owly-0.4.2/docs/implementation.md 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/docs/implementation.md 2026-11-11 19:49:04.000000000 +0100 @@ -33,7 +33,7 @@ **OWLY-2** (SHOULD) A node SHOULD send each valid peer an ICMPv6 echo request, link-local to link-local, every 3 s, which makes Apple peers learn its neighbor entry. Its replies need not reach the IP stack. -- **Finding a receiving iPhone (DISC-5):** an iPhone's mDNS doesn't reach a Linux node's `awdl0`, so Owly's sender also tries `/Discover` at each AWDL peer while it advertises over BLE, and keeps trying until the phone wakes. +- **Finding a receiving iPhone (DISC-5):** an iPhone's mDNS doesn't reach a Linux node's `awdl0`, so Owly's sender also tries `/Discover` at each AWDL peer while it advertises over BLE, and keeps trying until the phone wakes. `owly browse` does the same when owlyd has the radio up. - **Early SYNs (AWDL-18):** `owly-awdl` hands packets to the kernel's IP stack, whose SYN-ACK would wait on neighbor discovery, which AWDL doesn't carry. So it holds the SYN until the peer's neighbor entry exists. - **MAC address (AWDL-2):** if udev or NetworkManager rewrites `awdl0`'s MAC address, peers connect to an address the interface doesn't have. `owly-radio` pins it for the session. - **Firewall (NET-4):** host firewalls must let TCP `8771` in from `fe80::/10` on `awdl0`. `owly-radio`'s probe warns when ufw is on, `omdrop firewall install` adds the rule, and the NixOS module opens the port. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/docs/open-questions.md new/owly-0.4.3/docs/open-questions.md --- old/owly-0.4.2/docs/open-questions.md 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/docs/open-questions.md 2026-11-11 19:49:04.000000000 +0100 @@ -4,18 +4,18 @@ 1. How phone numbers and email addresses are normalized before hashing (BLE-4). 2. What byte 0 (`0x40`) and the 3-byte tag of a version 3 BLE advertisement mean, and whether version 1 still wakes current iPhones (BLE-2, BLE-5). -3. The HTTP status of a `401` `/Discover` response, and whether `StatusCode` is always present (DISC-2). +3. The HTTP status of a `401` `/Discover` response (DISC-2). 4. Which flag bit is pipelined upload. Analysis of `sharingd` names a SupportsUPP bit "0xb", and gives `0x3FB` as an example of it, which has neither `0x004` nor `0x800` set (MDNS-4). -5. What a receiver sends after its own 15 s `/Ask` timeout. iOS sends no response to a decline (ASK-2). +5. Whether macOS receivers time out an unanswered `/Ask`, and what they send then. iOS has no timeout of its own, and answers a decline with `401` (ASK-2). 6. `TransferVersion`'s type and values, and what they unlock. It's said to gate DVZip and pipelined upload (§6.3). -7. The validation record's key names, and whether it also binds to the TLS certificate (ID-2). +7. The validation record's key names, and whether it binds to the account the sender's TLS client certificate names (ID-2, TLS-3). 8. What `/SharedIdentity` and `/Error` do, and whether a receiver must serve them for current senders (HTTP-4). 9. The other keys, about 24, that Apple receivers publish in TXT, and whether any matter to Apple senders (MDNS-1). 10. Whether an identity extracted from the user's own Mac gets accepted without a prompt on their iPhone (ASK-6). 11. The layouts of the Service Response (2), Sync Tree (20) and Bloom Filter (22) TLVs (AWDL-6). The Service Response TLV would let a receiver skip the bursts of MDNS-7, and may be why an iPhone's mDNS doesn't reach a Linux node (DISC-5). -12. What an Apple sender sends in `/Ask` for a link share. `TransferType` `{"links": {}}` with the URLs in `Items` and an empty `Files` is accepted by iOS 26.7.1, but hasn't been captured from an Apple sender (§6.4). -13. What `SenderIdentityAuthTag` is, and whether Contacts Only receivers need it (§6.4). -14. What `IDSSessionID` and `ReceiverPseudonym` in the `/Discover` response are for (§6.3). +12. *Settled* (§6.4). +13. What `SenderIdentityAuthTag` is, and whether Contacts Only receivers need it. It changes with each transfer, and isn't the BLE advertisement's tag (§6.4). +14. What `IDSSessionID` and `ReceiverPseudonym` in the `/Discover` response, and `SenderPseudonym` and `SenderPushToken` in `/Upload`, are for (§6.3, §6.5). 15. Whether macOS receivers require the current `/Ask` form too (ASK-7). 16. Whether Apple peers need the ICMPv6 echo of OWLY-2 to learn a node's neighbor entry, or something else Owly does already teaches them. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/hardware/cards.toml new/owly-0.4.3/hardware/cards.toml --- old/owly-0.4.2/hardware/cards.toml 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/hardware/cards.toml 2026-11-11 19:49:04.000000000 +0100 @@ -93,6 +93,13 @@ tested_on = ["USB adapter, `35bc:0108`, NixOS 26.05 (kernel 7.2.9)"] [[card]] +name = "Realtek RTL8812BU (USB)" +driver = "rtw88_8822bu" +ids = ["2357:0138"] +status = "✅ Exclusive" +tested_on = [] + +[[card]] name = "Qualcomm Atheros AR9287" driver = "ath9k" ids = ["168c:002e"] @@ -216,6 +223,13 @@ tested_on = ["Zenbook UX305CA, `8086:095a`, Omarchy 4.0.4 (kernel 7.2.5)"] [[card]] +name = "Intel Dual Band Wireless-AC 3168" +driver = "iwlwifi" +ids = ["8086:24fb"] +status = "❌ Exclusive: firmware asserts on every ad-hoc start, like the 7265 ([#109](https://github.com/t4t5/owly/issues/109))" +tested_on = ["ASUS S2 Air Series PF4NU1F, `8086:24fb`, EndeavourOS (kernel 6.18.55)"] + +[[card]] name = "Intel Wireless-AC 8260" driver = "iwlwifi" ids = ["8086:24f3"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/hardware/reports/owly-test-rtw88_8822bu-1793726881.json new/owly-0.4.3/hardware/reports/owly-test-rtw88_8822bu-1793726881.json --- old/owly-0.4.2/hardware/reports/owly-test-rtw88_8822bu-1793726881.json 1970-01-01 01:00:00.000000000 +0100 +++ new/owly-0.4.3/hardware/reports/owly-test-rtw88_8822bu-1793726881.json 2026-11-11 19:49:04.000000000 +0100 @@ -0,0 +1,79 @@ +{ + "owly": "0.4.2", + "time": 1793726881, + "kernel": "7.3.0-1-default", + "os": "openSUSE Tumbleweed", + "machine": "ASUSTeK COMPUTER INC. ASUS Vivobook 14 X1404VAPBF_X1404VA", + "driver": "rtw88_8822bu", + "device": "2357:0138", + "status": "untested", + "mode": "shared", + "channel": 44, + "transfers": "owly", + "steps": [ + { + "step": "probe", + "result": "pass", + "detail": "ready" + }, + { + "step": "NetworkManager", + "result": "pass", + "detail": "leaves Owly's interfaces alone" + }, + { + "step": "baseline", + "result": "pass", + "detail": "10/10 replies" + }, + { + "step": "start", + "result": "pass", + "ms": 38 + }, + { + "step": "phone heard", + "result": "pass" + }, + { + "step": "shown on the phone", + "result": "fail" + }, + { + "step": "phone -> computer", + "result": "fail" + }, + { + "step": "computer -> phone", + "result": "pass", + "ms": 4891 + }, + { + "step": "stop", + "result": "pass", + "ms": 4332 + }, + { + "step": "Wi-Fi after teardown", + "result": "pass", + "detail": "300/300 replies, longest gap 0 s" + } + ], + "wifi": { + "baseline": { + "sent": 10, + "received": 10, + "longest_gap_s": 0 + }, + "window": { + "sent": 171, + "received": 171, + "longest_gap_s": 0 + }, + "after": { + "sent": 300, + "received": 300, + "longest_gap_s": 0 + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/hardware/reports/owly-test-rtw88_8822bu-1793727382.json new/owly-0.4.3/hardware/reports/owly-test-rtw88_8822bu-1793727382.json --- old/owly-0.4.2/hardware/reports/owly-test-rtw88_8822bu-1793727382.json 1970-01-01 01:00:00.000000000 +0100 +++ new/owly-0.4.3/hardware/reports/owly-test-rtw88_8822bu-1793727382.json 2026-11-11 19:49:04.000000000 +0100 @@ -0,0 +1,79 @@ +{ + "owly": "0.4.2", + "time": 1793727382, + "kernel": "7.3.0-1-default", + "os": "openSUSE Tumbleweed", + "machine": "ASUSTeK COMPUTER INC. ASUS Vivobook 14 X1404VAPBF_X1404VA", + "driver": "rtw88_8822bu", + "device": "2357:0138", + "status": "untested", + "mode": "exclusive", + "channel": 44, + "transfers": "owly", + "steps": [ + { + "step": "probe", + "result": "pass", + "detail": "ready" + }, + { + "step": "NetworkManager", + "result": "pass", + "detail": "leaves Owly's interfaces alone" + }, + { + "step": "baseline", + "result": "pass", + "detail": "10/10 replies" + }, + { + "step": "start", + "result": "pass", + "ms": 1301 + }, + { + "step": "phone heard", + "result": "pass" + }, + { + "step": "shown on the phone", + "result": "pass" + }, + { + "step": "phone -> computer", + "result": "pass" + }, + { + "step": "computer -> phone", + "result": "pass", + "ms": 6138 + }, + { + "step": "stop", + "result": "pass", + "ms": 6255 + }, + { + "step": "Wi-Fi after teardown", + "result": "pass", + "detail": "299/300 replies, longest gap 1 s" + } + ], + "wifi": { + "baseline": { + "sent": 10, + "received": 10, + "longest_gap_s": 0 + }, + "window": { + "sent": 0, + "received": 0, + "longest_gap_s": 0 + }, + "after": { + "sent": 300, + "received": 299, + "longest_gap_s": 1 + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/packaging/arch/omdrop-owl/PKGBUILD new/owly-0.4.3/packaging/arch/omdrop-owl/PKGBUILD --- old/owly-0.4.2/packaging/arch/omdrop-owl/PKGBUILD 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/packaging/arch/omdrop-owl/PKGBUILD 2026-11-11 19:49:04.000000000 +0100 @@ -18,7 +18,7 @@ # workspace version in Cargo.toml, and pkgver here, in owly's and in # omdrop-owl-bin's with it, publishes it (.github/workflows/release.yml). pkgname=omdrop-owl -pkgver=0.4.2 +pkgver=0.4.3 pkgrel=1 pkgdesc="AirDrop radio backend for Omdrop on non-Broadcom Wi-Fi, on Owly" arch=('x86_64' 'aarch64') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/packaging/arch/omdrop-owl-bin/PKGBUILD new/owly-0.4.3/packaging/arch/omdrop-owl-bin/PKGBUILD --- old/owly-0.4.2/packaging/arch/omdrop-owl-bin/PKGBUILD 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/packaging/arch/omdrop-owl-bin/PKGBUILD 2026-11-11 19:49:04.000000000 +0100 @@ -12,7 +12,7 @@ # version, so bump pkgver with theirs. Change it in # packaging/arch/omdrop-owl-bin in https://github.com/t4t5/owly. pkgname=omdrop-owl-bin -pkgver=0.4.2 +pkgver=0.4.3 pkgrel=1 pkgdesc="AirDrop radio backend for Omdrop on non-Broadcom Wi-Fi, on Owly (prebuilt)" arch=('x86_64') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/packaging/arch/owly/PKGBUILD new/owly-0.4.3/packaging/arch/owly/PKGBUILD --- old/owly-0.4.2/packaging/arch/owly/PKGBUILD 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/packaging/arch/owly/PKGBUILD 2026-11-11 19:49:04.000000000 +0100 @@ -11,7 +11,7 @@ # workspace version in Cargo.toml, and pkgver here, in omdrop-owl's and in # omdrop-owl-bin's with it, publishes it (.github/workflows/release.yml). pkgname=owly -pkgver=0.4.2 +pkgver=0.4.3 pkgrel=1 pkgdesc="AirDrop's Wi-Fi radio on Linux: AWDL in userspace, the owlyd radio service, and the owly CLI" arch=('x86_64' 'aarch64') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/owly-0.4.2/xtask/src/hardware.rs new/owly-0.4.3/xtask/src/hardware.rs --- old/owly-0.4.2/xtask/src/hardware.rs 2026-10-31 09:37:39.000000000 +0100 +++ new/owly-0.4.3/xtask/src/hardware.rs 2026-11-11 19:49:04.000000000 +0100 @@ -369,7 +369,10 @@ } let mut chosen: Vec<_> = seen.into_values().collect(); chosen.sort_by_key(|r| r.time); - lines.extend(chosen.into_iter().map(machine_line)); + // Name the mode only where the reports differ in it. + let modes: BTreeSet<_> = chosen.iter().map(|r| r.mode.as_deref()).collect(); + let with_mode = modes.len() > 1; + lines.extend(chosen.into_iter().map(|r| machine_line(r, with_mode))); } match lines.len() { 0 => "—".into(), @@ -382,8 +385,9 @@ } } -/// `XPS 13, `8086:51f0`, Arch Linux (kernel 7.2.5)`, with what didn't work. -fn machine_line(r: &Report) -> String { +/// `XPS 13, `8086:51f0`, Arch Linux (kernel 7.2.5)`, with the mode if +/// `with_mode` and what didn't work. +fn machine_line(r: &Report, with_mode: bool) -> String { let mut parts = Vec::new(); if let Some(m) = r .machine @@ -404,6 +408,9 @@ (true, false) => parts.push(format!("kernel {kernel}")), (true, true) => {} } + if let Some(mode) = r.mode.as_deref().filter(|_| with_mode) { + parts.push(mode_name(mode).to_lowercase()); + } let mut line = parts.join(", "); match r.verdict() { Verdict::Pass => {} @@ -695,6 +702,14 @@ } #[test] + fn reports_in_different_modes_say_which() { + let mut shared = report("8086:51f1", "iwlwifi", 2, FAIL); + shared.mode = Some("shared".into()); + let t = render(vec![report("8086:51f1", "iwlwifi", 1, PASS), shared]).unwrap(); + assert!(t.contains("<br>• Dell XPS 13, `8086:51f1`, Arch Linux (kernel 7.2.5), exclusive<br>• Dell XPS 13, `8086:51f1`, Arch Linux (kernel 7.2.5), shared: fails at \"phone heard\" |"), "{t}"); + } + + #[test] fn opt_in_and_partial_link_issues() { let mut r = report("14c3:7961", "mt7921e", 1, &[("phone -> computer", "pass")]); r.mode = Some("active-monitor".into()); ++++++ owly.obsinfo ++++++ --- /var/tmp/diff_new_pack.ZFSt76/_old 2026-11-23 12:29:21.894759531 +0100 +++ /var/tmp/diff_new_pack.ZFSt76/_new 2026-11-23 12:29:21.905759994 +0100 @@ -1,5 +1,5 @@ name: owly -version: 0.4.2 -mtime: 1793435859 -commit: 0f2ca4087e6d938d823e76c856fcd04d0a0162b6 +version: 0.4.3 +mtime: 1794422944 +commit: 21171d8f9a08bfa2c625a1fa338e877a67913e54 ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/owly/vendor.tar.zst /work/SRC/openSUSE:Factory/.owly.new.1340718/vendor.tar.zst differ: char 7, line 1
