Mac specific

  1. Install pass

    brew install pass pinentry-mac
    
    echo "pinentry-program `which pinentry-mac`" >> ~/.gnupg/gpg-agent.conf
    
    gpgconf --kill gpg-agent
    
    defaults write org.gpgtools.common UseKeychain -bool NO
    
  2. Install pass-simple

    brew install --cask shemeshg/homebrew-tap/pass-simple
    
  3. "XYZ Is Damaged and Can’t Be Opened. You Should Move It To The Trash"

    See https://discussions.apple.com/thread/253714860?sortBy=rank

    xattr -c /Applications/pass-simple.app/
    codesign --force --deep --sign - /Applications/pass-simple.app
    
  4. Mac has no /dev/shm you can create temporary ram drive after every boot with.

    diskutil erasevolume HFS+ RAM_Disk_4G `hdiutil attach -nomount ram://8192000`
    
  5. alias for cli

    alias pass-simple='nohup /Applications/pass-simple.app/Contents/MacOS/pass-simple > /dev/null 2>&1 &'
    

dev packages

brew install gpgme libgpg-error pinentry-mac
brew tap rnpgp/rnp
brew install rnp