this post was submitted on 11 Apr 2025
235 points (100.0% liked)

Programmer Humor

23358 readers
1762 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago (1 children)

Wouldn’t that mean you’d have to share your public key anyway?

Public keys aren't meant to be private. The function is literally in the name... But no, you don't necessarily have to share your public key, but for someone to verify that a specific public key was used to sign a commit, the public key is required. So there's absolutely no reason to sign your commits if you intend on keeping your public key, private... It completely defeats the entire purpose....

[–] [email protected] 1 points 1 month ago

Thanks, i know what "public" means.
I don't see "not usually installed on your system" as a strong enough disadvantage to PGP for this use case.