Skip to content

Single quote not escaped when entering password for SQLCipher encrypted db #1105

@R4N

Description

@R4N

Details for the issue

I was just testing out the new version of DB Browser for SQLite (3.10.0) with SQLCipher 3.4.1 databases and noticed it doesn’t appear to escape single quotes when entering a password.

Here’s an example of a db generated using the SQLCipher cli:

sqlite> .open test.db
sqlite> PRAGMA KEY = "test'123";
sqlite> PRAGMA cipher_page_size=1024;
sqlite> CREATE TABLE t1(a,b);
sqlite> INSERT INTO t1(a,b) VALUES('one for the money', 'two for the show');
sqlite> SELECT * FROM t1;
one for the money|two for the show
sqlite> .q

When you attempt to open it in DB Browser for SQLite (3.10.0) using the passphrase test'123 it fails.

Useful extra information

  • This may be a regression as the previous version was able to open SQLCipher dbs with single quotes.

I'm opening this issue because:

  • DB4S is crashing
  • [x ] DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • [x ] Windows: ( version: Windows 10 Enterprise)
  • Linux: ( distro: ___ )
  • [ x] Mac OS: ( version: macOS Sierra 10.12.6)
  • Other: ___

I'm using DB4S version:

  • [x ] 3.10.0
  • 3.10.0-beta*
  • 3.9.1
  • Other: ___

I have also:

Metadata

Metadata

Assignees

Labels

SQLCipherbugConfirmed bugs or reports that are very likely to be bugs.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy