Vincent Petry
60e44077b7
Fix encrypted version to 0 when finding unencrypted file
...
Whenever the command is run and a "legacy cipher" seems to be detected
when the legacy option is disabled, it's highly likely that the file is
actually unencrypted but the database contains a encrypted version
higher than 0 for some reason.
The command now detects this case and automatically sets the encrypted
version to 0 so that the file can be read again.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 10:44:49 +07:00
Nextcloud bot
4817ce634a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-24 02:26:09 +07:00
Christoph Wurst
6a50c4a344
Add missing files for Composer v2
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 15:01:02 +07:00
Nextcloud bot
05ec2faea8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-13 02:26:37 +07:00
Nextcloud bot
a716c35888
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:31:43 +07:00
Nextcloud bot
386fa2e807
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-04 02:26:38 +07:00
Nextcloud bot
276b8f2315
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:35:19 +07:00
Joas Schilling
f86f594a3a
Merge pull request #27860 from J0WI/alphanumeric-rnd
...
Introduce ISecureRandom::CHAR_ALPHANUMERIC
2021-07-16 12:46:20 +07:00
Nextcloud bot
b4cebc3539
[tx-robot] updated from transifex
2021-07-11 02:25:50 +07:00
Nextcloud bot
c2f62ee0b8
[tx-robot] updated from transifex
2021-07-09 02:26:17 +07:00
J0WI
91051d9207
Generate strong, human readable OTP
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:33 +07:00
Nextcloud bot
726f23ffd9
[tx-robot] updated from transifex
2021-07-08 02:26:46 +07:00
Gary Kim
b78f3a57d1
Migrate HintException to OCP
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-30 15:28:02 +07:00
Julius Härtl
75f7287b5e
Merge pull request #27638 from nextcloud/enh/noid/fix-encrypted-version
2021-06-30 14:17:38 +07:00
Vincent Petry
d3eeecba54
Prevent running FixEncryptedVersion without master key
...
Return an error when running occ encryption:fix-encrypted-version
when master key encryption is not enabled.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 20:44:07 +07:00
Vincent Petry
101c65a949
Fix FixEncryptedVersionTest test
...
Fixed setup to use EncryptionTrait like other existing tests.
Fix expectations to not rely on side effects from previous test cases.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +07:00
Vincent Petry
6170912ace
Fix warnings in FixEncryptedVersion command
...
Fixed code warnings
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +07:00
Vincent Petry
4e9241c706
Detect disabled signature check when reparing
...
When running occ encryption:fix-encrypted-version, detect whether the
setting 'encryption_skip_signature_check' is set and abort if it is,
because the repair cannot detect version mismatch errors with it
enabled.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +07:00
Vincent Petry
43a0016aa7
Downstream FixEncryptedVersionTest
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +07:00
Vincent Petry
a6dc81d419
Downstream encryption:fix-encrypted-version
...
For fixing "Bad signature" errors.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +07:00
J0WI
c694b9d52b
Remember current cipher
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-06-29 13:41:22 +07:00
Nextcloud bot
ac97873a17
[tx-robot] updated from transifex
2021-06-28 02:25:09 +07:00
Joas Schilling
655108a3dc
Bump app version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 16:08:39 +07:00
Joas Schilling
8b0448d407
Master is now 23
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 12:56:06 +07:00
Nextcloud bot
4158f1a848
[tx-robot] updated from transifex
2021-06-24 02:25:18 +07:00
blizzz
c6d5653a85
Merge pull request #26323 from J0WI/crypt-const
...
Use constant for supported formats
2021-06-23 11:17:05 +07:00
Louis Chemineau
f0876a9e9d
Update Autoloader
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 15:54:51 +07:00
Nextcloud bot
61a31dcdd7
[tx-robot] updated from transifex
2021-06-20 02:27:02 +07:00
Nextcloud bot
4c60ff1275
[tx-robot] updated from transifex
2021-06-16 02:26:18 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Nextcloud bot
46dbc8fa98
[tx-robot] updated from transifex
2021-06-04 02:28:13 +07:00
Nextcloud bot
9e596dd0cf
[tx-robot] updated from transifex
2021-05-31 02:35:25 +07:00
Nextcloud bot
3fa2437223
[tx-robot] updated from transifex
2021-05-25 02:27:20 +07:00
Nextcloud bot
8d80ee547b
[tx-robot] updated from transifex
2021-05-23 02:25:47 +07:00
Nextcloud bot
41f0cf4fca
[tx-robot] updated from transifex
2021-05-22 02:27:14 +07:00
Nextcloud bot
a6cb2973a9
[tx-robot] updated from transifex
2021-05-21 02:27:50 +07:00
Morris Jobke
dc981623aa
Fix test
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-20 09:44:56 +07:00
Valdnet
b9d00a96b3
l10n: Unify spelling
...
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +07:00
Nextcloud bot
5432c958be
[tx-robot] updated from transifex
2021-05-20 02:27:58 +07:00
Nextcloud bot
c7238e79be
[tx-robot] updated from transifex
2021-05-19 02:31:32 +07:00
Roeland Jago Douma
83330b8c4c
Merge pull request #26896 from nextcloud/Valdnet-patch-8
...
l10n: Replace the apostrophe with double quotation
2021-05-18 08:44:09 +07:00
Nextcloud bot
df685b4b59
[tx-robot] updated from transifex
2021-05-07 02:26:47 +07:00
Valdnet
2349df4ca5
l10n: Replace the apostrophe with double quotation
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-06 14:55:35 +07:00
Nextcloud bot
f3baab3159
[tx-robot] updated from transifex
2021-04-30 02:27:46 +07:00
Nextcloud bot
3ab7d6cf3e
[tx-robot] updated from transifex
2021-04-17 02:24:04 +07:00
Roeland Jago Douma
7c30d1aa2d
Merge pull request #26219 from nextcloud/relative-path-null
...
getRelativePath can return null
2021-03-30 21:10:05 +07:00
J0WI
e617361250
Use constant for supported formats
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:24:04 +07:00
J0WI
21494a5b7b
Drop OpenSSL 0.9.8 workaround
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:23:10 +07:00
Robin Appelman
8a92229485
getStorage can also return null
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 14:56:40 +07:00
Nextcloud bot
bb8a71266e
[tx-robot] updated from transifex
2021-03-24 02:25:07 +07:00