How to Create GitHub Verified Commits on a MacBook M1

Background One day, I impulsively turned on GitHub’s Vigilant mode. As a result, all my commits started looking like this. To figure out how to make them Verified, I found the following method. Method I actually referred to this link. However, it wasn’t quite enough, as there might be authentication-related issues on MacBooks that lead to commit errors. So, I found this solution. In summary, to verify, you need to enter a password. The issue on a Mac is the prompt for entering the password, which needs to be replaced with pinentry-mac, which most people install via homebrew. ...

February 12, 2022 · 1 min · 204 words · Jack Yu