From ba7e5b5876aefa50aff09a4502eddcac3816f37d Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Tue, 6 Jan 2026 14:47:14 +0100 Subject: [PATCH] Disable SSH clone feature for now is not stable enough for release --- README.md | 3 +-- qml/pages/settings/ImportGitClone.qml | 34 +++++++++++++-------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 970d3a5..d00e450 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,7 @@ Export gpg private keys in order to decrypt passwords: gpg --output keys.gpg --export-secret-keys ``` -If your password store is already hosted in a Git repository, you can clone your password store directly from the app. -Otherwise, follow these steps to export it to a ZIP file for importing. +If your password store is already hosted in a Git repository with HTTP (SSH is not supported yet), you can clone your password store directly from the app. Otherwise, follow these steps to export it as a ZIP file for importing. Export passwords to a ZIP archive, assuming they reside in the *.password-store* folder: ``` diff --git a/qml/pages/settings/ImportGitClone.qml b/qml/pages/settings/ImportGitClone.qml index 46f80e7..3c3ddd3 100644 --- a/qml/pages/settings/ImportGitClone.qml +++ b/qml/pages/settings/ImportGitClone.qml @@ -14,7 +14,7 @@ Page { property int __gitModeHTTP : 0 property int __gitModeHTTP_AUTH : 1 - property int __gitModeSSH_KEY : 2 + // property int __gitModeSSH_KEY : 2 property int __gitCloneErrorCodeSuccessful : 0 property int __gitCloneErrorCodeUnexpectedError : 1 @@ -34,9 +34,9 @@ Page { case __gitModeHTTP_AUTH: importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneHttpAuth.qml"); break; - case __gitModeSSH_KEY: - importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneSshKey.qml"); - break; + // case __gitModeSSH_KEY: + // importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneSshKey.qml"); + // break; } } @@ -103,7 +103,7 @@ Page { id: combo width: parent.width - model: ["HTTP", "HTTP AUTH", "SSH KEY"] + model: ["HTTP", "HTTP AUTH" ] //, "SSH KEY"] onDelegateClicked: function(i) { timer.setTimeout(function() { __loadForm(); @@ -143,18 +143,18 @@ Page { break; case __gitModeHTTP_AUTH: break; - case __gitModeSSH_KEY: - importGitCloneForm.item.importSshPrivKeyButton.clicked.connect(function() { - pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), { - "isPrivateKey": true - }); - }); - importGitCloneForm.item.importSshPubKeyButton.clicked.connect(function() { - pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), { - "isPrivateKey": false - }); - }); - break; + // case __gitModeSSH_KEY: + // importGitCloneForm.item.importSshPrivKeyButton.clicked.connect(function() { + // pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), { + // "isPrivateKey": true + // }); + // }); + // importGitCloneForm.item.importSshPubKeyButton.clicked.connect(function() { + // pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), { + // "isPrivateKey": false + // }); + // }); + // break; } } }