Repository navigation
Ask Key 0.6.0
Ask Key can now update itself. · 请旨现在可以自行更新。 English · 中文
English
Added
- In-app updates. Ask Key can check for new versions and install them after you confirm. On the second launch it asks whether to check automatically, once a day. You can change that later with Check for Updates Automatically in Settings → General, and check at any time with Check for Updates… there or in the menu bar icon's menu.
- The update window shows what changed, in English or Simplified Chinese, following Ask Key's language setting. When a scheduled check finds an update, the window appears without taking focus; if Ask Key's notifications are allowed, one notification names the version.
Fixed
- With the management window open, About Ask Key and the update windows open in front. Before, the About panel opened behind other apps' windows.
- The menu bar, the About panel, standard dialogs and the update windows follow Ask Key's language setting instead of the macOS language. After you change the setting, they switch the next time Ask Key opens; Ask Key's own windows switch at once.
Security
- Nothing installs silently. The update feed and the update itself must carry valid signatures from Ask Key's key.
- Installing waits until no approval is pending, no request is running and no authentication prompt is open. After the relaunch, Ask Key is locked again and timed allowances have ended.
- Update checks are Ask Key's only outbound network requests:
askkey.sudohg.com(through Cloudflare) and GitHub see your IP address, the app version and your preferred languages. No system profile is sent. With automatic checks off, Ask Key makes no request until you choose Check for Updates….
Upgrading from 0.5.0
- 0.5.0 has no updater, so install this version by hand: quit Ask Key, download and verify the new DMG as below, replace
/Applications/Ask Key.app, and open Ask Key from Applications. Later versions arrive through the updater. - There is no library migration. Credentials, permissions, Agent access settings and End Timed Allow on Lock are kept without a Resume step. Connected agents need no setup change.
- Downgrading to 0.5.0 keeps the library and settings.
Upgrading from 0.4.0 or earlier? Read the 0.5.0 and 0.4.0 notes first.
Install
- Download
AskKey.dmgandAskKey.dmg.sha256below; runshasum -a 256 -c AskKey.dmg.sha256to verify the image. - Open the DMG and drag Ask Key into Applications. Keep its name and location, or agents cannot connect and Ask Key does not check for updates.
- Open Ask Key and follow the welcome page.
Good to know
- Keep the originals of your credentials elsewhere; there is no built-in backup or recovery.
- Ask Key requires macOS 14 or later.
- An approved program can print, copy or forward what it receives.
If something in Ask Key gets in your way, or you have an idea for it, please open an issue. Bug reports, feature ideas and questions are all welcome.
Full details: Changelog · README · Security · ADR 0011: in-app updates
中文
新增
- 应用内更新。 请旨可以检查新版本,在你确认后安装。第二次启动时,请旨会询问是否自动检查更新(每天一次)。之后可以在“设置 → 通用”中用“自动检查更新”更改,也可以随时在那里或菜单栏图标的菜单中选择“检查更新…”。
- 更新窗口会说明新版本改了什么,按请旨的语言设置显示中文或英文。定时检查发现更新时,窗口出现但不抢焦点;如果允许了请旨的通知,还会收到一条注明版本号的通知。
修复
- 打开管理窗口时,“关于请旨”和更新窗口会显示在最前面。之前“关于”窗口会被其他应用的窗口挡住。
- 菜单栏、“关于”窗口、系统对话框和更新窗口跟随请旨的语言设置,而不是 macOS 的语言。更改设置后,它们在下次打开请旨时切换;请旨自己的窗口立即切换。
安全
- 不会静默安装。更新信息和更新包都必须带有请旨密钥的有效签名。
- 安装会等到没有待批准的请求、没有进行中的请求、也没有打开的验证窗口。重启后请旨重新锁定,所有限时允许随之结束。
- 检查更新是请旨唯一的对外网络请求:
askkey.sudohg.com(经由 Cloudflare)和 GitHub 能看到你的 IP 地址、应用版本和首选语言,不会发送系统概况。关闭自动检查后,只有在你选择“检查更新…”时才会发出请求。
从 0.5.0 升级
- 0.5.0 没有更新功能,这一版需要手动安装:退出请旨,按下面的安装步骤下载并校验新版 DMG,替换
/Applications/Ask Key.app,再从“应用程序”打开请旨。之后的版本可以通过应用内更新获取。 - 这次没有凭证库迁移。凭证、权限、Agent 访问设置和“锁屏时结束限时允许”都会保留,无需“恢复 Agent 访问”。已连接的 Agent 无需重新配置。
- 降级到 0.5.0 会保留凭证库和设置。
从 0.4.0 或更早版本升级?请先阅读 0.5.0 和 0.4.0 的发布说明。
安装
- 下载下面的
AskKey.dmg和AskKey.dmg.sha256,运行shasum -a 256 -c AskKey.dmg.sha256校验镜像。 - 打开 DMG,把“Ask Key”拖进“应用程序”。不要改名或更换位置,否则 Agent 连不上,请旨也不会检查更新。
- 打开请旨,按欢迎页操作。
请注意
- 请在其他地方保留凭证原件;没有内置的备份和恢复功能。
- 需要 macOS 14 或更高版本。
- 获准的程序可以打印、复制或转发收到的内容。
用请旨时遇到不顺手的地方,或者有任何想法,欢迎提交 issue。问题反馈、功能建议和使用疑问都可以。
详细信息:更新日志 · README · 安全说明 · ADR 0011:应用内更新