fix migration from old to new encryption

remotes/origin/stable6
Björn Schießle 12 years ago
parent f8d1c32112
commit 8b35578833
  1. 2
      apps/files_encryption/hooks/hooks.php
  2. 2
      apps/files_encryption/lib/crypt.php

@ -82,8 +82,6 @@ class Hooks {
}
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
// Encrypt existing user files:
// This serves to upgrade old versions of the encryption
// app (see appinfo/spec.txt)

@ -613,7 +613,7 @@ class Crypt
$decrypted = $bf->decrypt( $content );
return rtrim( $decrypted, "\0" );;
return $decrypted;
}

Loading…
Cancel
Save