Skip to content

Conversation

@davitol
Copy link
Contributor

@davitol davitol commented Jun 6, 2016

Fixes #23695

@DeepDiver1975 DeepDiver1975 added this to the 9.1-current milestone Jun 6, 2016
$result = $this->decryptAll->decryptAll($input, $output, $user);
if ($result === false) {
$output->writeln(' aborted.');
$output->write('Enable server side encryption... ');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

writeln please

@davitol
Copy link
Contributor Author

davitol commented Jun 6, 2016

if (empty($uid)) {
this line should be fix too when #24994 check will be solved

@PVince81
Copy link
Contributor

PVince81 commented Jun 6, 2016

@davitol did you try changing this check instead

if (empty($user)) {
?

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)) {
Copy link
Contributor

@nickvergessen nickvergessen Jun 7, 2016

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

@nickvergessen
Copy link
Contributor

Needs rebase after #24998 is merged

@SergioBertolinSG
Copy link
Contributor

I'll take this over.

@nickvergessen
Copy link
Contributor

👍

@guruz
Copy link
Contributor

guruz commented Jun 7, 2016

👍

@PVince81 PVince81 merged commit 9b6125e into master Jun 8, 2016
@PVince81 PVince81 deleted the fix_decrypt_message branch June 8, 2016 08:12
@DeepDiver1975
Copy link
Member

@davitol please prepare a pull request for stable9 holding these changes - no idea if #25022 and #24998 are required as well - THX

@DeepDiver1975 DeepDiver1975 self-assigned this Jun 10, 2016
@DeepDiver1975
Copy link
Member

I'll take care about the backport

@PVince81
Copy link
Contributor

stable9: #25188

@lock
Copy link

lock bot commented Aug 5, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When trying to decrypt a single user using occ it states to decrypt ALL files

8 participants