mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-09 19:16:57 +00:00
Disable SSH clone feature for now is not stable enough for release
This commit is contained in:
@@ -19,8 +19,7 @@ Export gpg private keys in order to decrypt passwords:
|
|||||||
gpg --output keys.gpg --export-secret-keys <key>
|
gpg --output keys.gpg --export-secret-keys <key>
|
||||||
```
|
```
|
||||||
|
|
||||||
If your password store is already hosted in a Git repository, you can clone your password store directly from the app.
|
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.
|
||||||
Otherwise, follow these steps to export it to a ZIP file for importing.
|
|
||||||
|
|
||||||
Export passwords to a ZIP archive, assuming they reside in the *.password-store* folder:
|
Export passwords to a ZIP archive, assuming they reside in the *.password-store* folder:
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Page {
|
|||||||
|
|
||||||
property int __gitModeHTTP : 0
|
property int __gitModeHTTP : 0
|
||||||
property int __gitModeHTTP_AUTH : 1
|
property int __gitModeHTTP_AUTH : 1
|
||||||
property int __gitModeSSH_KEY : 2
|
// property int __gitModeSSH_KEY : 2
|
||||||
|
|
||||||
property int __gitCloneErrorCodeSuccessful : 0
|
property int __gitCloneErrorCodeSuccessful : 0
|
||||||
property int __gitCloneErrorCodeUnexpectedError : 1
|
property int __gitCloneErrorCodeUnexpectedError : 1
|
||||||
@@ -34,9 +34,9 @@ Page {
|
|||||||
case __gitModeHTTP_AUTH:
|
case __gitModeHTTP_AUTH:
|
||||||
importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneHttpAuth.qml");
|
importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneHttpAuth.qml");
|
||||||
break;
|
break;
|
||||||
case __gitModeSSH_KEY:
|
// case __gitModeSSH_KEY:
|
||||||
importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneSshKey.qml");
|
// importGitCloneForm.source = Qt.resolvedUrl("../../components/GitCloneSshKey.qml");
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ Page {
|
|||||||
id: combo
|
id: combo
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
model: ["HTTP", "HTTP AUTH", "SSH KEY"]
|
model: ["HTTP", "HTTP AUTH" ] //, "SSH KEY"]
|
||||||
onDelegateClicked: function(i) {
|
onDelegateClicked: function(i) {
|
||||||
timer.setTimeout(function() {
|
timer.setTimeout(function() {
|
||||||
__loadForm();
|
__loadForm();
|
||||||
@@ -143,18 +143,18 @@ Page {
|
|||||||
break;
|
break;
|
||||||
case __gitModeHTTP_AUTH:
|
case __gitModeHTTP_AUTH:
|
||||||
break;
|
break;
|
||||||
case __gitModeSSH_KEY:
|
// case __gitModeSSH_KEY:
|
||||||
importGitCloneForm.item.importSshPrivKeyButton.clicked.connect(function() {
|
// importGitCloneForm.item.importSshPrivKeyButton.clicked.connect(function() {
|
||||||
pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), {
|
// pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), {
|
||||||
"isPrivateKey": true
|
// "isPrivateKey": true
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
importGitCloneForm.item.importSshPubKeyButton.clicked.connect(function() {
|
// importGitCloneForm.item.importSshPubKeyButton.clicked.connect(function() {
|
||||||
pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), {
|
// pageStack.push(Qt.resolvedUrl("ImportSSHkey.qml"), {
|
||||||
"isPrivateKey": false
|
// "isPrivateKey": false
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user