Skip to content

GoldenPassport 0.3.0

Latest

Choose a tag to compare

@thatscode thatscode released this 22 Nov 04:26

Already on 0.2.3? Choose Check for Updates… and click Download and Install. Coming from 0.2.2 or earlier, download GoldenPassport-0.3.0.zip, unzip it and run install.sh as described in INSTALL.md (中文:安装说明.md). Signed with a Developer ID and notarized by Apple. Requires macOS 13 or later; runs natively on Apple Silicon and on Intel.

What's new

  • Import from other authenticators. Import from Another Authenticator… reads the QR codes of Google Authenticator's Transfer accounts → Export accounts, and otpauth:// links, from images you drop, choose or paste, or from pasted text. Exports split over several QR codes can be read one by one; the window shows which codes are still missing. Every account is listed before importing: accounts you already have stay unchecked, clashing names get a number, and counter-based (HOTP) accounts are shown but can't be imported. Google Authenticator for Android blocks screenshots, so photograph the code with another device and send the photo to this Mac. Microsoft Authenticator and Authy can't export accounts. See Moving from another authenticator.
  • Encrypted backups. Export → Encrypted Backup (.gpbackup) (⌘E) asks for a password twice and saves your accounts, names and order included, encrypted with AES-256-GCM under a key derived from the password (PBKDF2-HMAC-SHA256, 600,000 iterations). Import… opens these files after asking for the password; a wrong password or a changed file imports nothing. GoldenPassport doesn't keep the password, so a forgotten one can't be recovered. The unencrypted .secrets and .txt exports are still there.
  • Copied codes don't linger on the clipboard. Codes copied from the menu or typed by a hotkey are marked as confidential, so clipboard managers that honor the nspasteboard.org markers leave them out of their history. They are removed from the clipboard once they expire (30 to 60 seconds after copying for most accounts) unless you copied something else since, and right away when you quit.

Fixes

  • Building from source works with Xcode 16 again.
  • install.sh shows the notes about hotkeys and Accessibility only when they apply. Updates from 0.2.1 or later keep the Accessibility permission.

The data format doesn't change, so an earlier 0.2.x still reads your accounts if you go back.

Caution

install.sh backs up your current app and data to ~/GoldenPassport-backups/, unencrypted. Delete it with cleanup.sh once you no longer need to roll back, and never share it.


简体中文

已经是 0.2.3? 点「检查更新…」,再点「下载并安装」。从 0.2.2 或更早的版本升级:下载 GoldenPassport-0.3.0.zip,解压后按 安装说明.md 运行 install.sh。使用 Developer ID 签名并经过 Apple 公证,需要 macOS 13 或更高版本,原生支持 Apple 芯片,也支持 Intel。

新功能

  • 从其他验证器导入。 「从其他验证器导入…」可以从拖入、选择或粘贴的图片,以及粘贴的文本中,读取 Google Authenticator「转移账号 → 导出账号」生成的二维码和 otpauth:// 链接。分成几张的导出可以一张张读,窗口会显示还差哪几张。导入前会列出所有账号:已经有的账号默认不勾选,名称重复的自动加编号,按次数计数(HOTP)的账号会显示但不能导入。安卓版 Google Authenticator 不能截图,请用另一台设备拍下二维码,再传到这台 Mac。Microsoft Authenticator 和 Authy 无法导出账号。详见从其他验证器迁移。
  • 加密备份。 「导出 → 加密备份(.gpbackup)」(⌘E)会让你输入两次密码,把账号连同名称和顺序用 AES-256-GCM 加密保存,密钥由密码通过 PBKDF2-HMAC-SHA256 迭代 600,000 次派生。「导入…」能打开这种文件,先要求输入密码;密码不对或文件被改过,不会导入任何内容。GoldenPassport 不保存密码,忘记了就无法恢复。不加密的 .secrets 和 .txt 导出仍然保留。
  • 复制的验证码不会一直留在剪贴板里。 从菜单复制或用快捷键填入的验证码带有「机密内容」标记,遵循 nspasteboard.org 标记的剪贴板工具不会把它们记进历史。验证码过期后(大多数账号是复制后 30 到 60 秒)会从剪贴板清除,期间复制过别的内容则不动;退出 App 时会立刻清除。

问题修复

  • 又可以用 Xcode 16 从源码构建了。
  • install.sh 只在适用时才显示关于快捷键和辅助功能的提示。从 0.2.1 或更新的版本升级会保留辅助功能授权。

数据格式没有变化,退回更早的 0.2.x 版本后仍然能读取你的账号。

[!CAUTION]
install.sh 会把当前的 App 和数据备份到 ~/GoldenPassport-backups/,备份没有加密。确认不再需要回退后,请用 cleanup.sh 删除,也不要把它发给任何人。