실제 작업자의 암호 요청과 암호 ZIP 생성 옵션을 화면에 연결함
- 작성자
- 호시노 히나타
- 작성 시각
- 커밋
da21a845ed7ff5a58b542feaccc12cb5adf07eec- 부모
- 4160fcc
변경된 파일 8개
+491-30| @@ -116,6 +116,18 @@ version = "2.0.1" | ||
| 116 | 116 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 117 | 117 | checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" |
| 118 | 118 | |
| 119 | 추가: [[package]] | |
| 120 | 추가: name = "aes" | |
| 121 | 추가: version = "0.8.4" | |
| 122 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 123 | 추가: checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" | |
| 124 | 추가: dependencies = [ | |
| 125 | 추가: "cfg-if", | |
| 126 | 추가: "cipher", | |
| 127 | 추가: "cpufeatures", | |
| 128 | 추가: "zeroize", | |
| 129 | 추가: ] | |
| 130 | 추가: | |
| 119 | 131 | [[package]] |
| 120 | 132 | name = "ahash" |
| 121 | 133 | version = "0.8.12" |
| @@ -555,6 +567,16 @@ dependencies = [ | ||
| 555 | 567 | "libc", |
| 556 | 568 | ] |
| 557 | 569 | |
| 570 | 추가: [[package]] | |
| 571 | 추가: name = "cipher" | |
| 572 | 추가: version = "0.4.4" | |
| 573 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 574 | 추가: checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" | |
| 575 | 추가: dependencies = [ | |
| 576 | 추가: "crypto-common", | |
| 577 | 추가: "inout", | |
| 578 | 추가: ] | |
| 579 | 추가: | |
| 558 | 580 | [[package]] |
| 559 | 581 | name = "clipboard-win" |
| 560 | 582 | version = "5.4.3" |
| @@ -704,6 +726,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | ||
| 704 | 726 | dependencies = [ |
| 705 | 727 | "block-buffer", |
| 706 | 728 | "crypto-common", |
| 729 | 추가: "subtle", | |
| 707 | 730 | ] |
| 708 | 731 | |
| 709 | 732 | [[package]] |
| @@ -1398,6 +1421,15 @@ version = "0.4.3" | ||
| 1398 | 1421 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1399 | 1422 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" |
| 1400 | 1423 | |
| 1424 | 추가: [[package]] | |
| 1425 | 추가: name = "hmac" | |
| 1426 | 추가: version = "0.12.1" | |
| 1427 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1428 | 추가: checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" | |
| 1429 | 추가: dependencies = [ | |
| 1430 | 추가: "digest", | |
| 1431 | 추가: ] | |
| 1432 | 추가: | |
| 1401 | 1433 | [[package]] |
| 1402 | 1434 | name = "image" |
| 1403 | 1435 | version = "0.25.10" |
| @@ -1422,6 +1454,15 @@ dependencies = [ | ||
| 1422 | 1454 | "hashbrown 0.17.1", |
| 1423 | 1455 | ] |
| 1424 | 1456 | |
| 1457 | 추가: [[package]] | |
| 1458 | 추가: name = "inout" | |
| 1459 | 추가: version = "0.1.4" | |
| 1460 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1461 | 추가: checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" | |
| 1462 | 추가: dependencies = [ | |
| 1463 | 추가: "generic-array", | |
| 1464 | 추가: ] | |
| 1465 | 추가: | |
| 1425 | 1466 | [[package]] |
| 1426 | 1467 | name = "itertools" |
| 1427 | 1468 | version = "0.15.0" |
| @@ -2147,6 +2188,16 @@ version = "0.1.1" | ||
| 2147 | 2188 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2148 | 2189 | checksum = "73072a9470554c8e794778acece2312661218aaabb635600957d952cf01c716e" |
| 2149 | 2190 | |
| 2191 | 추가: [[package]] | |
| 2192 | 추가: name = "pbkdf2" | |
| 2193 | 추가: version = "0.12.2" | |
| 2194 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 2195 | 추가: checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" | |
| 2196 | 추가: dependencies = [ | |
| 2197 | 추가: "digest", | |
| 2198 | 추가: "hmac", | |
| 2199 | 추가: ] | |
| 2200 | 추가: | |
| 2150 | 2201 | [[package]] |
| 2151 | 2202 | name = "peniko" |
| 2152 | 2203 | version = "0.6.1" |
| @@ -2588,6 +2639,17 @@ dependencies = [ | ||
| 2588 | 2639 | "syn 3.0.10", |
| 2589 | 2640 | ] |
| 2590 | 2641 | |
| 2642 | 추가: [[package]] | |
| 2643 | 추가: name = "sha1" | |
| 2644 | 추가: version = "0.10.7" | |
| 2645 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 2646 | 추가: checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" | |
| 2647 | 추가: dependencies = [ | |
| 2648 | 추가: "cfg-if", | |
| 2649 | 추가: "cpufeatures", | |
| 2650 | 추가: "digest", | |
| 2651 | 추가: ] | |
| 2652 | 추가: | |
| 2591 | 2653 | [[package]] |
| 2592 | 2654 | name = "sha2" |
| 2593 | 2655 | version = "0.10.9" |
| @@ -3952,7 +4014,13 @@ dependencies = [ | ||
| 3952 | 4014 | name = "zipelo-archive-worker" |
| 3953 | 4015 | version = "0.1.0" |
| 3954 | 4016 | dependencies = [ |
| 4017 | 추가: "aes", | |
| 4018 | 추가: "hmac", | |
| 4019 | 추가: "pbkdf2", | |
| 4020 | 추가: "sha1", | |
| 3955 | 4021 | "sha2", |
| 4022 | 추가: "subtle", | |
| 4023 | 추가: "zeroize", | |
| 3956 | 4024 | "zlib-rs", |
| 3957 | 4025 | ] |
| 3958 | 4026 |
| @@ -11,6 +11,8 @@ pub struct ArchiveApp { | ||
| 11 | 11 | sources: String, |
| 12 | 12 | zip_output: String, |
| 13 | 13 | password: String, |
| 14 | 추가: password_challenge: Option<u64>, | |
| 15 | 추가: aes256: bool, | |
| 14 | 16 | create: bool, |
| 15 | 17 | open: bool, |
| 16 | 18 | selected_only: bool, |
| @@ -28,6 +30,8 @@ impl ArchiveApp { | ||
| 28 | 30 | sources: String::new(), |
| 29 | 31 | zip_output: String::new(), |
| 30 | 32 | password: String::new(), |
| 33 | 추가: password_challenge: None, | |
| 34 | 추가: aes256: false, | |
| 31 | 35 | create: false, |
| 32 | 36 | open: false, |
| 33 | 37 | selected_only: false, |
| @@ -39,8 +43,12 @@ impl ArchiveApp { | ||
| 39 | 43 | } |
| 40 | 44 | app |
| 41 | 45 | } |
| 46 | 추가: fn clear_password(&mut self) { | |
| 47 | 추가: let mut bytes = std::mem::take(&mut self.password).into_bytes(); | |
| 48 | 추가: bytes.fill(0); | |
| 49 | 추가: } | |
| 42 | 50 | pub fn open_path(&mut self, archive: PathBuf) { |
| 43 | 삭제: self.password.clear(); | |
| 51 | 추가: self.clear_password(); | |
| 44 | 52 | self.model |
| 45 | 53 | .begin(Start::List { archive }, self.factory.as_mut()); |
| 46 | 54 | } |
| @@ -65,9 +73,12 @@ impl ArchiveApp { | ||
| 65 | 73 | impl ArchiveApp { |
| 66 | 74 | pub fn show(&mut self, root: &mut egui::Ui) { |
| 67 | 75 | self.model.poll(); |
| 68 | 삭제: if self.model.challenge.is_none() { | |
| 69 | 삭제: self.password.clear(); | |
| 76 | 추가: let challenge = self.model.challenge.map(|(id, _, _)| id); | |
| 77 | 추가: let new_challenge = challenge != self.password_challenge; | |
| 78 | 추가: if new_challenge || challenge.is_none() { | |
| 79 | 추가: self.clear_password(); | |
| 70 | 80 | } |
| 81 | 추가: self.password_challenge = challenge; | |
| 71 | 82 | let ctx = root.ctx().clone(); |
| 72 | 83 | let dropped = ctx.input(|i| { |
| 73 | 84 | i.raw |
| @@ -104,7 +115,7 @@ impl ArchiveApp { | ||
| 104 | 115 | .add_enabled(self.model.busy(), egui::Button::new("취소 요청")) |
| 105 | 116 | .clicked() |
| 106 | 117 | { |
| 107 | 삭제: self.password.clear(); | |
| 118 | 추가: self.clear_password(); | |
| 108 | 119 | self.model.cancel(); |
| 109 | 120 | } |
| 110 | 121 | }); |
| @@ -267,7 +278,7 @@ impl ArchiveApp { | ||
| 267 | 278 | ui.selectable_value(&mut self.method, Method::Deflate, "압축"); |
| 268 | 279 | ui.selectable_value(&mut self.method, Method::Store, "묶기"); |
| 269 | 280 | }); |
| 270 | 삭제: ui.label("암호 ZIP 생성은 작업자 지원 후 활성화됩니다"); | |
| 281 | 추가: ui.checkbox(&mut self.aes256, "암호로 보호"); | |
| 271 | 282 | if ui.button("ZIP 만들기").clicked() { |
| 272 | 283 | let sources = self |
| 273 | 284 | .sources |
| @@ -287,7 +298,7 @@ impl ArchiveApp { | ||
| 287 | 298 | sources, |
| 288 | 299 | output_file: self.zip_output.clone().into(), |
| 289 | 300 | method: self.method, |
| 290 | 삭제: aes256: false, | |
| 301 | 추가: aes256: self.aes256, | |
| 291 | 302 | }, |
| 292 | 303 | self.factory.as_mut(), |
| 293 | 304 | ) { |
| @@ -308,12 +319,23 @@ impl ArchiveApp { | ||
| 308 | 319 | }) |
| 309 | 320 | .collapsible(false) |
| 310 | 321 | .show(&ctx, |ui| { |
| 311 | 삭제: ui.label(format!("암호 입력 요청 {attempt}")); | |
| 322 | 추가: ui.label(if encrypt { | |
| 323 | 추가: "사용할 암호를 입력하세요" | |
| 324 | 추가: } else if attempt > 1 { | |
| 325 | 추가: "암호가 맞지 않습니다. 다시 입력하세요" | |
| 326 | 추가: } else { | |
| 327 | 추가: "암호를 입력하세요" | |
| 328 | 추가: }); | |
| 329 | 추가: ui.label("암호"); | |
| 312 | 330 | let edit = ui.add( |
| 313 | 331 | egui::TextEdit::singleline(&mut self.password) |
| 314 | 332 | .password(true) |
| 333 | 추가: .id(egui::Id::new("archive-password-input")) | |
| 315 | 334 | .char_limit(1024), |
| 316 | 335 | ); |
| 336 | 추가: if new_challenge { | |
| 337 | 추가: edit.request_focus(); | |
| 338 | 추가: } | |
| 317 | 339 | if ui.button("암호 전달").clicked() |
| 318 | 340 | || (edit.lost_focus() && ui.input(|i| i.key_pressed(egui::Key::Enter))) |
| 319 | 341 | { |
| @@ -321,7 +343,7 @@ impl ArchiveApp { | ||
| 321 | 343 | self.model.password(text); |
| 322 | 344 | } |
| 323 | 345 | if ui.button("작업 취소").clicked() { |
| 324 | 삭제: self.password.clear(); | |
| 346 | 추가: self.clear_password(); | |
| 325 | 347 | self.model.cancel(); |
| 326 | 348 | } |
| 327 | 349 | }); |
| @@ -381,3 +403,9 @@ impl eframe::App for ArchiveApp { | ||
| 381 | 403 | self.show(root); |
| 382 | 404 | } |
| 383 | 405 | } |
| 406 | 추가: | |
| 407 | 추가: impl Drop for ArchiveApp { | |
| 408 | 추가: fn drop(&mut self) { | |
| 409 | 추가: self.clear_password(); | |
| 410 | 추가: } | |
| 411 | 추가: } |
| @@ -53,10 +53,12 @@ pub enum Start { | ||
| 53 | 53 | pub struct Secret(Vec<u8>); |
| 54 | 54 | impl Secret { |
| 55 | 55 | pub fn new(text: String) -> Result<Self, &'static str> { |
| 56 | 삭제: if text.is_empty() || text.len() > 1024 { | |
| 56 | 추가: let mut bytes = text.into_bytes(); | |
| 57 | 추가: if bytes.is_empty() || bytes.len() > 1024 { | |
| 58 | 추가: bytes.fill(0); | |
| 57 | 59 | return Err("암호는 UTF-8 1~1024바이트로 입력하세요"); |
| 58 | 60 | } |
| 59 | 삭제: Ok(Self(text.into_bytes())) | |
| 61 | 추가: Ok(Self(bytes)) | |
| 60 | 62 | } |
| 61 | 63 | pub fn as_bytes(&self) -> &[u8] { |
| 62 | 64 | &self.0 |
| @@ -322,12 +324,10 @@ impl Model { | ||
| 322 | 324 | Start::CreateZip { |
| 323 | 325 | sources, |
| 324 | 326 | output_file, |
| 325 | 삭제: aes256, | |
| 326 | 327 | .. |
| 327 | 328 | } => { |
| 328 | 329 | !sources.is_empty() |
| 329 | 330 | && output_file.is_absolute() |
| 330 | 삭제: && (!aes256 || self.encryption) | |
| 331 | 331 | && sources |
| 332 | 332 | .iter() |
| 333 | 333 | .all(|(p, n)| p.is_absolute() && valid_relative(n)) |
| @@ -2,6 +2,18 @@ | ||
| 2 | 2 | # It is not intended for manual editing. |
| 3 | 3 | version = 4 |
| 4 | 4 | |
| 5 | 추가: [[package]] | |
| 6 | 추가: name = "aes" | |
| 7 | 추가: version = "0.8.4" | |
| 8 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 9 | 추가: checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" | |
| 10 | 추가: dependencies = [ | |
| 11 | 추가: "cfg-if", | |
| 12 | 추가: "cipher", | |
| 13 | 추가: "cpufeatures", | |
| 14 | 추가: "zeroize", | |
| 15 | 추가: ] | |
| 16 | 추가: | |
| 5 | 17 | [[package]] |
| 6 | 18 | name = "block-buffer" |
| 7 | 19 | version = "0.10.4" |
| @@ -17,6 +29,16 @@ version = "1.0.5" | ||
| 17 | 29 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 18 | 30 | checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" |
| 19 | 31 | |
| 32 | 추가: [[package]] | |
| 33 | 추가: name = "cipher" | |
| 34 | 추가: version = "0.4.4" | |
| 35 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 36 | 추가: checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" | |
| 37 | 추가: dependencies = [ | |
| 38 | 추가: "crypto-common", | |
| 39 | 추가: "inout", | |
| 40 | 추가: ] | |
| 41 | 추가: | |
| 20 | 42 | [[package]] |
| 21 | 43 | name = "cpufeatures" |
| 22 | 44 | version = "0.2.17" |
| @@ -44,6 +66,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | ||
| 44 | 66 | dependencies = [ |
| 45 | 67 | "block-buffer", |
| 46 | 68 | "crypto-common", |
| 69 | 추가: "subtle", | |
| 47 | 70 | ] |
| 48 | 71 | |
| 49 | 72 | [[package]] |
| @@ -56,12 +79,51 @@ dependencies = [ | ||
| 56 | 79 | "version_check", |
| 57 | 80 | ] |
| 58 | 81 | |
| 82 | 추가: [[package]] | |
| 83 | 추가: name = "hmac" | |
| 84 | 추가: version = "0.12.1" | |
| 85 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 86 | 추가: checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" | |
| 87 | 추가: dependencies = [ | |
| 88 | 추가: "digest", | |
| 89 | 추가: ] | |
| 90 | 추가: | |
| 91 | 추가: [[package]] | |
| 92 | 추가: name = "inout" | |
| 93 | 추가: version = "0.1.4" | |
| 94 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 95 | 추가: checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" | |
| 96 | 추가: dependencies = [ | |
| 97 | 추가: "generic-array", | |
| 98 | 추가: ] | |
| 99 | 추가: | |
| 59 | 100 | [[package]] |
| 60 | 101 | name = "libc" |
| 61 | 102 | version = "0.2.191" |
| 62 | 103 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 63 | 104 | checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" |
| 64 | 105 | |
| 106 | 추가: [[package]] | |
| 107 | 추가: name = "pbkdf2" | |
| 108 | 추가: version = "0.12.2" | |
| 109 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 110 | 추가: checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" | |
| 111 | 추가: dependencies = [ | |
| 112 | 추가: "digest", | |
| 113 | 추가: "hmac", | |
| 114 | 추가: ] | |
| 115 | 추가: | |
| 116 | 추가: [[package]] | |
| 117 | 추가: name = "sha1" | |
| 118 | 추가: version = "0.10.7" | |
| 119 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 120 | 추가: checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" | |
| 121 | 추가: dependencies = [ | |
| 122 | 추가: "cfg-if", | |
| 123 | 추가: "cpufeatures", | |
| 124 | 추가: "digest", | |
| 125 | 추가: ] | |
| 126 | 추가: | |
| 65 | 127 | [[package]] |
| 66 | 128 | name = "sha2" |
| 67 | 129 | version = "0.10.9" |
| @@ -73,6 +135,12 @@ dependencies = [ | ||
| 73 | 135 | "digest", |
| 74 | 136 | ] |
| 75 | 137 | |
| 138 | 추가: [[package]] | |
| 139 | 추가: name = "subtle" | |
| 140 | 추가: version = "2.6.1" | |
| 141 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 142 | 추가: checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" | |
| 143 | 추가: | |
| 76 | 144 | [[package]] |
| 77 | 145 | name = "typenum" |
| 78 | 146 | version = "1.20.1" |
| @@ -85,11 +153,23 @@ version = "0.9.5" | ||
| 85 | 153 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 86 | 154 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" |
| 87 | 155 | |
| 156 | 추가: [[package]] | |
| 157 | 추가: name = "zeroize" | |
| 158 | 추가: version = "1.9.1" | |
| 159 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 160 | 추가: checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" | |
| 161 | 추가: | |
| 88 | 162 | [[package]] |
| 89 | 163 | name = "zipelo-archive-worker" |
| 90 | 164 | version = "0.1.0" |
| 91 | 165 | dependencies = [ |
| 166 | 추가: "aes", | |
| 167 | 추가: "hmac", | |
| 168 | 추가: "pbkdf2", | |
| 169 | 추가: "sha1", | |
| 92 | 170 | "sha2", |
| 171 | 추가: "subtle", | |
| 172 | 추가: "zeroize", | |
| 93 | 173 | "zlib-rs", |
| 94 | 174 | ] |
| 95 | 175 |
| @@ -50,3 +50,14 @@ fixtures/는 generate.py의 Python 표준 라이브러리로 생성한 작은 | ||
| 50 | 50 | 암호 ZIP, 대용량 성능, OS sandbox, 악성 파일 전체 검증과 Windows 실기는 이 시험의 범위 밖임. |
| 51 | 51 | |
| 52 | 52 | 취소와 종료 경합 회귀 시험은 실제 작업자에 List를 보낸 뒤 화면 poll 전에 취소하는 흐름을 100회 확인함. 취소 파이프 쓰기가 실패해도 검증된 Terminal과 성공 종료가 있으면 원래 결과를 보존하며, Terminal이 없는 조기 종료는 계속 실패로 처리함. 취소 쓰기 오류 판단을 미루어도 EOF와 child wait 전에는 닫기나 작업 교체를 허용하지 않음. |
| 53 | 추가: | |
| 54 | 추가: 암호 화면 흐름 | |
| 55 | 추가: | |
| 56 | 추가: password_flows.rs는 공개 시험 암호 fixture-password를 사용하는 기존 합성 ZIP 6개로 | |
| 57 | 추가: ZipCrypto와 AES의 Store/Deflate 목록 및 해제를 실제 화면 위젯과 작업자로 확인함. | |
| 58 | 추가: 목록은 암호 없이 표시하며 해제 시 작업자의 challenge_id와 attempt로 암호를 요청함. | |
| 59 | 추가: 틀린 암호 뒤 재입력, 3회 실패, 빈 입력과 UTF-8 바이트 한도 초과, 대기 중 취소, | |
| 60 | 추가: 첫 실행의 AES ZIP 생성 및 재열기/해제를 검증함. 실패와 취소 중 출력이 없고 기존 파일과 | |
| 61 | 추가: 원본이 보존되며 Terminal, 양쪽 EOF 및 child wait 후 연결이 정리되는지 확인함. | |
| 62 | 추가: 암호 표시를 가리고 재요청, 취소 및 창 해제 때 앱이 소유한 입력 버퍼를 지움. | |
| 63 | 추가: Windows 실행이나 네이티브 OS 창 입력 자동화 검증은 포함하지 않음. |
| @@ -266,6 +266,8 @@ mod screen { | ||
| 266 | 266 | ); |
| 267 | 267 | } |
| 268 | 268 | } |
| 269 | 추가: include!("password_flows.rs"); | |
| 270 | 추가: | |
| 269 | 271 | fn archive_flow(name: &str, format: Format) { |
| 270 | 272 | let scratch = Scratch::new(); |
| 271 | 273 | let fixture = Path::new(env!("CARGO_MANIFEST_DIR")) |
| @@ -0,0 +1,268 @@ | ||
| 1 | 추가: const FIXTURE_PASSWORD: &str = "fixture-password"; | |
| 2 | 추가: fn encrypted_fixture(scratch: &Scratch, name: &str) -> PathBuf { | |
| 3 | 추가: let archive = scratch.path(name); | |
| 4 | 추가: fs::copy( | |
| 5 | 추가: Path::new(env!("CARGO_MANIFEST_DIR")) | |
| 6 | 추가: .join("../../tests/rust-archive-worker/fixtures") | |
| 7 | 추가: .join(name), | |
| 8 | 추가: &archive, | |
| 9 | 추가: ) | |
| 10 | 추가: .unwrap(); | |
| 11 | 추가: archive | |
| 12 | 추가: } | |
| 13 | 추가: impl Screen { | |
| 14 | 추가: fn password_request(&mut self, expected_attempt: u32, encrypt: bool) -> u64 { | |
| 15 | 추가: let deadline = Instant::now() + Duration::from_secs(10); | |
| 16 | 추가: loop { | |
| 17 | 추가: self.render(vec![]); | |
| 18 | 추가: assert!(self.app.model.busy(), "{}", self.app.model.status()); | |
| 19 | 추가: if let Some((id, attempt, purpose)) = self.app.model.challenge { | |
| 20 | 추가: assert_eq!(attempt, expected_attempt); | |
| 21 | 추가: assert_eq!(purpose, encrypt); | |
| 22 | 추가: self.render(vec![]); | |
| 23 | 추가: return id; | |
| 24 | 추가: } | |
| 25 | 추가: assert!(Instant::now() < deadline); | |
| 26 | 추가: std::thread::sleep(Duration::from_millis(2)); | |
| 27 | 추가: } | |
| 28 | 추가: } | |
| 29 | 추가: fn password_answer(&mut self, text: &str) { | |
| 30 | 추가: self.render(vec![]); | |
| 31 | 추가: let input = self | |
| 32 | 추가: .context | |
| 33 | 추가: .read_response(egui::Id::new("archive-password-input")) | |
| 34 | 추가: .expect("암호 입력란이 없음") | |
| 35 | 추가: .rect | |
| 36 | 추가: .center(); | |
| 37 | 추가: self.click_at(input); | |
| 38 | 추가: let rendered = self.render(vec![ | |
| 39 | 추가: egui::Event::Key { | |
| 40 | 추가: key: egui::Key::A, | |
| 41 | 추가: physical_key: None, | |
| 42 | 추가: pressed: true, | |
| 43 | 추가: repeat: false, | |
| 44 | 추가: modifiers: egui::Modifiers::COMMAND, | |
| 45 | 추가: }, | |
| 46 | 추가: egui::Event::Text(text.into()), | |
| 47 | 추가: ]); | |
| 48 | 추가: assert!(!rendered.iter().any(|(value, _)| value.contains(text))); | |
| 49 | 추가: self.click("암호 전달"); | |
| 50 | 추가: } | |
| 51 | 추가: fn start_password_extract(&mut self, output: &Path) { | |
| 52 | 추가: self.fill("출력 폴더", egui::vec2(100.0, 0.0), output); | |
| 53 | 추가: self.click("풀기"); | |
| 54 | 추가: assert!(self.app.model.busy()); | |
| 55 | 추가: } | |
| 56 | 추가: fn finish_password_job(&mut self, expected: Outcome) { | |
| 57 | 추가: let deadline = Instant::now() + Duration::from_secs(10); | |
| 58 | 추가: while self.app.model.busy() { | |
| 59 | 추가: self.render(vec![]); | |
| 60 | 추가: assert!(Instant::now() < deadline); | |
| 61 | 추가: std::thread::sleep(Duration::from_millis(2)); | |
| 62 | 추가: } | |
| 63 | 추가: assert!(self.app.model.confirmed, "{}", self.app.model.status()); | |
| 64 | 추가: assert_eq!(self.app.model.terminal.as_ref().unwrap().outcome, expected); | |
| 65 | 추가: assert!(self.app.model.challenge.is_none()); | |
| 66 | 추가: } | |
| 67 | 추가: fn start_encrypted_zip(&mut self, source: &Path, archive: &Path) { | |
| 68 | 추가: self.click("ZIP 만들기"); | |
| 69 | 추가: self.fill( | |
| 70 | 추가: "원본 파일 절대 경로 / 한 줄에 하나", | |
| 71 | 추가: egui::vec2(0.0, 25.0), | |
| 72 | 추가: source, | |
| 73 | 추가: ); | |
| 74 | 추가: self.fill("저장할 ZIP 절대 경로", egui::vec2(0.0, 22.0), archive); | |
| 75 | 추가: self.click("암호로 보호"); | |
| 76 | 추가: self.click("ZIP 만들기"); | |
| 77 | 추가: assert!(self.app.model.busy(), "{}", self.app.model.status()); | |
| 78 | 추가: } | |
| 79 | 추가: } | |
| 80 | 추가: #[test] | |
| 81 | 추가: fn encrypted_zip_list_and_extract_with_actual_password_dialog() { | |
| 82 | 추가: for name in [ | |
| 83 | 추가: "zipcrypto-store.zip", | |
| 84 | 추가: "zipcrypto-deflate.zip", | |
| 85 | 추가: "aes1-store.zip", | |
| 86 | 추가: "aes1-deflate.zip", | |
| 87 | 추가: "aes2-store.zip", | |
| 88 | 추가: "aes2-deflate.zip", | |
| 89 | 추가: ] { | |
| 90 | 추가: let scratch = Scratch::new(); | |
| 91 | 추가: let archive = encrypted_fixture(&scratch, name); | |
| 92 | 추가: let original = fs::read(&archive).unwrap(); | |
| 93 | 추가: let output = make_directory(&scratch.path("output")); | |
| 94 | 추가: let (factory, observed) = observed_factory(); | |
| 95 | 추가: let mut screen = Screen::new(factory); | |
| 96 | 추가: screen.open(&archive); | |
| 97 | 추가: assert!(screen.app.model.entries.iter().all(|entry| entry.encrypted)); | |
| 98 | 추가: assert!(screen.app.model.challenge.is_none()); | |
| 99 | 추가: screen.start_password_extract(&output); | |
| 100 | 추가: screen.password_request(1, false); | |
| 101 | 추가: assert_eq!(fs::read_dir(&output).unwrap().count(), 0); | |
| 102 | 추가: screen.password_answer(FIXTURE_PASSWORD); | |
| 103 | 추가: screen.finish_password_job(Outcome::Completed); | |
| 104 | 추가: assert_eq!( | |
| 105 | 추가: fs::read(output.join("payload.bin")).unwrap(), | |
| 106 | 추가: b"Zipelo encrypted interoperability\n".repeat(8) | |
| 107 | 추가: ); | |
| 108 | 추가: assert_eq!(fs::read(archive).unwrap(), original); | |
| 109 | 추가: assert_reaped(&observed); | |
| 110 | 추가: } | |
| 111 | 추가: } | |
| 112 | 추가: #[test] | |
| 113 | 추가: fn wrong_password_retry_clears_input_and_succeeds_without_partial_output() { | |
| 114 | 추가: let scratch = Scratch::new(); | |
| 115 | 추가: let archive = encrypted_fixture(&scratch, "aes2-deflate.zip"); | |
| 116 | 추가: let output = make_directory(&scratch.path("output")); | |
| 117 | 추가: let (factory, observed) = observed_factory(); | |
| 118 | 추가: let mut screen = Screen::new(factory); | |
| 119 | 추가: screen.open(&archive); | |
| 120 | 추가: screen.start_password_extract(&output); | |
| 121 | 추가: let first = screen.password_request(1, false); | |
| 122 | 추가: screen.password_answer("wrong-password"); | |
| 123 | 추가: let second = screen.password_request(2, false); | |
| 124 | 추가: assert_ne!(first, second); | |
| 125 | 추가: assert_eq!(fs::read_dir(&output).unwrap().count(), 0); | |
| 126 | 추가: let labels = screen.render(vec![]); | |
| 127 | 추가: assert!( | |
| 128 | 추가: labels | |
| 129 | 추가: .iter() | |
| 130 | 추가: .any(|(value, _)| value == "암호가 맞지 않습니다. 다시 입력하세요") | |
| 131 | 추가: ); | |
| 132 | 추가: screen.click("암호 전달"); | |
| 133 | 추가: assert_eq!(screen.app.model.challenge, Some((second, 2, false))); | |
| 134 | 추가: assert!( | |
| 135 | 추가: screen | |
| 136 | 추가: .app | |
| 137 | 추가: .model | |
| 138 | 추가: .error | |
| 139 | 추가: .as_ref() | |
| 140 | 추가: .unwrap() | |
| 141 | 추가: .contains("1~1024바이트") | |
| 142 | 추가: ); | |
| 143 | 추가: screen.render(vec![]); | |
| 144 | 추가: screen.password_answer(FIXTURE_PASSWORD); | |
| 145 | 추가: screen.finish_password_job(Outcome::Completed); | |
| 146 | 추가: assert_reaped(&observed); | |
| 147 | 추가: } | |
| 148 | 추가: #[test] | |
| 149 | 추가: fn three_wrong_passwords_fail_without_writes_and_can_start_a_new_job() { | |
| 150 | 추가: let scratch = Scratch::new(); | |
| 151 | 추가: let archive = encrypted_fixture(&scratch, "zipcrypto-deflate.zip"); | |
| 152 | 추가: let output = make_directory(&scratch.path("output")); | |
| 153 | 추가: let (factory, observed) = observed_factory(); | |
| 154 | 추가: let mut screen = Screen::new(factory); | |
| 155 | 추가: screen.open(&archive); | |
| 156 | 추가: screen.start_password_extract(&output); | |
| 157 | 추가: for attempt in 1..=3 { | |
| 158 | 추가: screen.password_request(attempt, false); | |
| 159 | 추가: assert_eq!(fs::read_dir(&output).unwrap().count(), 0); | |
| 160 | 추가: screen.password_answer("wrong-password"); | |
| 161 | 추가: } | |
| 162 | 추가: screen.finish_password_job(Outcome::Failed); | |
| 163 | 추가: assert_eq!( | |
| 164 | 추가: screen.app.model.terminal.as_ref().unwrap().error, | |
| 165 | 추가: Some(ErrorCode::WrongPassword) | |
| 166 | 추가: ); | |
| 167 | 추가: assert_eq!(fs::read_dir(&output).unwrap().count(), 0); | |
| 168 | 추가: screen.open(&archive); | |
| 169 | 추가: assert_reaped(&observed); | |
| 170 | 추가: } | |
| 171 | 추가: #[test] | |
| 172 | 추가: fn cancel_password_extraction_waits_for_cleanup_without_writes() { | |
| 173 | 추가: let scratch = Scratch::new(); | |
| 174 | 추가: let archive = encrypted_fixture(&scratch, "aes1-store.zip"); | |
| 175 | 추가: let output = make_directory(&scratch.path("output")); | |
| 176 | 추가: fs::write(output.join("existing.txt"), b"preserve").unwrap(); | |
| 177 | 추가: let (factory, observed) = observed_factory(); | |
| 178 | 추가: let mut screen = Screen::new(factory); | |
| 179 | 추가: screen.open(&archive); | |
| 180 | 추가: screen.start_password_extract(&output); | |
| 181 | 추가: screen.password_request(1, false); | |
| 182 | 추가: screen.click("작업 취소"); | |
| 183 | 추가: screen.app.model.request_close(); | |
| 184 | 추가: screen.app.model.confirm_close(); | |
| 185 | 추가: assert!(matches!( | |
| 186 | 추가: screen.app.model.close, | |
| 187 | 추가: Close::Waiting | Close::Review | |
| 188 | 추가: )); | |
| 189 | 추가: screen.finish_password_job(Outcome::Cancelled); | |
| 190 | 추가: assert_eq!(screen.app.model.close, Close::Review); | |
| 191 | 추가: assert_eq!(fs::read(output.join("existing.txt")).unwrap(), b"preserve"); | |
| 192 | 추가: assert_eq!(fs::read_dir(output).unwrap().count(), 1); | |
| 193 | 추가: assert_reaped(&observed); | |
| 194 | 추가: } | |
| 195 | 추가: #[test] | |
| 196 | 추가: fn cold_start_creates_aes_zip_then_reopens_and_extracts_with_password() { | |
| 197 | 추가: let scratch = Scratch::new(); | |
| 198 | 추가: let source = scratch.path("private.txt"); | |
| 199 | 추가: let payload = b"Public synthetic password flow payload\n"; | |
| 200 | 추가: fs::write(&source, payload).unwrap(); | |
| 201 | 추가: let archive = scratch.path("encrypted.zip"); | |
| 202 | 추가: let output = make_directory(&scratch.path("output")); | |
| 203 | 추가: let (factory, observed) = observed_factory(); | |
| 204 | 추가: let mut screen = Screen::new(factory); | |
| 205 | 추가: assert!(!screen.app.model.encryption); | |
| 206 | 추가: screen.start_encrypted_zip(&source, &archive); | |
| 207 | 추가: screen.password_request(1, true); | |
| 208 | 추가: assert!(!archive.exists()); | |
| 209 | 추가: screen.password_answer(FIXTURE_PASSWORD); | |
| 210 | 추가: screen.finish_password_job(Outcome::Completed); | |
| 211 | 추가: let bytes = fs::read(&archive).unwrap(); | |
| 212 | 추가: assert_eq!(&bytes[..4], b"PK\x03\x04"); | |
| 213 | 추가: assert_eq!(u16::from_le_bytes(bytes[6..8].try_into().unwrap()) & 1, 1); | |
| 214 | 추가: assert_eq!(u16::from_le_bytes(bytes[8..10].try_into().unwrap()), 99); | |
| 215 | 추가: screen.open(&archive); | |
| 216 | 추가: assert!(screen.app.model.entries.iter().all(|entry| entry.encrypted)); | |
| 217 | 추가: screen.start_password_extract(&output); | |
| 218 | 추가: screen.password_request(1, false); | |
| 219 | 추가: screen.password_answer(FIXTURE_PASSWORD); | |
| 220 | 추가: screen.finish_password_job(Outcome::Completed); | |
| 221 | 추가: assert_eq!(fs::read(output.join("private.txt")).unwrap(), payload); | |
| 222 | 추가: assert_eq!(fs::read(source).unwrap(), payload); | |
| 223 | 추가: assert_reaped(&observed); | |
| 224 | 추가: } | |
| 225 | 추가: #[test] | |
| 226 | 추가: fn cancel_password_creation_does_not_create_an_archive() { | |
| 227 | 추가: let scratch = Scratch::new(); | |
| 228 | 추가: let source = scratch.path("private.txt"); | |
| 229 | 추가: fs::write(&source, b"preserve").unwrap(); | |
| 230 | 추가: let archive = scratch.path("cancelled.zip"); | |
| 231 | 추가: let (factory, observed) = observed_factory(); | |
| 232 | 추가: let mut screen = Screen::new(factory); | |
| 233 | 추가: screen.start_encrypted_zip(&source, &archive); | |
| 234 | 추가: screen.password_request(1, true); | |
| 235 | 추가: screen.click("작업 취소"); | |
| 236 | 추가: screen.finish_password_job(Outcome::Cancelled); | |
| 237 | 추가: assert!(!archive.exists()); | |
| 238 | 추가: assert_eq!(fs::read(source).unwrap(), b"preserve"); | |
| 239 | 추가: assert_eq!(fs::read_dir(&scratch.0).unwrap().count(), 1); | |
| 240 | 추가: assert_reaped(&observed); | |
| 241 | 추가: } | |
| 242 | 추가: | |
| 243 | 추가: #[test] | |
| 244 | 추가: fn oversized_utf8_password_stays_in_dialog_then_accepts_valid_input() { | |
| 245 | 추가: let scratch = Scratch::new(); | |
| 246 | 추가: let archive = encrypted_fixture(&scratch, "aes2-store.zip"); | |
| 247 | 추가: let output = make_directory(&scratch.path("output")); | |
| 248 | 추가: let (factory, observed) = observed_factory(); | |
| 249 | 추가: let mut screen = Screen::new(factory); | |
| 250 | 추가: screen.open(&archive); | |
| 251 | 추가: screen.start_password_extract(&output); | |
| 252 | 추가: let id = screen.password_request(1, false); | |
| 253 | 추가: screen.password_answer(&"가".repeat(342)); | |
| 254 | 추가: assert_eq!(screen.app.model.challenge, Some((id, 1, false))); | |
| 255 | 추가: assert!( | |
| 256 | 추가: screen | |
| 257 | 추가: .app | |
| 258 | 추가: .model | |
| 259 | 추가: .error | |
| 260 | 추가: .as_ref() | |
| 261 | 추가: .unwrap() | |
| 262 | 추가: .contains("1~1024바이트") | |
| 263 | 추가: ); | |
| 264 | 추가: assert_eq!(fs::read_dir(&output).unwrap().count(), 0); | |
| 265 | 추가: screen.password_answer(FIXTURE_PASSWORD); | |
| 266 | 추가: screen.finish_password_job(Outcome::Completed); | |
| 267 | 추가: assert_reaped(&observed); | |
| 268 | 추가: } |
| @@ -1,28 +1,27 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "command": "python3 tests/ci/run_rust.py local", |
| 3 | 3 | "platform": "linux-desktop-2", |
| 4 | 삭제: "base_remote_main": "3f51510fcc613c3f72e29c3b421aab178bf94186", | |
| 5 | 삭제: "local_baseline_head": "3ef6f50", | |
| 4 | 추가: "base_remote_main": "4160fcc4e80070b6ab9ea50c78705c0458b2384a", | |
| 5 | 추가: "local_baseline_head": "1c1a30f8beb3658242e4c856057c70b1e4d649dd", | |
| 6 | 6 | "source_state": "Tested committed integration source. Only this evidence JSON was updated after the full runner completed; hashes identify the tested code and fixtures.", |
| 7 | 7 | "linux_build_crates": 19, |
| 8 | 8 | "linux_test_targets": 19, |
| 9 | 삭제: "rust_tests_passed": 870, | |
| 9 | 추가: "rust_tests_passed": 889, | |
| 10 | 10 | "new_archive_ui_tests_passed": 22, |
| 11 | 11 | "windows_cross_build_crates": 19, |
| 12 | 12 | "windows_runtime_tested": false, |
| 13 | 13 | "native_visual_check": "Headless egui Context used actual widget pointer/key events and the real OS worker process on Linux. Native OS window/input automation and Windows execution were not performed.", |
| 14 | 14 | "prior_failures": "Retained locally: first build drop API/legacy harness references; second and third egui renderer harness texture/first-frame setup; final runner passed.", |
| 15 | 15 | "limitations": [ |
| 16 | 삭제: "Normal ZIP/TAR.GZ listing and extraction plus ZIP creation/reopen/extraction use the actual worker executable and OS pipes.", | |
| 17 | 삭제: "The three successful screen tests run headless egui widgets, not a native OS GUI automation session.", | |
| 18 | 삭제: "Malformed, wrong-action, early-exit and disposal fault cases use a separate test-only probe; serialization failure and late cancellation use the actual worker.", | |
| 19 | 삭제: "No Windows runtime, encryption ZIP, large-file performance, OS sandbox or exhaustive malicious-input validation in this frontend integration.", | |
| 20 | 삭제: "Manual path text is UTF-8; native archive CLI/drop paths retain PathBuf and NativePath." | |
| 16 | 추가: "Headless egui widgets with actual Linux child processes and OS pipes; no native OS window/input automation or Windows runtime.", | |
| 17 | 추가: "Passwords are public synthetic fixture data. The tests verify masking and lifecycle cleanup, not an exhaustive process-memory audit.", | |
| 18 | 추가: "No backend cryptography, wire contract, installer or 7z changes in this branch.", | |
| 19 | 추가: "The UI and probe lockfiles include the existing PR67 crypto dependencies. Existing package versions remain unchanged." | |
| 21 | 20 | ], |
| 22 | 21 | "tested_files": [ |
| 23 | 22 | { |
| 24 | 23 | "path": "experiments/rust-ui-memory-app/Cargo.lock", |
| 25 | 삭제: "sha256": "791935d3b7eb17f68ccd08e35e6839e3ff42fecf9fd51cce4ce69fb7bb717197" | |
| 24 | 추가: "sha256": "f5515522ce9eebb3918f9bb4905a4aa8ae5e299c544ad5a14327ce1fcda3ec1f" | |
| 26 | 25 | }, |
| 27 | 26 | { |
| 28 | 27 | "path": "experiments/rust-ui-memory-app/Cargo.toml", |
| @@ -34,11 +33,11 @@ | ||
| 34 | 33 | }, |
| 35 | 34 | { |
| 36 | 35 | "path": "experiments/rust-ui-memory-app/src/archive_screen.rs", |
| 37 | 삭제: "sha256": "04b7a55c7405d89467fc821db27e0714fb0aa00612e614835b5fee901e5ca940" | |
| 36 | 추가: "sha256": "5eb6fb41a79cf0997804e2a2d689b2cbf393efa421f5ad82afe900663bd5f45d" | |
| 38 | 37 | }, |
| 39 | 38 | { |
| 40 | 39 | "path": "experiments/rust-ui-memory-app/src/archive_ui.rs", |
| 41 | 삭제: "sha256": "e37e59f6abe56e19551b5de1b5a95e56c5a1448c0aa4387bff38c4f18d319d46" | |
| 40 | 추가: "sha256": "78bb576ea372739450bef8d135db69b9ba66b16191b377cf4996b97fbe46ae75" | |
| 42 | 41 | }, |
| 43 | 42 | { |
| 44 | 43 | "path": "experiments/rust-ui-memory-app/src/desktop.rs", |
| @@ -54,7 +53,7 @@ | ||
| 54 | 53 | }, |
| 55 | 54 | { |
| 56 | 55 | "path": "tests/rust-app-real-worker/Cargo.lock", |
| 57 | 삭제: "sha256": "6fce2f154d57e28e975582755ca13d9ebb4d2d6927a53c42f03e8a9b5f78f78c" | |
| 56 | 추가: "sha256": "2b47293130e0653e22b4b40f821e58aa2e0dc2441e56b2278679664060e5b0e9" | |
| 58 | 57 | }, |
| 59 | 58 | { |
| 60 | 59 | "path": "tests/rust-app-real-worker/Cargo.toml", |
| @@ -62,7 +61,7 @@ | ||
| 62 | 61 | }, |
| 63 | 62 | { |
| 64 | 63 | "path": "tests/rust-app-real-worker/README.md", |
| 65 | 삭제: "sha256": "7902bca8e72fc9599492bfe022b123a60b1ae6cad6fbbd8094bb3c5512268a98" | |
| 64 | 추가: "sha256": "3273a5530087fd9f8b6021eaeec6e9e30ca91b77b1b18aceb5673612f1f6a9bf" | |
| 66 | 65 | }, |
| 67 | 66 | { |
| 68 | 67 | "path": "tests/rust-app-real-worker/fixtures/sample.tar.gz", |
| @@ -74,7 +73,7 @@ | ||
| 74 | 73 | }, |
| 75 | 74 | { |
| 76 | 75 | "path": "tests/rust-app-real-worker/flows.rs", |
| 77 | 삭제: "sha256": "d2510f60db64cc373a8affd4b7102d16e3733f82e224905e18b7c5633134e8ff" | |
| 76 | 추가: "sha256": "06bffea50c485edfb10a2dfa9158d02159da11efbdf4a5183f76ced96f86a9c1" | |
| 78 | 77 | }, |
| 79 | 78 | { |
| 80 | 79 | "path": "tests/rust-app-real-worker/generate.py", |
| @@ -99,6 +98,10 @@ | ||
| 99 | 98 | { |
| 100 | 99 | "path": "tests/rust-app-ui/regressions.rs", |
| 101 | 100 | "sha256": "a4c3685a380cb73fd506a290270b2a5308529ef4f843c203127c2bc9a2df2a80" |
| 101 | 추가: }, | |
| 102 | 추가: { | |
| 103 | 추가: "path": "tests/rust-app-real-worker/password_flows.rs", | |
| 104 | 추가: "sha256": "0faca27cc8952df4026d544c503a166bde4c0676af3716f70a748aa44c7b7ce1" | |
| 102 | 105 | } |
| 103 | 106 | ], |
| 104 | 107 | "review_regressions": [ |
| @@ -113,8 +116,9 @@ | ||
| 113 | 116 | ], |
| 114 | 117 | "before_review_fix": "Earlier PR62 fixes reproduced 3 failures before repair. Integration tests additionally reproduced normal channel shutdown and late-cancel races before repair. PR68 review race reproduced with the new test before repair; all 100 iterations passed after repair.", |
| 115 | 118 | "approved_ui_head": "423a7c80c9d7182e07d29adee03a97d09a19b11f", |
| 116 | 삭제: "tested_local_head": "b7e558cd8afbb8bb54b55ebd4c463641cc2129e5", | |
| 117 | 삭제: "real_worker_tests_passed": 10, | |
| 118 | 삭제: "runner_tests_passed": 17, | |
| 119 | 삭제: "merge_validation": "Approved UI logic unchanged from 2174031; main malicious fixtures integrated and full local runner passed." | |
| 119 | 추가: "tested_local_head": "7bf3d4107005a36c1e8ed0619b6d09343b27f494", | |
| 120 | 추가: "real_worker_tests_passed": 17, | |
| 121 | 추가: "runner_tests_passed": 23, | |
| 122 | 추가: "password_screen_tests_passed": 7, | |
| 123 | 추가: "password_flow": "Actual widget input and real worker validated ZipCrypto, AES-256 AE-1/AE-2 Store/Deflate extraction, retry, three failures, cancel, UTF-8 byte limits and cold-start AES ZIP creation/reopen/extraction." | |
| 120 | 124 | } |