Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello,

We just implemented SQLCipher databases and were already using DB Browser for SQLite for database maintenance. The Cipher version also works very well, it's perfect. However, we would have liked the technicians not to use the password directly, as otherwise it risks being corrupted quickly.
We would like to create a small application that launches DB Browser from the command line. I was able to open the database successfully whith command line, but without passing the password at the same time, so it asks for it when opening it.

Is it possible to automate this and create a command line containing the database to open and the password? I dont view this options

Thanks.

You must be logged in to vote

The wiki is a guide about using DB4S
In this guide is a page about encrypted databases
in this page is a section about .env files

That might work for you.

https://github.com/sqlitebrowser/sqlitebrowser/wiki/Encrypted-Databases

Replies: 1 comment · 1 reply

Comment options

The wiki is a guide about using DB4S
In this guide is a page about encrypted databases
in this page is a section about .env files

That might work for you.

https://github.com/sqlitebrowser/sqlitebrowser/wiki/Encrypted-Databases

You must be logged in to vote
1 reply
@SVChrist
Comment options

Thank you very much.

It works perfectly. I created a small test program to launch two databases. I created the .env file, then launched the DB Browser program with the database to open as a parameter. It works perfectly. I just wait a second before deleting the .env file because that unfortunately leaves the password in plain text. But it works for me.

Answer selected by SVChrist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.