-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/e2ee use hardware token secure storage #5877
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy
found issue(s) with the introduced code (1/1)
820e33a
to
2273a3f
Compare
SonarCloud Quality Gate failed. 0 Bugs 61.9% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5877 +/- ##
==========================================
- Coverage 60.79% 59.59% -1.21%
==========================================
Files 145 145
Lines 18836 19011 +175
==========================================
- Hits 11451 11329 -122
- Misses 7385 7682 +297
|
7b12e07
to
eb9dcfd
Compare
13d5810
to
bf78e6a
Compare
bf78e6a
to
1ce0ffb
Compare
updating the linux CI images to add support for this PR |
1ce0ffb
to
6b3beec
Compare
add support to build libp11 in KDE's Craft nextcloud/desktop-client-blueprints#8 |
upstream review of the Craft blueprint |
d254c34
to
0567e97
Compare
SonarCloud Quality Gate failed. 0 Bugs 24.3% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
0567e97
to
81d494a
Compare
Realised this was still a draft half-way through |
ff7edeb
to
85e00fc
Compare
e5d881d
to
cd56880
Compare
45bb571
to
5cc95f1
Compare
5cc95f1
to
8b9f325
Compare
8b9f325
to
587765d
Compare
c21a03e
to
d0b3504
Compare
AppImage file: nextcloud-PR-5877-d0b350418ff6305334fc9b68f887c6bac7cabf7d-x86_64.AppImage |
764b03c
to
fb7a5d1
Compare
pushed an extra commit to fix automated tests regression |
ac822c5
to
2918188
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not re-enable encryption again using the mnemonic on my local dev setup, the logs end up as:
2025-01-30 15:53:04:246 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:411 ]: decryptStringSymmetric cipherTXT: "[some long base64-encoded data]"
2025-01-30 15:53:04:246 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:412 ]: decryptStringSymmetric IV: "mz5pa1Z6Pdd52ODQ"
2025-01-30 15:53:04:246 [ debug nextcloud.sync.clientsideencryption.encryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:605 ] [ OCC::EncryptionHelper::encryptStringAsymmetric ]: use certificate on software storage
2025-01-30 15:53:04:246 [ debug nextcloud.sync.clientsideencryption.decryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:639 ] [ OCC::EncryptionHelper::decryptStringAsymmetric ]: use certificate on software storage
2025-01-30 15:53:04:247 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:1340 ]: invalid private key
compared with a build from master
:
2025-01-30 15:48:21:362 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:397 ]: decryptStringSymmetric cipherTXT: "[ literally the same base64-encoded data as before ]"
2025-01-30 15:48:21:362 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:398 ]: decryptStringSymmetric IV: "mz5pa1Z6Pdd52ODQ"
2025-01-30 15:48:21:363 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:780 ]: Encryption Length: 256
2025-01-30 15:48:21:363 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:789 ]: "JSFgOuKEtqhyy/x7O83WCzRqFYqVHWlK5gacuiRTaAwCtzy+gQyhUKFIwdzkSrdbnp6oGVFJtWETCg958z9o+2NnpzTITztbG7gj63m+BmdJZ0MmsvNhQdyve1Xh7dRpOjDHGnPEdYM56OgxhX/4mUmsOF2fOxz5X4LCmLA0tdkrMpsK3ik/IamEg3lBuwNyKziaHXnwevHwLXykiz+xHmFzCDuG3t7i3EbuNmwjEuUnpK5XB3PrMA9WjiorBZFfyjjmswZukfjYwQxr8YH2+OCzQ9f/gjsf95EWSrFuQCGg54lRYo8ShH6A58nUQ9BwQHsxePoMJcT5RFZuKg3qFg=="
2025-01-30 15:48:21:363 [ info nextcloud.e2e /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:685 ]: Start to work the decryption.
2025-01-30 15:48:21:363 [ info nextcloud.e2e /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:725 ]: Size of output is: 256
2025-01-30 15:48:21:363 [ info nextcloud.e2e /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:726 ]: Size of data is: 256
2025-01-30 15:48:21:364 [ info nextcloud.e2e /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:736 ]: data decrypted successfully
2025-01-30 15:48:21:364 [ info nextcloud.sync.clientsideencryption /home/jyrki/src/nextcloud/desktop/src/libsync/clientsideencryption.cpp:742 ]: "2O/mI1YxdS4UpeHoZLpJQln9XSXuX7ao+SX4Mm9DJlmACDT1ajyrUAqLWhehPxZMjwtva7B5bmk2P4OgvsPifQ=="
Close #5685 Signed-off-by: Matthieu Gallien <[email protected]>
will use different validation method for hardware stored certificates and pure software certificates emited by the nextcloud server Signed-off-by: Matthieu Gallien <[email protected]>
those tests are now broken and we think they do not bring much value for now parts of them will be disabled until we get better automated tests realized while doing this that the secure drop tests are not independent of each other Signed-off-by: Matthieu Gallien <[email protected]>
2918188
to
790dbe1
Compare
Artifact containing the AppImage: nextcloud-appimage-pr-5877.zip SHA256 checksum: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
Close #5685