fix reading of private key

remotes/origin/poc-doctrine-migrations
Thomas Müller 11 years ago
parent ffa115b517
commit f816acde27
  1. 2
      apps/encryption/lib/crypto/crypt.php

@ -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…
Cancel
Save