• 0 Posts
  • 9 Comments
Joined 2 months ago
cake
Cake day: May 2nd, 2024

help-circle


  • Tyoda@lemm.eetoAsklemmy@lemmy.mlGPL + butt hole?
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    12 days ago

    The GPL states that its text must not be modified. I take this to mean (though I’m no lawboy), that if you wanted to have a license with the same terms plus some changes (the butthole rule), you would have to rewrite the whole thing. It would not nearly be a “GPL license”.

    This is very important nitpicking I’m doing here, okay?






  • If the clients only communicate through the server, then without prior knowledge of one another, such as gpg keys, no.

    Otherwise, maybe they could both generate an RSA key. Then they would both encrypt a string of this format “<RANDOM_STRING>_<RSA_PRIVATE>”, and send that to the other. After receiving the other’s package, each one sends over their own private key. They can use this to decrypt the string, which both of them had chosen before knowing what the other had. They can use the string to decide who won based on predetermined rules.

    I put the private key in the package because this way clients can check that it was in fact the key used to encrypt it in the first place. Faking that would require infinite computing power or quantum shenanigans, I suspect.

    Also this is probably way overkill and has flaws I didn’t think of.