mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
debug
This commit is contained in:
parent
430c883a88
commit
01dc8fa396
1 changed files with 5 additions and 1 deletions
|
|
@ -607,7 +607,11 @@ Database::addFilter(
|
||||||
}
|
}
|
||||||
$value = json_decode($value, true);
|
$value = json_decode($value, true);
|
||||||
$key = System::getEnv('_APP_OPENSSL_KEY_V' . $value['version']);
|
$key = System::getEnv('_APP_OPENSSL_KEY_V' . $value['version']);
|
||||||
|
var_dump([
|
||||||
|
'key' => $key,
|
||||||
|
'method' => $value['method'],
|
||||||
|
'data' => $value['data'],
|
||||||
|
]);
|
||||||
return OpenSSL::decrypt($value['data'], $value['method'], $key, 0, hex2bin($value['iv']), hex2bin($value['tag']));
|
return OpenSSL::decrypt($value['data'], $value['method'], $key, 0, hex2bin($value['iv']), hex2bin($value['tag']));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue