fix reading of private key
This commit is contained in:
parent
ffa115b517
commit
f816acde27
|
@ -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 New Issue