105
you are viewing a single comment's thread
view the rest of the comments
[-] Kolanaki@yiffit.net 3 points 1 year ago* (last edited 1 year ago)

I don't know why a few of these emulators require stuff from real hardware in the first place. Bleem didn't and wasn't passing around copyrighted material, yet every other PS1 and PS2 emulators I know of require .BIN files dumped from a real unit. This is the main thing behind Dolphin being taken off Steam; they're distributing a thing that is violating a copyright. Surely there is a way around this Wii key bullshit the same way Bleem was able to operate without an actual playstation BIOS, right?

[-] somedev@lemmy.ml 12 points 1 year ago

Did you even read the post? They say that they believe that including the decryption key is not violating anything as its only a small portion of the software.

It was taken off Steam because Valve asked Nintendo how they felt about it - Nintendo obviously didn't like it, so Valve said Dolphin needs to be removed unless they can get permission from Nintendo.

[-] Kolanaki@yiffit.net 8 points 1 year ago

Them believing it isn't the same thing as actually being ok.

[-] copygirl@lemmy.blahaj.zone 12 points 1 year ago

Surely you know more than the lawyers Dolphin got help from.

[-] lowleveldata@programming.dev 5 points 1 year ago* (last edited 1 year ago)

The lawyers didn't say "it is ok".

we do not think that including the Wii Common Key actually matters - the law could easily be interpreted to say that circumventing a Wii disc's encryption by any means is a violation

Their conclusion is that it doesn't matter because it might or might not be ok either way.

[-] Lionir@beehaw.org 2 points 1 year ago

Note that they also say:

Dolphin is an independently created computer program that is circumventing Wii disc encryption for interoperability with Wii software. According to this exemption, this does not constitute infringement under 17 U.S.C. § 1201. This exemption even allows distribution of information collected through circumvention, like encryption keys, if it is for software interoperability.

17 U.S.C. § 1201(f) is a significant legal protection for emulation in the US, and it is why Nintendo has yet to legally challenge any emulator with the DMCA anti-circumvention clauses despite the law going into effect 25 years ago. Unless a court rules that our understanding of the law is incorrect, we have every reason to believe that our decryption of Wii game discs is covered by this exemption.

Their conclusion is that they believe that they fit in the exemption clauses of the DMCA and therefore, they are not breaking the DMCA by including a mechanism or the key. They think that the exemption clause might not apply if the key or decryption mechanism was standalone.

[-] nekusoul@lemmy.nekusoul.de 12 points 1 year ago* (last edited 1 year ago)

Yup. Although it seems like Nintendo is believing it as well, considering they didn't already shut the project down years ago. Either that or Nintendo just doesn't want to risk a second Bleem ruling, legalizing emulation even further.

[-] 520@kbin.social 11 points 1 year ago

It's a bit different when encryption gets involved. Unlike the original firmware files, there's no way around putting emcryption keys in an emulator.

[-] argv_minus_one@beehaw.org 11 points 1 year ago

You can operate without a BIOS if you implement a compatible one from scratch. That's how IBM PC clones came to exist.

But an encryption key has to be exactly the same as the original, and although I doubt it can be copyrighted, it is definitely a technological protection measure per DMCA.

DMCA is a horrible law and needs to be gutted.

[-] thingsiplay@kbin.social 8 points 1 year ago

@Kolanaki BIOS is software that can be rebuild. It's always better to use the original firmware and BIOS for maximum compatibility. The Wii keys on the other hand are not software you can rebuild. These are key codes to unlock a protection, something like a serial key. So the situation is much different from the Bleem thing.

[-] JackbyDev@programming.dev 5 points 1 year ago* (last edited 1 year ago)

Would another key work? My guess is no because we're dealing with encryption and not hashing. With hashing you can theoretically find multiple inputs that make the same output. Also I have no idea how many bits the key is. It can easily go from a "get a community driven distributed computing event to crack it" to "have you heard the one about monkeys and Shakespeare?"

[-] 520@kbin.social 4 points 1 year ago

Nope. Think of the key like a massively long password. Only that password is going to be able to open the file.

[-] JackbyDev@programming.dev 3 points 1 year ago

Yeah but in theory multiple passwords can open an account because hashing doesn't produce unique output.

[-] 520@kbin.social 2 points 1 year ago* (last edited 1 year ago)

Actually it does. That's literally what hashing is supposed to do.

[-] JackbyDev@programming.dev 3 points 1 year ago
[-] 520@kbin.social 4 points 1 year ago

That is what we call an attack, or a vulnerability. It isn't supposed to happen, and at the point where it does, that algorithm becomes cryptographically insecure and should not be used.

I see what you're thinking though, as it would be such an old hash that collisions must be known, right?

Well unfortunately, what we are dealing with here is encryption, not hashing, and hash collisions do not apply as an attack vector to encryption.

You could in theory try a cryptographic attack on the encrypted data but then you run into a few other problems:

  1. you're effectively distributing a DRM bypass tool, expressly forbidden under DMCA

  2. Attacking even the likes of RC4 takes considerable compute time on modern systems

  3. If you do crack it, you legally can't store it, which compounds problem number 2.

[-] JackbyDev@programming.dev 2 points 1 year ago

Legality aside because I'm sure there's always going to be some random law that they will use (or twist) to fight this... With 3DS I remember there was a community provided cloud cracking service. I'm guessing it was either some comically weak algorithm or they found some vulnerability they were able to exploit.

But even then that's not really a good comparison because if there was some master key (I don't know the specifics) it is still physically on your 3DS and they weren't sending them around (or worse, hosting it on a store).

The situation sucks but I understand it from Valve's point of view. It's not about whether they think it is okay or not, it's about them being concerned about liability from Nintendo who are well known for protecting their IP.

[-] 520@kbin.social 4 points 1 year ago

Oh the shit on the 3DS was absolutely comical.

Get this: their digital licensing protection scheme was entirely client side. Which meant anybody with a hacked 3DS could just request any game they liked directly from the eShop.

[-] conciselyverbose@kbin.social 1 points 1 year ago

A hash can take more inputs than it has outputs. By definition there have to be collisions.

[-] 520@kbin.social 1 points 1 year ago

...what are you even talking about? A hashing algorithm takes one data input and makes one hash from said data input.

[-] conciselyverbose@kbin.social 1 points 1 year ago

A hash converts a large input into a small output. If a hash takes up to 128 ASCII characters and outputs 64, there will be ~10^135 collisions per output. This is completely normal and not a design flaw. It's simple math.

The strength of a cyyptographic hash function (not the only kind of hash or the only useful kind) is in not being predictable, not in avoiding collisions.

[-] 520@kbin.social 1 points 1 year ago* (last edited 1 year ago)

Your understanding is a little lacking.

Hash algorithms don't take an input and make it smaller. What they do is, they take an input, plug it into a mathematical formula and that outputs a string of text of fixed size, the actual size being determined by the algorithm used.

There are a few key factors people take into account while making a hashing algorithm:

  1. collision resistance. It won't ever be possible to make it completely resistant, so they aim to make it unfeasible to do with the foreseeable future of technology. Many technologies we rely on, such as TLS, rely on hashes for verification purposes, so collision resistance is very important for that.

  2. irreversibility. This is a big reason why it doesn't simply convert big output into small output (the other being that hashes can actually be bigger than the input data itself). Information is lost in the hashing process to the point where you can't take a hash and unhash it into the original data.

  3. reliability. The algorithm must create the same output given the exact same data.

  4. predictability, like you said, but only kinda. While it is true that a requirement is that an attacker must not be able to derive even part of the original data, a lot of the onus here is actually on the user to not use predictable inputs when using hashes for secure things. As said before, a hashing algorithm must give the same output when given the same input, so someone using, let's say a hashed timestamp for something secure is being a moron.

[-] conciselyverbose@kbin.social 1 points 1 year ago

They have a fixed size output, yes. That output is effectively universally substantially smaller than the input it supports. The fact that they can also take smaller inputs as well increases the actual number of inputs, because those are in addition to the number of full length messages. The point is that the input space is a fuckton of orders of magnitude larger than the output space, which means you're literally unconditionally guaranteed that collisions have to exist.

Half your points are specific to a cryptographic hash, which isn't the only kind of hash or the only useful kind of hash, but since that's what you're talking about fine.

  1. Collisions existing are normal. You can only avoid making finding a collision easier than finding the actual input for a password application and finding a collision with a modified hard to do for a checksum. The collisions still exist. In some applications of hashing, eg semantic hashing, collisions for similar inputs are desirable.

  2. Yes, this is the point of a hash, but it's not hard to do.

  3. Again, same thing. Deterministic code isn't that hard to do.

  4. Preventing predictability is the only point for a cryptographic hash (besides being deliberately heavy to prevent brute force). If there aren't systematic flaws to make the distribution of outputs distinguishable from randomness, your cryptographic hash is going its job.

[-] Kolanaki@yiffit.net 3 points 1 year ago* (last edited 1 year ago)

@thingsiplay They would have to know the encryption algorithm to emulate it in the first place, wouldn't they? Couldn't you just... Not emulate that part or use it to figure out how to break it easier?

[-] phi1997@kbin.social 5 points 1 year ago

If they don't emulate that part, they either can't read games, or they need to require games to be decrypted when dumped, and everyone needs a new set of ROMs

[-] SSUPII@sopuli.xyz 4 points 1 year ago

You literally cannot see the contents of the game without first decrypting it. Your internet connection is encrypted, your device is decrypting it with its known keys. You would not see the content of your Lemmy instance if your device didn't decrypt what it received.

[-] Buttons@programming.dev 4 points 1 year ago

Mostly right, but a bit misleading.

Almost every internet connection you make creates new keys. The miracle of encryption is that two people can stand in a room filled with cryptography experts and yell numbers at each other, and those two people are able to establish a secret between them that nobody else in the room can know, even though everyone else in the room has heard the conversation from the very beginning. Once you share a secret, you expand upon the secret to share more information.

[-] thingsiplay@kbin.social 3 points 1 year ago

@Kolanaki Cracking encryption is considered illegal I think. The only safe way I see is by providing keys to unlock, without breaking the lock. But I don't know enough about this material and just speculate around it.

[-] lowleveldata@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Knowing the algorithm shouldn't give you advantages for any encryption algorithms with practical uses. There is no point to encrypt otherwise because someone must know the algorithm before they can implement it.

this post was submitted on 20 Jul 2023
105 points (100.0% liked)

Gaming

30500 readers
90 users here now

From video gaming to card games and stuff in between, if it's gaming you can probably discuss it here!

Please Note: Gaming memes are permitted to be posted on Meme Mondays, but will otherwise be removed in an effort to allow other discussions to take place.

See also Gaming's sister community Tabletop Gaming.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS