All commits? That seems completely ruinous to productivity, I can only see it working for legacy development where you type code manually.
I'm not certain it is. How often do you push per day?
You technically only need a fingerprint right before you push, so you can sign all the commits just then.
You could probably limit it to all pushes with limited productivity impact, assuming you keep your commits local until you're fully ready for review. Many AI code review tools have CLI options, etc. Even at 30+ new PRs a day and maybe 10 change requests, it's definitely a net negative to productivity but not ruinous
This is an absurd statement unless you are committing hundreds of times per day (which would also be absurd).
[dead]
My company mandates signing with Yubikey + touch for every commit for years now. I am close to 9k commits in about 4y apparently according to pinentry. It's fine. The count is inflated by rebases on branches with many commits where you can just keep the finger on the key.
My biggest issue now with AI is that I usually miss the blinking led because I have multiple things going on in parallel, so I have a memory to retry which means I need to re-enter the pin to unlock, but at least it's a pop up in your face. If I leave it to do things in the background and I want commits, I ask it not to sign the commits, and I resign them at the end. It probably needs a history cleanup anyway in this case.