Commit graph

18921 commits

Author SHA1 Message Date
Nextcloud bot
8a7f0d92eb
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 04:38:54 +00:00
allexzander
c3c1b1e84b
Merge pull request #5574 from nextcloud/bugfix/unit-test-securefiledrop
Fix unit tests SecureFileDrop
2023-04-05 21:13:34 +02:00
alex-z
31c3aee447 Fix unit tests SecureFileDrop
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-04-05 12:21:28 +02:00
Nextcloud bot
73f9962896
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 04:38:41 +00:00
Matthieu Gallien
c9cf248e5d
fix compilation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 18:01:26 +02:00
Matthieu Gallien
9e7197a375
Merge pull request #5572 from nextcloud/bugfix/tryHardToRecoverBrokenE2eeChecksums
try different permutation to try to recover the broken checksum
2023-04-04 17:47:10 +02:00
Matthieu Gallien
b0c69481f2
try different permutation to try to recover the broken checksum
will only accept a checksum that can be computed from proper data

should still be safe

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 17:41:17 +02:00
Matthieu Gallien
27f46eb242
Merge pull request #5568 from nextcloud/bugfix/sortBeforeComputingChecksum
sort encrypted files by their id to compute checksum
2023-04-04 15:06:13 +02:00
Matthieu Gallien
a76d9fe46d sort encrypted files by their id to compute checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 15:06:05 +02:00
Nextcloud bot
3ffdb9b7b5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 11:14:14 +00:00
Nextcloud bot
7767ae9c62
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 04:31:37 +00:00
Nextcloud bot
22d7a62459
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-03 04:30:20 +00:00
Nextcloud bot
0efb7cf99a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 04:29:15 +00:00
Matthieu Gallien
5b1238ddb1
compilation fixes for windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 18:06:10 +02:00
Matthieu Gallien
3304f9d2d3
development of 3.9 release is starting
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:23:03 +02:00
Matthieu Gallien
086eb14b83
Merge pull request #5560 from nextcloud/feature/e2eeFixes
Feature/e2ee fixes
2023-03-31 17:18:58 +02:00
Matthieu Gallien
6bf4570b99
compatibility with final file drop implementation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
e22b130d98
prevent syncing with downgraded metadata format
should prevent a malicious server admin to make clients fallback to
older vulnerable metadata format

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
593ad6ee91
better track encrypted item status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8659df2266
prevent downgrading e2ee metadata format after initial migration
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
b121a127c1
improve logging when receiving metadata for encrypted folder
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
6fb16ce5f4
when uplaoding e2ee metadata add an empty filedrop entry
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8b10b3a926
optimize the computation of checksum for metadata
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8ec5518d8d
checksum has to be computer from the encrypted metadataKey
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
7c655cf679
use a getter to query encryption status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
1e018d1e56
display some logs when checksum verification is failed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
ee3c18f9f2
put sane order over #include
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
f181b91875
when migrating older metadata, do not check missing checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
d1c18ecf2a
when uploading new e2e metadata, adds a checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
1b14c127a4
check checksum when getting e2ee metadata
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
alex-z
1b0a93eabc
Migrate E2EE from v1 to v1.1
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
6a4028564e
fix indentation style
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
a4445642c5
Merge pull request #5546 from nextcloud/bugfix/overrideLocalDirReallyWithExistingFolder
when local sync folder is overriden, respect this choice
2023-03-31 09:22:05 +02:00
Matthieu Gallien
20422f0247 when local sync folder is overriden, respect this choice
may lead to inadvertant data loss, not sure if that could be an issue

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 09:21:48 +02:00
Nextcloud bot
a3fbbda7f5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 04:43:13 +00:00
Nextcloud bot
ebf7fc27c7
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-27 10:37:00 +00:00
Nextcloud bot
0749ca3c5e
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-24 04:24:02 +00:00
Nextcloud bot
a7cf6c0d3d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-23 04:35:39 +00:00
Matthieu Gallien
04a32cbe36
Merge pull request #5532 from nextcloud/bugfix/stopAfterCreatingConfigFile
Bugfix/stop after creating config file
2023-03-22 16:58:05 +01:00
Matthieu Gallien
d2cd4efaaa fix the logic generating the config file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
85a2020982 tidy up code in Theme class
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
903c475d5a store in config file that we want to enable vfs when generating config
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
54a11e8692
Merge pull request #5530 from nextcloud/feature/obeyShouldNotifyFlag
follow shouldNotify flag to hide notifications when needed
2023-03-21 11:50:07 +01:00
Matthieu Gallien
e0bdbd1387
follow shouldNotify flag to hide notifications when needed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-21 09:10:12 +01:00
allexzander
5e505d9ee3
Merge pull request #5534 from nextcloud/feature/e2ee-deryption-cut-extra-zeroes
E2EE cut extra zeroes from derypted byte array.
2023-03-20 10:35:28 +01:00
Nextcloud bot
29b0f02b4d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 04:27:31 +00:00
Nextcloud bot
a4070e734b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 04:30:57 +00:00
alex-z
09f316dcfc E2EE cut extra zeroes from derypted byte array.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-03-17 16:04:43 +01:00
Nextcloud bot
4cb7d8c577
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 04:32:43 +00:00
Matthieu Gallien
a0e32d95f7
Merge pull request #5521 from ivaradi/fix-build-classification
Debian build classification 'beta' cannot override 'release'.
2023-03-15 10:25:02 +01:00