maxgoedjen / secretive

Store SSH keys in the Secure Enclave
MIT License
7.16k stars 158 forks source link

Proposal: Let users select a secret for Git SSH signing #442

Closed gl-njanz closed 1 year ago

gl-njanz commented 1 year ago

I'd like to propose a setting that lets user set their preferred Git user.signingkey.\ Perhaps as a button in SecretListItemView context menu?

slimm609 commented 1 year ago

This should be set on a per repo list

git config user.signingKey $pubkey/path/key.pub
maxgoedjen commented 1 year ago

Yeah I'm inclined to agree with @slimm609 here – basically the posture we've taken so far is "let the requester specify what key they want via their native config mechanisms" for everything. If there's some reason that that approach specifically wouldn't work for your use case, please reopen this, I'd be interested in hearing about it.