this post was submitted on 11 Apr 2025
214 points (95.7% liked)

Programmer Humor

22837 readers
673 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
[–] SchwertImStein@lemmy.dbzer0.com 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

second paragraph should have "anyone has access to your public key"

[–] Xanza@lemm.ee 0 points 2 weeks ago (2 children)

Anyone only has access to your public key if you give them access to your public key. So no, not really. They should have access to it. It's not something you should keep private, but SSH shared keys aren't PGP shared keys. There's no key servers for SSH shared keys.

[–] SchwertImStein@lemmy.dbzer0.com 2 points 2 weeks ago (1 children)

look at last sentence of the second paragraph. Is this what you wanted to write?

[–] Xanza@lemm.ee 1 points 2 weeks ago (1 children)

Then, anyone in the world can verify your signed statement using your public key.

Of course. The only barrier is the possession of your public key. I really don't understand what you're getting at here. Anyone with your public key can verify a PSK signed statement you made, which obviously is predicated on them having access to the key.

[–] eager_eagle@lemmy.world 1 points 2 weeks ago* (last edited 2 weeks ago)

"Alternatively, anyone has access to your ~~private~~ public key, and can encrypt data using it, that only the owner, with access to the private key, can decrypt."