И я уже застрял на первом этапе - расшифровке ключа, привязанного к приложению.
Код: Выделить всё
var appBoundEncKeyB64 = JObject.Parse(localState)["os_crypt"]["app_bound_encrypted_key"].ToString();
var appBoundEncKey = Convert.FromBase64String(appBoundEncKeyB64).Skip(4).ToArray();
var appBoundDecodedKey = ProtectedData.Unprotect(appBoundEncKey, null, DataProtectionScope.LocalMachine);
Код: Выделить всё
System.Security.Cryptography.CryptographicException: 'Key not valid for use in specified state.'
Подробнее здесь: https://stackoverflow.com/questions/793 ... 20-cookies
Мобильная версия