X Tutup
Skip to content

missing -y option in occ encryption:encrypt-all -y #33

@cdamken

Description

@cdamken

Expected behavior:

To create a script to encrypt automatically:

#!/bin bash
occ app:enable encryption
occ encryption:enable
occ encryption:select-encryption-type masterkey -y
occ encryption:encrypt-all -y

Actual behavior:

Manually works except for the last command:

# occ app:enable encryption
encryption enabled
# occ encryption:enable
Encryption enabled

Default module: OC_DEFAULT_MODULE
# occ encryption:select-encryption-type masterkey -y
Master key successfully enabled.
occ encryption:encrypt-all -y

                                   
  The "-y" option does not exist.  
                                   

encryption:encrypt-all

This -y option is possible with other commands, for example:

occ encryption:select-encryption-type masterkey -y

it would be good to have the option -y :

occ encryption:encrypt-all -y

it makes no sense to have the options -n and -q if there is no -y

# occ encryption:encrypt-all --help
Usage:
  encryption:encrypt-all

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --no-warnings     Skip global warnings, show command output only
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  This will encrypt all files for all users. Please make sure that no user access his files during this process!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup