Remix.run Logo
▲ stanmancan a day ago

A few months ago I updated my workflow so my git signing keys are in 1Password. All commits and git pushes require my finger print. It's a bit annoying, but at least I can feel a bit more confident that I was present for the commits and pushes.

▲piqufoh a day ago | parent | next [-]

I do this too - if my laptop gets swiped then my keys are safe (there are no github private keys on this machine). Logical question - why did the 1Password dev not also use this feature?

▲thom a day ago | parent [-]

Isn't your drive encrypted anyway?

▲sgarman a day ago | parent [-]

On os x it's default encrypted, not sure what OP is using - moving ssh to 1password isn't for that attack vector, it's to protect AI agents, compromised node libs etc reading your ssh keys off disk.

▲thom a day ago | parent [-]

Gotcha. I do keep my keys in 1Password either way. My agent has its own user account with a 1Password service account to get its own secrets. I realise that a berserk agent could find its way to root on the machine, but I don't lose much sleep about that.

▲kristofferR a day ago | parent | prev [-]

All commits? That seems completely ruinous to productivity, I can only see it working for legacy development where you type code manually.

▲ablob a day ago | parent | next [-]

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.

▲kristofferR a day ago | parent [-]

True, I just checked, and I did an average of 58 pushes per day last month. I guess that would not be too cumbersome - would be interesting actually to check how many times per day I use the fingerprint reader on my Macbook already.

▲ryandrake a day ago | parent | next [-]

Absolutely wild to learn that some development shops are like this. 58 pushes per day?

▲allannienhuis a day ago | parent | next [-]

I can see that - I just checked, and I'm averaging 85 commits per day this past week. Obviously not every commit is pushed right away; many are batched. These are pushes to our development/integration branches not production, and this isn't double-counting commits on local feature branches.

The rate of change these tools enable is incredible.

▲StrangeWill a day ago | parent | prev [-]

Some people just slop shit together, even before AI they were committing multiple minor (and completely uncompileable changes).

If your workflow is painful when you implement the most basic security, reconsider your workflow, not security.

▲btown a day ago | parent | prev [-]

There's an argument that we as an industry move away from continuous delivery and towards the Fine Art of Release Management.

▲Leherenn a day ago | parent | prev | next [-]

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.

▲akerl_ a day ago | parent [-]

You might find something like https://github.com/palantir/gpg-tap-notifier-macos useful.

▲Antoniocl a day ago | parent | prev | next [-]

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

▲LtWorf a day ago | parent | prev | next [-]

Some people actually make sure that what they are committing works, before wasting the time to run the CI.

But I guess that's not the vibe work flow.

▲tempfile a day ago | parent | prev | next [-]

This is an absurd statement unless you are committing hundreds of times per day (which would also be absurd).

▲ikiris a day ago | parent | next [-]

At which point you should stop using git as a database

▲LtWorf a day ago | parent | prev [-]

Many developers change something random, then push to run the CI, then try again. Now automated by AI.

It's not fun to work in places with such developers where they hog all the build servers and it takes 3 hours to push something.

Thankfully I had the right to bump jobs in the queue so I'd do that if I needed something quick, the people who are just random/vibe coding can wait.

▲sick_of_slop a day ago | parent | prev [-]

[dead]