sqlitebrowser / sqlitebrowser/sqlitebrowser
SQLCipher entering passphrase and encoded raw key not working
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 24.6k
- フォーク
- 2.4k
- 平均マージ
- 3日 49分
- マージ済み PR(30日)
- 3
説明
Details for the issue
What did you do?
Hi, I was trying out the SQLCipher functionality of sqlitebrowser and had some weird behaviour.
I created a Test.db (attached with .env, default SQLCipher 4 values) with a raw key (0x61) and tried to open it using the - hexdecoded - passphrase (a).
I also tried to insert 0x00 before and after raw key until 64 characters, because from Pragma Key Documentation I was not sure if the application is responsible of passing exactly 64 characters.
What did you expect to see?
As far as I understood it should be possible to either enter the rawkey or the password with sqlitebrowser(SQLCipher). Did I miss something?
What did you see instead?
Could not access Database.
Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
- Windows: ( version: Windows 10 64bit )
- Linux: ( distro: 11.2.1 )
- macOS: ( version: ___ )
- Other: ___
What is your DB4S version?
- 3.12.2
- 3.12.1
- 3.12.0
- 3.11.x
- Other: ___
Did you also
- [] Try out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
- Search for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている raw key と passphrase を使用して、添付された Test.zip を使い DB4S 3.12.2 で報告内容を再現します。リンクされている SQLCipher PRAGMA key のドキュメントを読み、想定されるキー処理とアプリケーションの動作を比較します。提供された暗号化データベースが、サポートされている raw-key または passphrase の入力で正常に開ければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, sqlite
- 領域
- database
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100