notParsec / 문서전체 문서

데이터·검증 자료

evidence/mac-input-validation.json

design/evidence/mac-input-validation.json

출처: 현재 작업 폴더 · 원문 다운로드

{
  "schemaVersion": 1,
  "checkedAt": "2026-09-26",
  "revision": "progress-36",
  "requirements": [
    "F18",
    "F20",
    "F51",
    "F82"
  ],
  "exceptionIds": [
    "E05"
  ],
  "parity": "different",
  "baseline": {
    "windowsVersion": "150-104a",
    "coreSha256": "8c8c4299ddf503b2c25c0905b0a0820f3e8238c252e9ace37bf25964ef4a8f6f"
  },
  "supplementaryMac": {
    "source": "Installed /Applications/Parsec.app/Contents/Resources/skel/parsecd-150-101a.dylib, read-only copy",
    "bundleVersion": "150.101.1",
    "coreVersion": "150-101a",
    "universalSha256": "9cce85059c7f95f1a8e578b3c9f7200cb364520e557b5c85294802c8c596cdd5",
    "baselineDifference": "macOS 150-101a is a supplementary platform/version reference; Windows baseline remains 150-104a",
    "slices": [
      {
        "architecture": "x86_64",
        "offset": 16384,
        "bytes": 3286480,
        "sha256": "04d7a5e797b9fdd24c737b82fd3185a2b2c16b8505cf487d3f2b14b4ba83b49d"
      },
      {
        "architecture": "arm64",
        "offset": 3309568,
        "bytes": 2926096,
        "sha256": "2ff41665ab1ca6ad2c6159646b9c1143f2f932ce08c348342b71feadc5fbb9a9"
      }
    ],
    "tool": {
      "name": "Ghidra",
      "version": "12.1.3",
      "archiveSha256": "93a5d11a9ad510622acaaf908c556a7b9b764d338e78a7567f3689bf5081fd54"
    },
    "analysisType": "Static disassembly and focused decompiler pseudocode; no execution or modification of Parsec",
    "functions": {
      "x86_64": {
        "input": "0x191750",
        "cgKeyboard": "0x191f80",
        "hidKeyboard": "0x191520",
        "keycodeTable": "0x223c80"
      },
      "arm64": {
        "input": "0x144590",
        "cgKeyboard": "0x144d10",
        "hidKeyboard": "0x144328",
        "scrollCall": "0x14471c"
      }
    },
    "decompilerCaution": "arm64 0x144590 pseudocode omits horizontal scroll vararg; disassembly 0x14470c-0x14471c shows x on stack and y in w3, matching Apple SDK first_wheel fixed argument."
  },
  "rootCause": {
    "function": "CGEventCreateScrollWheelEvent",
    "oldDeclaration": "source, unit, count, ...",
    "correctDeclaration": "source, unit, count, first_wheel: i32, ...",
    "beforeNativePixelY": 1809097848,
    "expectedPixelY": 120,
    "afterNativePixelY": 120,
    "note": "Observed before value is an invalid ABI artifact, not a stable constant; tested real Apple Silicon CGEvents without posting input"
  },
  "changes": [
    "client_macos_key_swap default true; Windows↔Mac only; applied to down/up/all screens",
    "ALPN /10 authenticates host platform; old /9 peers require update",
    "Two-axis wheel magnitude and fractional pixel accumulation; Mac pixel events",
    "First wheel is a fixed C ABI argument, checked against Apple SDK and ARM64 Parsec disassembly",
    "Held modifiers recomputed; CG keyboard repeat field; Unicode without shortcut flags",
    "Literal Paste when cross-OS Ctrl/Command swap disabled"
  ],
  "tests": {
    "linux": {
      "uiPassed": 32,
      "uiIgnored": 1,
      "wirePassed": 17,
      "sessionPassed": 13,
      "platformPassed": 2,
      "additionalInputTestsPassed": 4,
      "distinctPassed": 65
    },
    "macNative": {
      "passed": 3,
      "ignored": 1,
      "scope": "CoreGraphics construction/field inspection and pure key mapping; no event posting"
    },
    "linuxClippy": "passed",
    "macClippy": "passed",
    "windowsRelease": {
      "format": "PE32+ AMD64",
      "target": "x86_64-pc-windows-msvc",
      "subsystem": "Windows GUI",
      "imports": [
        "advapi32.dll",
        "api-ms-win-core-synch-l1-2-0.dll",
        "bcrypt.dll",
        "bcryptprimitives.dll",
        "combase.dll",
        "crypt32.dll",
        "d3d11.dll",
        "d3dcompiler_47.dll",
        "dwmapi.dll",
        "dxgi.dll",
        "gdi32.dll",
        "imm32.dll",
        "kernel32.dll",
        "mfplat.dll",
        "ntdll.dll",
        "ole32.dll",
        "oleaut32.dll",
        "setupapi.dll",
        "shell32.dll",
        "shlwapi.dll",
        "uiautomationcore.dll",
        "user32.dll",
        "uxtheme.dll",
        "winmm.dll",
        "ws2_32.dll"
      ],
      "extraRuntimeFiles": [],
      "windowsExecutionVerified": false,
      "note": "Import inspection only; Windows OS, graphics drivers and fonts still required. GUI/GPU/DPAPI not executed on Windows or Wine.",
      "release": {
        "version": "0.1.0",
        "build": 1790454197,
        "commit": "9aa8b7382b97ee65a3e9f178843b276cd5382084"
      },
      "sha256": "7b0b98a1229eab48babf59999645efec40e153af51214808a9169506785a171c",
      "bytes": 16934912
    },
    "macRelease": {
      "platform": "Darwin",
      "architecture": "arm64",
      "profile": "release",
      "executableSha256": "824efa2a0e0665ec2e37835f71f7850d598d20a3c1c0e1d75209e747f47c36da",
      "macOSNotarized": false,
      "mediaDependency": "Bundled FFmpeg 6.1.6; separate LGPL executable",
      "crossOSRuntimeVerified": false,
      "release": {
        "version": "0.1.0",
        "build": 1790453938,
        "commit": "9aa8b7382b97ee65a3e9f178843b276cd5382084"
      },
      "target": "aarch64-apple-darwin",
      "ffmpeg": {
        "version": "6.1.6",
        "sourceUrl": "https://ffmpeg.org/releases/ffmpeg-6.1.6.tar.xz",
        "sourceSha256": "d4fcb164028dd3beee5d92c0ac72e46aac6973c75ea12dc14de07bf8f407370a",
        "sourceSignerFingerprint": "FCF986EA15E6E293A5644F10B4322F04D67658D8",
        "sourceModified": false,
        "architecture": "arm64",
        "license": "LGPL-2.1-or-later",
        "configureOptions": [
          "--prefix=/notparsec-ffmpeg",
          "--disable-everything",
          "--disable-autodetect",
          "--disable-network",
          "--disable-doc",
          "--disable-debug",
          "--disable-ffplay",
          "--disable-ffprobe",
          "--enable-ffmpeg",
          "--enable-avfoundation",
          "--enable-videotoolbox",
          "--enable-indev=avfoundation,lavfi",
          "--enable-protocol=file,pipe",
          "--enable-demuxer=h264,hevc,rawvideo",
          "--enable-muxer=h264,hevc,rawvideo",
          "--enable-parser=h264,hevc",
          "--enable-decoder=h264,hevc,rawvideo,wrapped_avframe",
          "--enable-encoder=h264_videotoolbox,hevc_videotoolbox,rawvideo",
          "--enable-bsf=h264_metadata,hevc_metadata",
          "--enable-filter=scale,format,null,testsrc2",
          "--enable-swscale",
          "--enable-pthreads",
          "--extra-cflags=-mmacosx-version-min=11.0",
          "--extra-ldflags=-mmacosx-version-min=11.0"
        ],
        "runtimeDependencies": [
          "\t/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4201.0.0)",
          "\t/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)",
          "\t/System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation (compatibility version 1.0.0, current version 2.0.0)",
          "\t/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 726.2.0)",
          "\t/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 3290.6.5)",
          "\t/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1965.2.3)",
          "\t/System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 3290.6.5)",
          "\t/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 4201.0.0)",
          "\t/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1226.0.0)",
          "\t/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)"
        ],
        "executableSha256": "cf9d686fe20b795b2153257847df5fe152f01c8bde18c77a3b1e59ca3926bf0c",
        "bundledExecutableSha256": "de7e89c5fd049d09a229ce8129f916d3491fb85cb6224a8ed189eaab1b91c9c7"
      },
      "macOSSigning": {
        "mode": "local-certificate",
        "identifier": "kr.n3m.notparsec",
        "certificateSha1": "E9C16B6D76C8BAFA1DBF972A47522E2C689B0511",
        "certificateSha256": "fe9a786ce0a301b83f3f09835016f787152e175c108daac174163d80273a2abe",
        "designatedRequirement": "identifier \"kr.n3m.notparsec\" and certificate leaf = H\"e9c16b6d76c8bafa1dbf972a47522e2c689b0511\"",
        "appleDeveloperId": false,
        "notarized": false
      },
      "diskImage": {
        "filename": "notparsec-darwin-arm64.dmg",
        "bytes": 25211061,
        "sha256": "eae39d285d3efc51585a1bc0ecf9dbe506e38fe95324f8c92984025d08095202"
      },
      "bytes": 46567761,
      "sha256": "b7bce128a3463a49855593944f228a71a972fe61350cd7a0cf7567aceae60b0d"
    },
    "additionalInputTestsPassed": 4,
    "documents": {
      "featureComparisonTests": 6,
      "progressTests": 6,
      "generatedHtmlInspected": true
    },
    "encryptedSessionIntegration": {
      "passed": 1,
      "platformNegotiation": true,
      "twoAxisWheelPreserved": true,
      "passwordGateAndRevocation": true
    },
    "pinnedToolchain": "scripts/ci/check_tools.py passed: Rust, cargo-xwin, LLVM and SDK/CRT tree digest"
  },
  "deployment": {
    "state": "both_app_artifacts_published",
    "downloadRevision": "a06351782daf0be1a2d52fb8bf30a180d79bb8fb1e2881a54fa770288b5c02f4",
    "windowsBuild": 1790454197,
    "macBuild": 1790453938,
    "macInstallation": "pending: Mac Tailscale offline since 2026-09-26T20:30:00.1Z, SSH banner timeout before any installer execution",
    "installedBefore": {
      "tcc": [
        [
          "kTCCServiceAccessibility",
          2,
          "FADE0C0000000048000000010000000600000002000000106B722E6E336D2E6E6F74706172736563000000040000000000000014E9C16B6D76C8BAFA1DBF972A47522E2C689B0511",
          1790451193
        ],
        [
          "kTCCServiceScreenCapture",
          2,
          "FADE0C0000000048000000010000000600000002000000106B722E6E336D2E6E6F74706172736563000000040000000000000014E9C16B6D76C8BAFA1DBF972A47522E2C689B0511",
          1790451244
        ]
      ],
      "appSha256": "b79d6a2e83855b87508633b20d7f36507f2392dbc3588fe9e39aa2cd33bad4b9",
      "dr": "Executable=/Applications/notParsec.app/Contents/MacOS/notparsec\ndesignated => identifier \"kr.n3m.notparsec\" and certificate leaf = H\"e9c16b6d76c8bafa1dbf972a47522e2c689b0511\"\n"
    },
    "windowsPublishedHashVerified": true,
    "serverReadinessHttp": 200
  },
  "remaining": [
    "Actual Windows keyboard→Mac apps and original Parsec comparison",
    "IME/dead keys/ANSI ISO JIS layouts; distinguish all physical modifiers/keypad Enter at GUI capture",
    "Original IOHID path and queue behavior differ from our CoreGraphics path",
    "No Parsec wire compatibility or claim of full original source recovery"
  ]
}