Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help: How to use "--db-unprotected" #71

Open
archertanu opened this issue Jun 26, 2023 · 2 comments
Open

Help: How to use "--db-unprotected" #71

archertanu opened this issue Jun 26, 2023 · 2 comments
Labels

Comments

@archertanu
Copy link

How to use "--db-unprotected" and backup db keys for used in different Machines. Thanks for help.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 27, 2023
@Aetherinox
Copy link

Aetherinox commented Nov 10, 2024

You never got a reply, but I figured this out.

Open your Command Prompt / Terminal and go to the folder where you have the SoftU2FDaemon.exe stored.

Then run the command:

.\SoftU2FDaemon.exe --db-unprotected

Then in Windows, go to Start -> Run and in the run box, type %APPDATA%\SoftU2FDaemon. This will open your File Explorer where your database is stored, and you should see a new group of files named .unprotected.

k0OFjlRgqH

The top file is your keys using DPAPI protection. The bottom three files with .unprotected are without DPAPI protection. Typically all you need to back up is db.unprotected.sqlite. The other files are just because the database is currently opened by the program. They go away when you exit the app.

The -shm file contains an index to the -wal file and the -shm file improves performance when reading the -wal file.
If the -shm file gets deleted, it get created again during next database access.
If checkpoint is run, the -wal file can be deleted.

It's recommended that if you make a backup of the unprotected file, close the daemon app out first that way all connections to the database are closed, and then you will only be left with the .sqlite file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants