Files
libfreemkv/tests/goldens/parity_image_bd_missing_key.golden
Matthew Jackson af62d6d5d8 keys: trust the declared CPS units instead of probing every stream file
1.8.0 read up to 32 units from every stream file before asking any key
source: 1,472 random reads (~95 s over USB) on a 46-file UHD that declares
one CPS unit, answered by one keyserver request.

One declared unit: the main title's samples ask once and the key that
opens them keys every file. Several: one encrypted unit per file, then
each unopened unit asks with 8 of its own units; one answer may open many
files. A source answering no key is not asked again, and a disc no key
opens is refused at once (blanked in a whole-disc copy) rather than
probed. Discs with an FMTS layout in scope keep the probed path.

Key acquisition also logs its phase timings.
2026-10-07 03:31:29 -07:00

21 lines
1.3 KiB
Plaintext

resolve-whole status = KeySetStatus { proven: 1, declared: Some(2), keyed: 1, clear: 0, lazy: 1, forensic: None, origin: Some("keydb"), best_effort: false, requests: 1 }
copy written = 8466432
copy image = 8466432 bytes sha256:f2dcc9c4d4d4139e9d6efdbdccb5718c
copy blanked = 6
extract result = good=36864 unreadable=36864 complete=false halted=false files=[("BDMV/STREAM/00001.m2ts", 36864, 0, true), ("BDMV/STREAM/00002.m2ts", 0, 36864, true)]
extract out BDMV/STREAM/00001.m2ts = 36864 bytes sha256:368a55d7eca3e25f6af377a6f1aec041
extract out BDMV/STREAM/00002.m2ts = 36864 bytes sha256:1c0273095382988333e2f2b5ae487cea
copy-raw written = 8466432
copy-raw image = 8466432 bytes sha256:f0856c74bf5c9f7b6822186cafcaf1d6
extract-raw result = good=73728 unreadable=0 complete=true halted=false files=[("BDMV/STREAM/00001.m2ts", 36864, 0, true), ("BDMV/STREAM/00002.m2ts", 36864, 0, true)]
extract-raw out BDMV/STREAM/00001.m2ts = 36864 bytes sha256:375559f987f4f85e585d39abe6eb12fa
extract-raw out BDMV/STREAM/00002.m2ts = 36864 bytes sha256:2d895155c02331f792c4fca0bfb881ea
resolve-title = refused E7022
iso-mkv refused = E7022
iso-m2ts refused = E7022
iso-null refused = E7022
iso-mkv-raw refused = E6008
iso-mkv-selection refused = E7022
live-mkv refused = E7022
live-mkv-raw refused = E6008