c671f2115e
将原 C#/.NET WinAuth 移植为 Go + Gio GUI,覆盖 Phase 1 全部功能。 核心模块: - internal/authenticator: TOTP (Google/Microsoft/Okta) + HOTP + BattleNet + Steam,含 enroll/sync/code 生成、Steam 交易确认轮询 - internal/config: YAML 配置 + 老版 WinAuth XML 导入(DPAPI + Password + Blowfish/PBKDF2 解密链) - internal/crypto: 现代加密 (WAGO1) + DPAPI 跨平台封装 + 老版 Blowfish ECB - internal/win32: 单实例 Mutex 锁 + 全局热键管理器 (RegisterHotKey + PeekMessage 泵) + SendInput Unicode 注入 + 剪贴板文本/CF_DIB 图像读写 + AttachThreadInput 焦点切换 - internal/hotkey: "Ctrl+Alt+G" 风格快捷键字符串解析/格式化 - internal/qr: gozxing 二维码解码 + otpauth:// URI 解析 - internal/i18n: en/zh-CN/de 三语 TOML UI 模块 (Gio): - 主窗口:圆环倒计时进度条、复制按钮 + Toast 反馈、空列表占位、行分隔线 - 添加流程:vendor 菜单 + 各 vendor 独立对话框 + 二维码扫描入口(文件 / 剪贴板) - 设置:密码加密、老版 XML 导入、每条目热键配置 - Steam:注册向导(含 captcha/email/SMS 多步)+ 交易确认窗 构建:Windows 主目标,非 Windows 平台所有 Win32 功能走 build-tag 桩实现。
29 lines
902 B
Modula-2
29 lines
902 B
Modula-2
module git.wxccs.org/iceking2nd/winauth-go
|
|
|
|
go 1.23
|
|
|
|
require (
|
|
gioui.org v0.7.1
|
|
github.com/BurntSushi/toml v1.4.0
|
|
github.com/nicksnyder/go-i18n/v2 v2.4.0
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/cobra v1.8.1
|
|
golang.org/x/crypto v0.28.0
|
|
golang.org/x/text v0.19.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2 // indirect
|
|
gioui.org/shader v1.0.8 // indirect
|
|
github.com/go-text/typesetting v0.1.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/makiuchi-d/gozxing v0.1.1 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
golang.org/x/exp v0.0.0-20240707233637-46b078467d37 // indirect
|
|
golang.org/x/exp/shiny v0.0.0-20240707233637-46b078467d37 // indirect
|
|
golang.org/x/image v0.18.0 // indirect
|
|
golang.org/x/sys v0.26.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
|
)
|