mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
fix reading of private key
This commit is contained in:
parent
ffa115b517
commit
f816acde27
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ class Crypt {
|
|||
if (!empty($header)) {
|
||||
$privateKey = substr($privateKey,
|
||||
strpos($privateKey,
|
||||
self::HEADER_END) + strlen(self::HEADER_START));
|
||||
self::HEADER_END) + strlen(self::HEADER_END));
|
||||
}
|
||||
|
||||
$plainKey = $this->symmetricDecryptFileContent($privateKey,
|
||||
|
|
|
|||
Loading…
Reference in a new issue