November 13, 2021

macOS Keychain

  1. there’re passwords with type internet-password, application password, web form password stored in macOS keychain
  2. only items with kSecAttrSynchronizable are synced
  3. wifi password and password from safari (web form password) are created with kSecAttrSynchronizable by default
  4. you can’t query web form password with macOS security command line tool
  5. you can’t create items with kSecAttrSynchronizable with macOS security command line tool
  6. keybase/go-keychain has methods to create item with kSecAttrSynchronizable

Related links:

  1. apple’s doc for keychain syncing
  2. github repo keybase/go-keychain

November 13, 2021



Previous post
My Road to Dark Mode
Next post
Inject Script Into Pages As Early As Possible With Web Extension Content Script