fork-dev / Tracker

Bug and issue tracker for Fork for Mac
498 stars 12 forks source link

[Feature] attempt to infer GPG key from Git user email #1982

Open olets opened 9 months ago

olets commented 9 months ago

Request: if a repo is configured to use GPG commit signing, and one available GPG key is associated with the selected Git user, automatically select that GPG key.

--

Use case:

I typically have a business Git user and a personal Git user. Each user's email has an associated GPG key.

Until fairly recently (a few months ago?) if I opened Fork with open -a Fork I could commit in Fork and get my expected GPG signing. Now (maybe since the release of Fork's GPG key drop down?) that doesn't work: I have to open the Fork repo settings, and select the correct GPG key.

--

Some people may have more than GPG key associated with a given email. For that case there could be a "not sure which key to use, click here to open the preferences" dialog.