notParsec / 문서전체 문서

데이터·검증 자료

evidence/admin-password-policy-validation.json

design/evidence/admin-password-policy-validation.json

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

{
  "schemaVersion": 1,
  "checkedAt": "2026-09-27T04:27:07.952443+00:00",
  "revision": "progress-40",
  "requirements": [
    "F76"
  ],
  "exceptionIds": [
    "E02"
  ],
  "request": "새 관리자 비밀번호의 최소 길이·최대 길이·문자·기존 값 중복 제한 제거",
  "sourceKind": "Independent implementation of explicit E02 admin policy; not Parsec source or policy recovery",
  "baseline": {
    "version": "Windows Parsec 150-104a",
    "coreSha256": "8c8c4299ddf503b2c25c0905b0a0820f3e8238c252e9ace37bf25964ef4a8f6f"
  },
  "parityStatus": "different",
  "removed": [
    "12 character minimum",
    "256 UTF-8 byte maximum and HTML maxlength",
    "CR/LF/NUL password policy check",
    "same password rejection",
    "1024 base64-character limit on download Basic credentials",
    "256 byte CLI stdin read limit for administrator passwords"
  ],
  "retained": [
    "nonempty password",
    "matching browser confirmation",
    "current password reauthentication",
    "Argon2id with fresh random salt and bounded verifier parameters",
    "generation compare-and-swap and invalidation of every old session",
    "existing shared attempt budget",
    "existing JSON body/HTTP header transport limits",
    "independent PC host password policy"
  ],
  "checks": {
    "serverAndAccessTests": {
      "passed": 32,
      "command": "cargo test --locked -p notparsec-control-server -p notparsec-access"
    },
    "apiCases": [
      "one character",
      "reused value",
      "900-byte Unicode password",
      "CR/LF/NUL and whitespace",
      "login after change",
      "Basic file download after change",
      "new password used as current password",
      "CLI reset and login",
      "old verifier compatibility and session revocation"
    ],
    "clippy": "cargo clippy --locked -p notparsec-control-server --all-targets -- -D warnings: passed",
    "build": "cargo build --release --locked -p notparsec-control-server: passed",
    "browser": {
      "status": "passed",
      "viewports": [
        1280,
        390
      ],
      "deepLink": true,
      "backForward": true,
      "formValidation": true,
      "wrongCurrentKeepsSession": true,
      "allSessionsRevoked": true,
      "oldPasswordRejected": true,
      "newPasswordSurvivesRestart": true,
      "shortPassword": true,
      "reusedPassword": true,
      "longUnicodePassword": true,
      "cliLongPassword": true,
      "secretFieldsCleared": true,
      "browserErrors": []
    },
    "browserLog": "dist/admin-password-policy/browser-test.log",
    "screenshots": [
      {
        "path": "dist/admin-password-policy/account-1280.png",
        "sha256": "881c27c8b2fa7e65d77deea3bc35c05fb5aa1d80d0694463cf735ccad01af2a5"
      },
      {
        "path": "dist/admin-password-policy/account-390.png",
        "sha256": "5e81af0a2bb78c2029924fa8da207ccefb44eaae3457338997ca02df88e45f3f"
      }
    ],
    "sourceSha256": {
      "apps/control-server/src/admin_password.rs": "3784001534143a1a957fed64408b44aaf1b1ca0e9426bdfaeee0cf839ccba8eb",
      "apps/control-server/src/api/admin.rs": "d5f39392dc75f06d3089cd795d579c8a741dc9f5e3278bdc0867578ade68ffb1",
      "apps/control-server/src/api/admin/downloads.rs": "ddb5c4e42dc8fc9ebd2ced564ffb5b463c6cc5bac6b827bd63eec8e1c311053f",
      "apps/control-server/src/main.rs": "03becde9f99dbeb0a0cc7d7e8c89a3f21deca4a6731271589da53639aac7e65e",
      "apps/control-server/src/lib.rs": "66b79bf367ca5541453fe78e12af4b4d51289e3d35039de605081c5f999dc5bf",
      "apps/control-server/web/admin.html": "cc477d1bece33f890f147b6901a69835eb3fbc3fb55040b1e2f60d7763ba1a2a",
      "apps/control-server/web/admin.js": "52fcfbaf07699e61256f5a88101733e0b8b3f011fff1caebdb016213667664a6",
      "apps/control-server/src/api/tests/admin_tests.rs": "976a7c2c5330e0353b52cfaf45017d986e87e69f2ba7c2c958ae5a49366b5279",
      "scripts/test_admin_account_browser.cjs": "1cbf49c89ee41faae5cb008e7bb418f1f22ab26927d4ef71d6cc7effbfc34c19"
    },
    "serverSha256": "bdbbebef015427a092e4efa8ddd8a2a440e3b755dbe56de7b6220f99a1d1e665"
  },
  "limits": [
    "Native Safari/Edge/password-manager integration not tested",
    "Browser retains standard single-line password fields; API permits control characters",
    "All credential changes tested using disposable DBs, not the production account"
  ],
  "deployment": {
    "status": "published_and_verified",
    "url": "https://remote.n3m.kr/#account",
    "productionPasswordChanged": false,
    "desktopBinariesIncluded": false,
    "checkedAt": "2026-09-27T04:27:40.763601+00:00",
    "checks": {
      "/": {
        "status": 200,
        "bytes": 10609,
        "edgeBeaconRemoved": 0,
        "matchesSource": true
      },
      "/notparsec-admin/admin.js": {
        "status": 200,
        "bytes": 33034,
        "matchesSource": true
      },
      "/health/ready": {
        "status": 200,
        "bytes": 0
      },
      "/notparsec-admin/api/devices": {
        "status": 401,
        "bytes": 133
      },
      "installedServerMatches": true
    }
  }
}