Skip to content
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

Remove support for client side certificates #8864

Merged
merged 1 commit into from
Aug 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/unreleased/8864
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Removed support for client side certificates

Client side certificates where never officially supported and where untested in many scenarios.

https://github.com/owncloud/client/pull/8864
5 changes: 2 additions & 3 deletions src/cmd/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,8 @@ class HttpCredentialsText : public HttpCredentials
{
public:
HttpCredentialsText(const QString &user, const QString &password)
: HttpCredentials(DetermineAuthTypeJob::AuthType::Basic ,user, password)
, // FIXME: not working with client certs yet (qknight)
_sslTrusted(false)
: HttpCredentials(DetermineAuthTypeJob::AuthType::Basic, user, password)
, _sslTrusted(false)
{
}

Expand Down
2 changes: 0 additions & 2 deletions src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ set(client_UI_SRCS
shareusergroupwidget.ui
shareuserline.ui
sslerrordialog.ui
addcertificatedialog.ui
proxyauthdialog.ui
notificationwidget.ui
logbrowser.ui
Expand Down Expand Up @@ -75,7 +74,6 @@ set(client_SRCS
thumbnailjob.cpp
quotainfo.cpp
accountstate.cpp
addcertificatedialog.cpp
authenticationdialog.cpp
proxyauthhandler.cpp
proxyauthdialog.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/gui/accountstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void AccountState::checkConnectivity(bool blockJobs)
}

// If we never fetched credentials, do that now - otherwise connection attempts
// make little sense, we might be missing client certs.
// make little sense.
if (!account()->credentials()->wasFetched()) {
_waitingForNewCredentials = true;
account()->credentials()->fetchFromKeychain();
Expand Down
63 changes: 0 additions & 63 deletions src/gui/addcertificatedialog.cpp

This file was deleted.

53 changes: 0 additions & 53 deletions src/gui/addcertificatedialog.h

This file was deleted.

Loading