Skip to content

Connect to a Encrypted DB by C# System.Data.Sqlite #162

Open
@x0d3r

Description

@x0d3r

Hello there, I have an application that's written on C# that has an sqlite db, encrypted by System.Data.Sqlite, the connection string is:

var con = "Data Source=c:\Windows\xxxdb;Initial Catalog=RobotsMaster;Version=3;Integrated Security=SSPI;Password=0xhgasfw;"

Now I'm working on re-write the app using go-sqlite3, using:

    db, err := sql.Open("sqlite3", "file:///C:/Windows/xxxdb?Password=0xhgasfw")
    if err != nil {
        log.Fatal(err.Error())
    }
    defer db.Close()

But I've got this error:

2014/12/12 09:25:32 file is encrypted or is not a database

It's possibly to use my encrypted db ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions