Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(sqlite): show SQLCipher unsupported hint for SSH tunnels

Melody Ruch644812fa07b7
diff --git a/apps/desktop/src/components/connection/ConnectionDialog.vue b/apps/desktop/src/components/connection/ConnectionDialog.vue
index 91872f78ac..f0367e2dbb 100644
--- a/apps/desktop/src/components/connection/ConnectionDialog.vue
+++ b/apps/desktop/src/components/connection/ConnectionDialog.vue
@@ -6307,6 +6307,9 @@ function openExternalUrl(url: string) {
<p v-if="sqliteUsesSsh" class="text-xs text-muted-foreground">
{{ t("connection.sqliteRemotePathHint") }}
</p>
+ <p v-if="sqliteUsesSsh" class="rounded-md border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs leading-5 text-amber-700 dark:text-amber-400">
+ {{ t("connection.sqliteSshCipherUnsupportedHint") }}
+ </p>
<p v-else-if="supportsMemoryDatabasePath" class="text-xs text-muted-foreground">
{{ t("connection.memoryDatabasePathHint") }}
</p>
diff --git a/apps/desktop/src/i18n/locales/en.ts b/apps/desktop/src/i18n/locales/en.ts
index cda80cdabb..5b6985ff72 100644
--- a/apps/desktop/src/i18n/locales/en.ts
+++ b/apps/desktop/src/i18n/locales/en.ts
@@ -1111,6 +1111,7 @@ export default {
sqliteTransportSshOnly: "Remote SQLite only supports SSH hops. Proxy and HTTP tunnel layers cannot be used.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "Enter an absolute path on the final SSH hop.",
+ sqliteSshCipherUnsupportedHint: "Encrypted (SQLCipher) SQLite databases are not supported over SSH yet.",
sqliteWorkerPlacement: "SQLite worker",
sqliteWorkerPlacementSession: "Session",
sqliteWorkerPlacementPersist: "Persist",
diff --git a/apps/desktop/src/i18n/locales/es.ts b/apps/desktop/src/i18n/locales/es.ts
index 4986d46826..9dafbac88c 100644
--- a/apps/desktop/src/i18n/locales/es.ts
+++ b/apps/desktop/src/i18n/locales/es.ts
@@ -1095,6 +1095,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "SQLite remoto solo admite saltos SSH. No se pueden usar capas de proxy ni túnel HTTP.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "Introduce una ruta absoluta en el último salto SSH.",
+ sqliteSshCipherUnsupportedHint: "Las bases de datos SQLite cifradas (SQLCipher) aún no son compatibles a través de SSH.",
sqliteWorkerPlacement: "Worker de SQLite",
sqliteWorkerPlacementSession: "Sesión",
sqliteWorkerPlacementPersist: "Persistente",
diff --git a/apps/desktop/src/i18n/locales/it.ts b/apps/desktop/src/i18n/locales/it.ts
index 3105939427..be209b76f8 100644
--- a/apps/desktop/src/i18n/locales/it.ts
+++ b/apps/desktop/src/i18n/locales/it.ts
@@ -1093,6 +1093,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "SQLite remoto supporta solo salti SSH. Impossibile usare livelli proxy o tunnel HTTP.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "Inserisci un percorso assoluto sull'ultimo salto SSH.",
+ sqliteSshCipherUnsupportedHint: "I database SQLite cifrati (SQLCipher) non sono ancora supportati tramite SSH.",
sqliteWorkerPlacement: "Worker SQLite",
sqliteWorkerPlacementSession: "Sessione",
sqliteWorkerPlacementPersist: "Persistente",
diff --git a/apps/desktop/src/i18n/locales/ja.ts b/apps/desktop/src/i18n/locales/ja.ts
index 7da71a532c..8c1c4651d4 100644
--- a/apps/desktop/src/i18n/locales/ja.ts
+++ b/apps/desktop/src/i18n/locales/ja.ts
@@ -1093,6 +1093,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "リモート SQLite は SSH ホップのみ対応です。プロキシ層や HTTP トンネルは使用できません。",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "最終 SSH ホップ上の絶対パスを入力してください。",
+ sqliteSshCipherUnsupportedHint: "SSH 経由での暗号化(SQLCipher)SQLite データベースの接続にはまだ対応していません。",
sqliteWorkerPlacement: "SQLite ワーカー",
sqliteWorkerPlacementSession: "セッション",
sqliteWorkerPlacementPersist: "永続化",
diff --git a/apps/desktop/src/i18n/locales/ko.ts b/apps/desktop/src/i18n/locales/ko.ts
index 60d048867a..a3ee15bc92 100644
--- a/apps/desktop/src/i18n/locales/ko.ts
+++ b/apps/desktop/src/i18n/locales/ko.ts
@@ -1003,6 +1003,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "원격 SQLite는 SSH 홉만 지원합니다. 프록시 및 HTTP 터널 계층은 사용할 수 없습니다.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "마지막 SSH 홉의 절대 경로를 입력하세요.",
+ sqliteSshCipherUnsupportedHint: "SSH를 통한 암호화(SQLCipher)된 SQLite 데이터베이스 연결은 아직 지원되지 않습니다.",
sqliteWorkerPlacement: "SQLite 워커",
sqliteWorkerPlacementSession: "세션",
sqliteWorkerPlacementPersist: "영속",
diff --git a/apps/desktop/src/i18n/locales/pt-BR.ts b/apps/desktop/src/i18n/locales/pt-BR.ts
index 07aaab1d9e..c56c6362ca 100644
--- a/apps/desktop/src/i18n/locales/pt-BR.ts
+++ b/apps/desktop/src/i18n/locales/pt-BR.ts
@@ -1094,6 +1094,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "O SQLite remoto suporta apenas saltos SSH. Camadas de proxy e túnel HTTP não podem ser usadas.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "Informe um caminho absoluto no último salto SSH.",
+ sqliteSshCipherUnsupportedHint: "Bancos de dados SQLite criptografados (SQLCipher) ainda não são suportados via SSH.",
sqliteWorkerPlacement: "Worker do SQLite",
sqliteWorkerPlacementSession: "Sessão",
sqliteWorkerPlacementPersist: "Persistente",
diff --git a/apps/desktop/src/i18n/locales/tr.ts b/apps/desktop/src/i18n/locales/tr.ts
index a1e54514f6..3907847cfc 100644
--- a/apps/desktop/src/i18n/locales/tr.ts
+++ b/apps/desktop/src/i18n/locales/tr.ts
@@ -1112,6 +1112,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "Uzak SQLite yalnızca SSH atlamalarını destekler. Proxy ve HTTP tünel katmanları kullanılamaz.",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "Son SSH atlamasındaki mutlak bir yol girin.",
+ sqliteSshCipherUnsupportedHint: "Şifrelenmiş (SQLCipher) SQLite veritabanları henüz SSH üzerinden desteklenmiyor.",
sqliteWorkerPlacement: "SQLite worker'ı",
sqliteWorkerPlacementSession: "Oturum",
sqliteWorkerPlacementPersist: "Kalıcı",
diff --git a/apps/desktop/src/i18n/locales/zh-CN.ts b/apps/desktop/src/i18n/locales/zh-CN.ts
index 1ac953b2ab..da3c21eff9 100644
--- a/apps/desktop/src/i18n/locales/zh-CN.ts
+++ b/apps/desktop/src/i18n/locales/zh-CN.ts
@@ -1038,6 +1038,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "远程 SQLite 只支持 SSH 跳板,不能使用代理或 HTTP 隧道。",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "请填写最后一跳 SSH 主机上的绝对路径。",
+ sqliteSshCipherUnsupportedHint: "暂不支持通过 SSH 打开加密(SQLCipher)的 SQLite 数据库。",
sqliteWorkerPlacement: "SQLite worker",
sqliteWorkerPlacementSession: "会话",
sqliteWorkerPlacementPersist: "持久",
diff --git a/apps/desktop/src/i18n/locales/zh-TW.ts b/apps/desktop/src/i18n/locales/zh-TW.ts
index 0afeb1e92c..7939c44831 100644
--- a/apps/desktop/src/i18n/locales/zh-TW.ts
+++ b/apps/desktop/src/i18n/locales/zh-TW.ts
@@ -1095,6 +1095,7 @@ export default withEnglishFallback({
sqliteTransportSshOnly: "遠端 SQLite 僅支援 SSH 跳板,無法使用代理或 HTTP 通道。",
sqliteRemotePathPlaceholder: "/var/lib/app/data.db",
sqliteRemotePathHint: "請填寫最後一跳 SSH 主機上的絕對路徑。",
+ sqliteSshCipherUnsupportedHint: "暫不支援透過 SSH 開啟加密(SQLCipher)的 SQLite 資料庫。",
sqliteWorkerPlacement: "SQLite worker",
sqliteWorkerPlacementSession: "工作階段",
sqliteWorkerPlacementPersist: "持續",