Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Mark method as deprecated
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan and nickvergessen authored Sep 13, 2022
commit ef31396727771eb771b450e91e7b097b2ca151b9
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ private function hashToken(string $token): string {
}

/**
* @depreacted Fallback for instances where the secret might not have been set by accident
* @deprecated Fallback for instances where the secret might not have been set by accident
*/
private function hashTokenWithEmptySecret(string $token): string {
return hash('sha512', $token);
Expand Down
1 change: 0 additions & 1 deletion lib/private/Security/Crypto.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public function decrypt(string $authenticatedCiphertext, string $password = ''):
// Retry with empty secret as a fallback for instances where the secret might not have been set by accident
return $this->decryptWithoutSecret($authenticatedCiphertext, '');
}

throw $e;
}
}
Expand Down