Open x0d3r opened 9 years ago
sql.Open
is interface of database/sql
so I will not provide such unction that take three arguments.
However, I may be possible to support query parameter that add the feature. For example:
db, err := sql.Open("sqlite3", "foo.db?_key=XXX")
Totally agree, thanks for your time
I'm thinking about implementing those call in a golang CGO header and redirect to golang function which uses Golang Native AES encryption which means no dependency on OpenSSL. @x0d3r we should implement the DSN _key
option when you are binding this package to a SQLite which is compiled with HAS_CODEC
and provides an implementation.
Were these function calls ever implemented?
I'm thinking about implementing those call in a golang CGO header and redirect to golang function which uses Golang Native AES encryption which means no dependency on OpenSSL. @x0d3r we should implement the DSN
_key
option when you are binding this package to a SQLite which is compiled withHAS_CODEC
and provides an implementation.
implementing those call in a golang CGO header and redirect to golang function which uses Golang Native AES encryption
Is it done yet?
I have implemented support for these functions through SQLCipher in the following PR: https://github.com/mattn/go-sqlite3/pull/1109. It does depend on OpenSSL at this stage, but it's probably better than not having encryption support at all.
I am looking for an implementation of the following encryption layers
And add the following methods: