bruvzg
bruvzg
> Actually it's not necessary to use module directly, it can use generic CryptoKey andCrypto directly for RSA. Nop, no gonna work with module at all, PCK is loaded before...
> I'm not sure that's the best course of action tbh... it seems very error prone this way, and unlike encryption, hashing is meant to be fast and the heavy...
> I'll benchmark it, but I suspect hashing the whole pack won't be fast enough to be completely seamless (especially on older mobile platforms and with large packs). Tested it...
> keep in mind, on those old systems, even reading the PCK from disk will be way slower than the 200 MB/s It does not matter, PCK is not read...
Changed PR to use RSA from `mbedtls` module, without adding ECDSA code to the core (but as I mentioned before it adds extra init level to make sure `mbedtls` module...
> Right, then it make sense to only sign the metadata (which includes file hashes), but we still need to verify the hashes for all files (when we load them...
> I guess we can remove MD5 hash, not sure why it was there in the first place, it's not used for anything. Actually, it seems to be exposed via...
> I understand one may not care about verifying e.g. textures (though again, the speed difference will be minimal), but this is, as I said, very error prone, since a...
Removed MD5 hashes.
> On macOS/Linux loads and uses system provided libiconv library ~Seems like most Linux distros do not include iconv, glibc should have some sort of built-in implementation, but seems like...