this post was submitted on 17 Sep 2026
1147 points (98.9% liked)

Programmer Humor

33298 readers
1187 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] queerlilhayseed@piefed.blahaj.zone 46 points 4 days ago* (last edited 4 days ago) (1 children)

Haha I started trying to format the text so that it was technically a valid ed25519 key, then it became too much work for a silly joke so I settled for filtering/replacing all the invalid chars and slapping the == padding at the end. Needs more AAAAAA strings to really sell it, I think, but I'm glad it turned out well enough to merit a second glance lol.

Edit: I swapped all instances of fuck|fucker|fucking with As, I think it's an improvement.

[–] Magnum@infosec.pub 16 points 4 days ago (3 children)

It is very good - I will steal it.

[–] jaybone@lemmy.zip 18 points 4 days ago (1 children)

Now reverse engineer a matching public key.

[–] TwilightKiddy@scribe.disroot.org 5 points 4 days ago (1 children)

What do you mean "reverse engineer"? From man ssh-keygen:

       -y      This option will read a private OpenSSH format file and print an OpenSSH public key to stdout.
[–] jaybone@lemmy.zip 2 points 3 days ago (1 children)

Post the output when you run that on the key that was posted.

[–] TwilightKiddy@scribe.disroot.org 3 points 3 days ago* (last edited 3 days ago)

That's not a valid key. OpenSSH keys are not arbitrary bytes, they contain at least the type of the certificate used and a hostname.

The fact that this is not a valid key does not mean you need to reverse engineer public keys. By design you can just get a public key with a private one.

Someone help I'm being hacked!

[–] Trampampoline@sh.itjust.works 5 points 4 days ago

NO ONE WILL EVER KNOW