I made a gpg Hat
I recently have been playing around with GPG (its pretty fun!)
And decided to make a hat with my public key on it!
Its a fun conversation starter at walmart, when somebody asks what it is? It activates my tism, and i get to talk about computer science! Its also important to teach others the importants of encryption especially as of one day ago the EFF made a post talking about yet another bill trying to go after encryption.
The keen eyed among you see i have blocked out certain parts of my key, this is because i have a key for this hat exclusively and would like to see if anybody i talk to about encryption in real life bothers to email me. I know its not much but i enjoy it!
I laser etched the leather, and hand stitched it to the hat.
I know this is more kinda clothing stuff, but it just didnt feel right posting a hat with a gpg key on a fasion/clothing community.
Hope you enjoy
My little project >😀 hehe
like this
mogoh
in reply to Steamymoomilk • • •Also why no monospaced typeface?
Steamymoomilk
in reply to mogoh • • •Specific key for this hat, i wanted to share this idea. But i also wanted to see if any local people would email me.
Also didnt want to paste my email adress online LMAO.
Also cause nerd fonts IM ADDICTED
zr0
in reply to Steamymoomilk • • •Are you sure you understand how PGP works?
Also, there are mono spaced nerd fonts.
balsoft
in reply to zr0 • • •Are you sure you understand how PGP works?
Steamymoomilk
in reply to zr0 • • •Yes im aware of how asymmetric encryption works. Theres a public and private key
The public key encrypts the private decrypts. You make a web of trust off of signing others public keys verifying there identity.
I wanted a specific key pair for the hat for separation of online and in real life.
I know you can't learn much from an email, but still, Its my preference and it was i font that i liked and ended up picking. I understand it may not be your preference, please do not "yuck my yum' there are BILLIONS of fonts out there and i picked the one i liked.
Which on a separate note, i originally made a hat patch with a public key but it was DSA 3036 (the max size key i dont know if thats the right number.) And i etched it on the leather, each letter was 0.04 of a inch and was basically unreadable. So i ended up going with the default gpg preset for ecc
zorro
in reply to Steamymoomilk • • •I think it would be cool to encode your key as like a qr code so that folks can scan it.
Kinda loses the aesthetic of the classic gpg armor though
Steamymoomilk
in reply to zorro • • •I have been playing with base64 encoding tho!
ryannathans
in reply to Steamymoomilk • • •utopiah
in reply to Steamymoomilk • • •Could also be a short URL instead, e.g. lemmy.ml/post/31547467 or ideally something with keywords rather than UUID, even though here 8 digits isn't too bad.
Steamymoomilk
2025-06-12 00:15:04
neuracnu
in reply to zorro • • •Producing printable QR codes for persistent storage of GPG private keys
Gistsolrize
in reply to Steamymoomilk • • •yeehaw
in reply to Steamymoomilk • • •dysprosium
in reply to yeehaw • • •Ferk
in reply to yeehaw • • •yeehaw
in reply to Ferk • • •TranquilTurbulence
in reply to Steamymoomilk • • •utopiah
in reply to TranquilTurbulence • • •That's the kind of things I expect somebody to be into deciphering to have already a ~/Prototypes/deciphers/ directory with a bunch of scripts with the basics and maybe a testing script that iterates through them sorted by probability (maybe based on popularity) and checks output against keywords, e.g. stop words of increasing length then dictionaries.
TL;DR: I bet that person had automated that process.
TranquilTurbulence
in reply to utopiah • • •If I built a system like that, it would become really complicated, since I would just have to include all sorts of convoluted unicode trickery in it.
ӏ і κ е ț һ ï ʂ
utopiah
in reply to TranquilTurbulence • • •like this
as long as there is mapping then it's OK, it can be added as yet another filter
koper
in reply to utopiah • • •CyberChef
cyberchef.orgBlueÆther
in reply to TranquilTurbulence • • •utopiah
in reply to Steamymoomilk • • •Neat, you inspired me to post my cryptography bracelets lemmy.ml/post/31555517
utopiah
2025-06-12 04:37:46
hansolo
in reply to Steamymoomilk • • •I do like this a lot.
Since you sort of need to be there with the hat, it makes me wonder of you might get more response and/or geographic spread if you has some sort of leave behind. A sticker, or a card that you can slot in places.
I do think that leaving it as the gpg key is better, not a QR code. It helps ID this for nerds like you and me. I would never scan a wild QR.
Steamymoomilk
in reply to hansolo • • •But i never scan any of them because MALWARE
hansolo
in reply to Steamymoomilk • • •𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
in reply to Steamymoomilk • • •like this
AnxiousDuck likes this.
ferric_carcinization
in reply to 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍 • • •like this
AnxiousDuck likes this.
Zetta
in reply to ferric_carcinization • • •Steamymoomilk
in reply to Zetta • • •If there are blocks missing you cant get anything from a key. And you would half to see in in real life to corelate my user alias to my real identity.
Which i originally going to use a key that i have for online accounts (a key for steamy)
But i then realized that would then have my online account linked to my real identity
𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
in reply to Steamymoomilk • • •Steamymoomilk
in reply to 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍 • • •𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
in reply to Steamymoomilk • • •bus_factor
in reply to Steamymoomilk • • •communism
in reply to 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍 • • •𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
in reply to communism • • •Arthur Besse
in reply to Steamymoomilk • • •Steamymoomilk
in reply to Arthur Besse • • •It should be if there is chunks missing its unusable. At least thats my thinking, since gpg is usually a binary and ascii armor makes it human readable. As long as a person cannot guess the blacked out parts, there shouldnt be any data.
Kinda like binary if your missing bits of binary in a program it should be unreadable
--edit
im full of shit
Its base64 and you can somewhat decode it
Arthur Besse
in reply to Steamymoomilk • • •you are mistaken. A PGP key is a binary structure which includes the metadata. PGP's "ascii-armor" means base64-encoding that binary structure (and putting the BEGIN and END header lines around it). One can decode fragments of a base64-encoded string without having the whole thing. To confirm this, you can use a tool like
xxd
(orhexdump
) - try pasting half of your ascii-armored key in tobase64 -d | xxd
(and hit enter and ctrl-D to terminate the input) and you will see the binary structure as hex and ascii - including the key metadata. i think either half will do, as PGP keys typically have their metadata in there at least twice.Steamymoomilk
in reply to Arthur Besse • • •Yeah i realized this after i got to work and lookup up what gpg uses for ascii armor. Its base64, i used base64 -d and i could get some parts of my key.
The photo has been updated to remove alot more of the key.
Major fuckup on my part.
But i learned that ASCII armor is base64 i guess.
SomeAmateur
in reply to Steamymoomilk • • •You should do this with the Lorem Ipsum text lol
People who don't know might think it's some based quote from a Caesar or something
MTK
in reply to Steamymoomilk • • •Put an nfc tag there, you can insert it behind the leather. Write the same key on it and that way you could tip your hat onto someonea phone for a quick transfer for later communications.
With the way you stitched it, you could easily push one of the flat flexible ones there without having to mess with the stitches
Steamymoomilk
in reply to MTK • • •LoudWaterHombre
in reply to Steamymoomilk • • •Steamymoomilk
in reply to LoudWaterHombre • • •I dont quite remember what it is tho
Chais
in reply to Steamymoomilk • • •GlenRambo
in reply to Chais • • •dukatos
in reply to Steamymoomilk • • •