4.3 KiB
4.3 KiB
title, type, permalink, stable_id, scope, project_id, workspace_type, usage_profile_id, preference_context, document_type, revision, source_memory_ids, source_checkpoint_ids, source_file_ids, source_git_commit, source_git_commits, source_agent_sync_ids, model_connection, model_name, source_count, source_revisions, source_dispositions, cited_source_ids, job_cited_source_ids, conflicts, supersedes, preferences, source_cursor, source_hash, prompt_version, schema_version, curation_job_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | project_id | workspace_type | usage_profile_id | preference_context | document_type | revision | source_memory_ids | source_checkpoint_ids | source_file_ids | source_git_commit | source_git_commits | source_agent_sync_ids | model_connection | model_name | source_count | source_revisions | source_dispositions | cited_source_ids | job_cited_source_ids | conflicts | supersedes | preferences | source_cursor | source_hash | prompt_version | schema_version | curation_job_id | created_at | updated_at | tags | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| WinUnLock 当前状态(截至 2026‑08‑20) | curated | main/projects/ea207d36-693c-4349-b3c8-7c40c8c889f5/curated/win-un-lock-当前状态截至-2026-08-20 | 8cf2657a-ec64-4715-88ab-281830560733 | project | ea207d36-693c-4349-b3c8-7c40c8c889f5 | development | null | development | current_state | 4 |
|
null | Sub2API | openai/gpt-oss-120b | 17 |
|
|
|
|
103 | 4a64fd2a22cf52c37c2891c452140220e743d62d9ef477be0616d478b8794785 | 2026-08-12.3 | 3 | baa81064-94f7-44f6-b35a-2ea79347e1a8 | 2026-08-20T02:26:16.121631+00:00 | 2026-08-24T10:11:13.248874+00:00 |
|
WinUnLock 当前实现状态
基本信息
- 工作区路径:
E:\code\WinUnLock(Git 分支main,HEAD09662c8,工作区干净) - 安装方式:Rust 编写的安装器
winunlock-admin.exe(已不再使用 PowerShell 脚本) - 开发工具链:
rustc 1.94.1、cargo 1.94.1、stable-x86_64-pc-windows-msvc
构建产物
| 产物 | 大小 |
|---|---|
provider.dll |
586 752 B |
client.exe |
518 656 B |
setup.exe |
647 680 B |
winunlock-admin.exe |
279 552 B |
测试结果(2026‑08‑24)
cargo test --release --target x86_64-pc-windows-msvc:全部 14 项测试通过(common13、provider1),0 失败。cargo build --release --target x86_64-pc-windows-msvc:构建成功。winunlock-admin.exe --help与setup.exe --help均返回退出码 0,中文帮助信息正常显示。
关键验证要点(面向 VM 的端到端测试前复验)
- 账户要求:必须使用可手动解锁的本地文本密码,不能使用 PIN。推荐使用本地管理员账户。
- 快照:在安装 Credential Provider 前创建 VM 快照,以便失败后快速恢复。
- 凭据文件:
cred.bin必须在目标 VM 内由setup生成,禁止跨机器复制。 - 安装/配置步骤
winunlock-admin.exe install --unlock-time HH:MM(管理员终端)%PROGRAMDATA%\WinUnLock\bin\setup.exe --account ".\\用户名",交互输入密码生成cred.bin。- 锁屏(Win+L),约 3 分钟后观察自动解锁;成功后检查
client.log与provider.log。
- 故障排查要点
- 无
provider.log→ DLL 未加载或未注册。 client.exe退出码 10 → 命名管道不存在(通常是未锁屏的正常情况)。- Provider 收到凭据但未提交 → 检查
CredentialsChanged/GetCredentialCount链路。 - 提交后失败 → 检查账户格式、密码或认证包问题。
- 无
- 卸载:管理员运行
winunlock-admin.exe uninstall;如出现锁屏异常,可恢复 VM 快照或在安全模式/WinRE 删除对应 CLSID 注册项。 - ACL 注意:安装器会收紧
%PROGRAMDATA%\WinUnLock的 ACL,仅保留SYSTEM/Administrators,后续setup必须在管理员终端执行。
信息来源:curated_baseline:8cf2657a-ec64-4715-88ab-281830560733