-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix Decrypt message via occ #24992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Decrypt message via occ #24992
Conversation
| $result = $this->decryptAll->decryptAll($input, $output, $user); | ||
| if ($result === false) { | ||
| $output->writeln(' aborted.'); | ||
| $output->write('Enable server side encryption... '); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
writeln please
|
core/core/Command/Encryption/DecryptAll.php Line 133 in eaeb5d6
|
|
@davitol did you try changing this check instead core/lib/private/Encryption/DecryptAll.php Line 144 in eaeb5d6
Or is a zero user causing issues in more pieces of the code ? |
|
|
||
| $uid = $input->getArgument('user'); | ||
| //FIXME WHEN https://github.com/owncloud/core/issues/24994 is fixed | ||
| if (empty($uid)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ($uid === null) {to allow user name '0' to act correctly.
Or
if ($uid === '') {after my patch for #24994
|
Needs rebase after #24998 is merged |
|
I'll take this over. |
|
👍 |
|
👍 |
|
I'll take care about the backport |
|
stable9: #25188 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #23695