Skip to content

Command files:checksums:verify should inform that it is not prepared to work with encryption instead of fail. #31136

Open
@SergioBertolinSG

Description

@SergioBertolinSG

Steps to reproduce

  1. Having a server with encryption enabled.
  2. Run files:checksums:verify command.

Expected behavior

Inform the admin user running the command that this command is not available when encryption is enabled.

Actual behavior

It tries to run, but it fails because the command is not prepared to run with encryption.

screen shot 2018-04-16 at 12 34 20

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache

Database:
MySQL

PHP version:
7.1

Cache
DB

ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"10.0.8.1","versionstring":"10.0.8 RC1","edition":"Enterprise","productname":"ownCloud"}

Updated from an older ownCloud or fresh install:
Fresh

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
No.

Are you using encryption:
Yes.

Logs

{"reqId":"Ugypt0xyy66gMfI4Bvoj","level":3,"time":"2018-04-16T10:32:33+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you."}

Client configuration

Browser
Chrome.

cc @IljaN @pmaier1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions