mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
WIP: Allow decrypting logins/credentials via the API
This commit is contained in:
@@ -297,7 +297,7 @@ function encryptUserSpecificKey($user_password)
|
||||
return $salt . $iv . $ciphertext;
|
||||
}
|
||||
|
||||
// Given a ciphertext (incl. IV) and the user's password, returns the site master key
|
||||
// Given a ciphertext (incl. IV) and the user's (or API key) password, returns the site master key
|
||||
// Ran at login, to facilitate generateUserSessionKey
|
||||
function decryptUserSpecificKey($user_encryption_ciphertext, $user_password)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user