File tree Expand file tree Collapse file tree 1 file changed +57
-1
lines changed
Expand file tree Collapse file tree 1 file changed +57
-1
lines changed Original file line number Diff line number Diff line change 3434use OC \Security \IdentityProof \Key ;
3535use OC \Setup ;
3636use OC \SystemConfig ;
37+ use OCA \Encryption \Controller \RecoveryController ;
38+ use OCA \Encryption \Controller \SettingsController ;
39+ use OCA \Encryption \Crypto \Crypt ;
40+ use OCA \Encryption \Crypto \Encryption ;
41+ use OCA \Encryption \Hooks \UserHooks ;
42+ use OCA \Encryption \KeyManager ;
43+ use OCA \Encryption \Session ;
3744
3845class ExceptionSerializer {
3946 public const methodsWithSensitiveParameters = [
@@ -118,7 +125,56 @@ public function __construct(SystemConfig $systemConfig) {
118125 ],
119126 \RedisCluster::class => [
120127 '__construct '
121- ]
128+ ],
129+ Crypt::class => [
130+ 'symmetricEncryptFileContent ' ,
131+ 'encrypt ' ,
132+ 'generatePasswordHash ' ,
133+ 'encryptPrivateKey ' ,
134+ 'decryptPrivateKey ' ,
135+ 'isValidPrivateKey ' ,
136+ 'symmetricDecryptFileContent ' ,
137+ 'checkSignature ' ,
138+ 'createSignature ' ,
139+ 'decrypt ' ,
140+ 'multiKeyDecrypt ' ,
141+ 'multiKeyEncrypt ' ,
142+ ],
143+ RecoveryController::class => [
144+ 'adminRecovery ' ,
145+ 'changeRecoveryPassword '
146+ ],
147+ SettingsController::class => [
148+ 'updatePrivateKeyPassword ' ,
149+ ],
150+ Encryption::class => [
151+ 'encrypt ' ,
152+ 'decrypt ' ,
153+ ],
154+ KeyManager::class => [
155+ 'checkRecoveryPassword ' ,
156+ 'storeKeyPair ' ,
157+ 'setRecoveryKey ' ,
158+ 'setPrivateKey ' ,
159+ 'setFileKey ' ,
160+ 'setAllFileKeys ' ,
161+ ],
162+ Session::class => [
163+ 'setPrivateKey ' ,
164+ 'prepareDecryptAll ' ,
165+ ],
166+ \OCA \Encryption \Users \Setup::class => [
167+ 'setupUser ' ,
168+ ],
169+ UserHooks::class => [
170+ 'login ' ,
171+ 'postCreateUser ' ,
172+ 'postDeleteUser ' ,
173+ 'prePasswordReset ' ,
174+ 'postPasswordReset ' ,
175+ 'preSetPassphrase ' ,
176+ 'setPassphrase ' ,
177+ ],
122178 ];
123179
124180 private function editTrace (array &$ sensitiveValues , array $ traceLine ): array {
You can’t perform that action at this time.
0 commit comments