-
Notifications
You must be signed in to change notification settings - Fork 800
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?
Commits on Oct 2, 2024
-
add support to use PKCS#11 harware token to store certifice for e2ee
Close #5685 Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71550bf - Browse repository at this point
Copy the full SHA 71550bfView commit details -
add support to use PKCS#11 harware token to store certifice for e2ee
Close #5685 Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 386efd0 - Browse repository at this point
Copy the full SHA 386efd0View commit details -
temporarily do not check for the certificate fingerprints
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e3f8c9 - Browse repository at this point
Copy the full SHA 7e3f8c9View commit details -
libp11 dependency for USB token is really mandatory
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99c29d3 - Browse repository at this point
Copy the full SHA 99c29d3View commit details -
fix compilation by exporting a newly needed function
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54ae4ce - Browse repository at this point
Copy the full SHA 54ae4ceView commit details -
improve logs when build with NEXTCLOUD_DEV enabled
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e9d1d0 - Browse repository at this point
Copy the full SHA 8e9d1d0View commit details -
better memory management and better logs for end-to-end encryption
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fe61ea - Browse repository at this point
Copy the full SHA 4fe61eaView commit details -
fix memory issue ibetween list of token slots and the libp11 context
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8adad6 - Browse repository at this point
Copy the full SHA d8adad6View commit details -
ensure sane error handling when trying to setup encryption
if we cannot encrypt because that is not working or because we lack keys and certificate needed to enable the feature makes no difference Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 753456a - Browse repository at this point
Copy the full SHA 753456aView commit details -
clearly indicate in logs which is the selected certificate
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c13f92 - Browse repository at this point
Copy the full SHA 8c13f92View commit details -
do not claim a certificate migration is needed when it is not the case
ensure we do not emit a "certificate migration is needed" signal when this is not the case Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2044b7d - Browse repository at this point
Copy the full SHA 2044b7dView commit details -
clean public API that could be misused in ClientSideEncryptionTokenSe…
…lector will prevent access to internal objects not meant for reuse outside internal code Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7ac22e - Browse repository at this point
Copy the full SHA e7ac22eView commit details -
improve logs when checking that encryption is working reliably
better check that PKCS11 keys can be converted to use them improve logs to be able to get a better insight on crypto operations during testing of crypto improve some API method names fix some log output that were using teh worng category Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6eb2eb0 - Browse repository at this point
Copy the full SHA 6eb2eb0View commit details -
instead of using PKCS#11 API to get public key, read it from certificate
should avoid calling a crash prone libp11 API to get public key from hardware token Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1827b07 - Browse repository at this point
Copy the full SHA 1827b07View commit details -
upload user certificate after end-to-end init with token storage
even if the certificate already exists abnd is stored on USB token hardware, we need to upload the certificate to allow sharing between users Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd9a6c3 - Browse repository at this point
Copy the full SHA cd9a6c3View commit details -
remove duplicated confusing encryption helper methods
should make it clearer what is the code and encryption keys and settings in use should make the code simpler to read and follow Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c560170 - Browse repository at this point
Copy the full SHA c560170View commit details -
use the proper certificate when encrypting metadata when sharing
this used to rely on a QSslKey object to convey the receiving user of a shared folder encryption material because we added CertificateInformation that is more generic and can work with USB token hardware stored private keys or pure software keys, we want to use that instead of a simple QSslKey Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11282b2 - Browse repository at this point
Copy the full SHA 11282b2View commit details -
fix issues reported by clazy with default configuration
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8aecba4 - Browse repository at this point
Copy the full SHA 8aecba4View commit details -
prevent stack overflow when creating the systray via singleton access
will fix some automated tests failing due to stack overflow when creating `ActivityListModel` instances Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4cb2ec - Browse repository at this point
Copy the full SHA e4cb2ecView commit details -
allow to start with an expired certificate: migration will be needed
I may need to ensure other parts behave as expected in case we can only decrypt but not encrypt Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b51d36d - Browse repository at this point
Copy the full SHA b51d36dView commit details -
when discovering certificates: forget previously known ones
the previous certificates were linked to a now invalid libp11 context using any of them will lead to troubles Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1084fe1 - Browse repository at this point
Copy the full SHA 1084fe1View commit details -
allow on the fly migration of encryption certificate
if you use a new certificate and access metadata of an older one, we pick up this previous certificate to access the metadata Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b773583 - Browse repository at this point
Copy the full SHA b773583View commit details -
fix live migration between certificates and improve logs
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c5ab68 - Browse repository at this point
Copy the full SHA 3c5ab68View commit details -
for now remove this assert until we better understand
Signed-off-by: Matthieu Gallien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b9f325 - Browse repository at this point
Copy the full SHA 8b9f325View commit details