Recently installed nextcloud 22.2.0 on Docker on top of OpenMediaVault Server (debian10)
When syncing files using using the Next Cloud Linux client Version 2.6.2-1build1
I have seen that it automatically deletes any encrypted .key or .pem files from the server
When Ive manually deleted files in local âNextCloudâ directory it seems to make a copy of the files and stores them in the Trashcan on the nextcloud Browser
Is it possible to setup a rule or use a config option to do that same for .pem or or .key files ?
Just tested it on my instance with a few test files and .pem or .key files behave like any other files. I use the Desktop Client in version 3.3.5 on Arch Linux and I have no encryption enabled on my Nextcloud instance.
It was not my intention to be rude. But if you had used encryption, your problem might have had something to do with that. I just couldnât imagine why the Desktop Client would treat .key and .pem files differently than other files, and honestly I still canât. But maybe youâll share with us what the problem was and how you solved it. This may help others who have a similar issueâŠ,
I didnt have encryption set
And the NextCloud client was deleting the local sync folder file , not me
I did have Ransomware protection 1.11.0 app switched on.
The client was blocking any uploads with â403 Forbiddenâ
or âRansomeware file detectedâ depending on which version of NextCloud Client I was using Mac or Linux
When I disabled the app the Syncronization clint ignored any private key files with
-----BEGIN ENCRYPTED PRIVATE KEY-----
text inside and no longer deleted any files
Ah ok. I donât use this app myself but on the GitHub page of the app I found this:
If you want to exclude the problematic pattern, you can copy it from this notification and ask your admin to add it to the exclude list. Hint: You can find the apps admin settings in the security tab of your Nextcloud instance. Admins can also see the pattern in the log when it is set to level Warning or lower.