@pancrypticon (Pancrypticon) posted a new topic, subject "Antivirus w/ encryption". It read:

   Hi all,
    
    I'm curious about how the Antivirus app works when home folder encryption is enabled. Is the file scanned before it's encrypted, or vice versa? Obviously the latter would make it useless, which is why it's important to know.
    
    Thanks!

After which, @Escubaer (Escubaer) added

    What is “home folder” encryption? There is user key, master key and end-to-end encryption in NC … obviously the later doesn't matter for AV and with the first two the scan happens right after assembly, prior to writing to storage …

To which @pancrypticon (Pancrypticon) replied

    Screenshot%20from%202018-07-13%2664-83-15917×336 8.64 KB

After which, @Escubaer (Escubaer) added

    Yep. AV scan is prior to encryption …

@pancrypticon (Pancrypticon) replied

    Thanks!

Then @tflidd (tflidd) said

    But think about it twice before enabling on local storage on the same server (yellow box: https://docs.nextcloud.com/server/13/admin_manual/configuration_files/encryption_configuration.html?highlight=server%20side%20encryption). And if you still want to do it, think about a good backup strategy (please test recovery procedure as well). There were a few bugs with no real clarification: https://github.com/nextcloud/server/issues?q=is%3Aissue+is%3Aopen+label%3Abug+label%3A"feature%3A+encryption+(server-side)"


{'source': 'discourse', 'url': 'https://help.nextcloud.com/t/antivirus-w-encryption/33992', 'title': 'Antivirus w/ encryption', 'views': 918, 'has_accepted_answer': False, 'word_count': 187, 'like_count': 0, 'reply_count': 1, 'participant_count': 3, 'posts': 6, 'tags': 'encryption antivirus', 'author': '@pancrypticon (Pancrypticon)', 'participants': '@pancrypticon (Pancrypticon), @Escubaer (Escubaer), @tflidd (tflidd)', 'image_url': [None], 'created_at': '2018-07-13T13:48:31.591Z', 'last_posted_at': '2018-07-14T22:22:46.939Z'}