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

  • MTK@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    17 hours ago

    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@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      Nah photos, would be better and or theres an app that can import gpg keys from photos. I dont quite remember what it is tho

  • SomeAmateur@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    20 hours ago

    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

  • TranquilTurbulence@lemmy.zip
    link
    fedilink
    English
    arrow-up
    34
    ·
    1 day ago

    Back in the day, when forums were still a thing, I dumped a bunch of binary into my signature and waited for someone to figure out what it says. Eventually, someone did go through the trouble of converting it to hex, ASCII, HTML, ROT13, BASE64 or whatever random conversions I had access to at the time. Anyway, one day I got a message about it, and I was so delighted.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 day ago

      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.

    • Steamymoomilk@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      36
      arrow-down
      1
      ·
      edit-2
      1 day ago

      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

        • Steamymoomilk@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          19
          ·
          1 day ago

          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

        • balsoft@lemmy.ml
          link
          fedilink
          arrow-up
          13
          ·
          1 day ago

          Are you sure you understand how PGP works?

          Are you sure you understand how PGP works?

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    7
    ·
    24 hours ago

    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.

  • Arthur Besse@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    22 hours ago

    how did you choose which areas to redact? were you careful to be sure to get the parts that have the key’s name and email address?

    • Steamymoomilk@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      17 hours ago

      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@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        18 hours ago

        were you careful to be sure to get the parts that have the key’s name and email address?

        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.

        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 (or hexdump) - try pasting half of your ascii-armored key in to base64 -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@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          18 hours ago

          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.

  • zorro@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    1 day ago

    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

    • Ferk@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      22 hours ago
      • Pretty Good Privacy (PGP): The first implementation of a set of methods used for signing, encrypting, and decrypting texts, emails and files that ultimately became a standard called “OpenPGP” (RFC 4880), the program itself was commercial/proprietary. Sometimes “PGP” is also used to call the standard itself for short.

      • GNU Privacy Guard (GPG): A popular Free and Open Source program from the GNU project that uses/implements the OpenPGP standards