brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: the Passwords app on your Mac can fill in two-factor codes

Security
~/tips/tip-macos-passwords-verification-codes

Passwords > select the account > Edit > Set Up Code

Stores two-factor codes for your accounts in the Mac Passwords app and fills them in.

Those six-digit codes that change every 30 seconds don’t need a separate authenticator app. The Passwords app on the Mac can make them itself, and then offer the code at the login, right where the password goes.

Start on the website or app: turn on two-factor authentication with an authenticator app, and pick the option to use a setup key (sometimes called a setup code) instead of the QR code. Copy that key. Then in Passwords:

Passwords > select the account > Edit > Set Up Code
Paste the key into Setup Key > Use Setup Key

Passwords now shows a Verification Code for that account. Click it to copy it, go back to the site and paste it where it asks for the code. That finishes the setup on the site’s side.

From then on, when the site asks for a code, a suggestion shows up and you click it. If it doesn’t, you open Passwords, copy the code and paste it yourself. If you sync Passwords with iCloud, I’d expect the code on my iPhone 17 as well, next to the password.

With the code next to the password, one place holds both factors, and how much that bothers you is a matter of taste. For most accounts that’s a fine trade, because the alternative is people not using two-factor at all. For the account that guards everything else, like your main email, I’d keep the codes in a separate app. DigiD has its own app anyway, so that one isn’t a question here.

Further reading: Set up verification codes in Passwords on Mac

More Security tips tcpdump -nn -r capture.pcap port 53 mkcert -install Strict-Transport-Security: max-age=0 Referrer-Policy: strict-origin-when-cross-origin wp super-admin list All Security tips (79) All topics

Link