mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-20 01:46:17 +00:00
Remove support for encrypted_gid (v1)
This commit is contained in:
1 parent
33f78dfff5
commit
4f7b601e2c
1 file changed
-15
@@ -255,23 +255,8 @@ namespace DepotDownloader
|
||||
Config.BetaPassword = password = Console.ReadLine();
|
||||
}
|
||||
|
||||
var encrypted_v1 = node_encrypted["encrypted_gid"];
|
||||
var encrypted_v2 = node_encrypted["encrypted_gid_2"];
|
||||
|
||||
if (encrypted_v1 != KeyValue.Invalid)
|
||||
{
|
||||
var input = Util.DecodeHexString(encrypted_v1.Value);
|
||||
var manifest_bytes = CryptoHelper.VerifyAndDecryptPassword(input, password);
|
||||
|
||||
if (manifest_bytes == null)
|
||||
{
|
||||
Console.WriteLine("Password was invalid for branch {0}", branch);
|
||||
return INVALID_MANIFEST_ID;
|
||||
}
|
||||
|
||||
return BitConverter.ToUInt64(manifest_bytes, 0);
|
||||
}
|
||||
|
||||
if (encrypted_v2 != KeyValue.Invalid)
|
||||
{
|
||||
// Submit the password to Steam now to get encryption keys
|
||||
|
||||
Reference in new issue
Block a user