-
Notifications
You must be signed in to change notification settings - Fork 91
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
[Feature] Persist settings when using Tails OS #3131
Comments
https://tails.net/doc/persistent_storage/configure/#index13h2
It sounds like it should also work with folders? Did you try? As a workaround, you could symlink .config/bitbox to Persistent/bitbox and persist it this way? You'd need to repeat this after each reboot, but that could maybe be automated (e.g. a wrapper script to launch the BitBoxApp). If none is feasible, we could consider adding a command line argument I would avoid persisting individual files of the bitbox folder, as it's not guaranteed this will continue to work. |
@benma thank you very much for your response
Yes, I did try that. But you cannot link the folder itself. You need to copy all the files inside the folder. Now, let's assume a new file will be added sometime in the future, it will not be added from
Your workaround may probably work, although the dotfiles feature of tails os is not needed, as this can be achieved with the persistent storage only. The solution "command line argument In my opinion the cleanest way to handle this is still to specify @benma What's your opinion? Also, is this complicated to implement? |
A |
Here is a draft PR for However, there is a problem: the app registers URI handlers ( |
@johndoe9459272 isn't the point of TailsOS to forget everything once it is shut down? Why not use your regular computer for the BitBoxApp anyway? |
A probably bad idea that could work for all cases is to specify a dotfile |
Well that is correct, but to make it more comfortable to use, they introduced the persistent volume which is encrypted. All data stored onto the persistent volume will be available for the next boot - it's a tradeoff between comfort and security. Instead of using a regular computer you can minimize your footprint and your attack surface as my regular computer is beeing used for all kind of stuff. |
Wow, you were really quick for your first draft PR, I appreciate your effort 👍
You mean like a dotfile, that just holds the location of the data-dir as "configuration". And the bitbox app then reads that on every launch? I will think about it, but I can't think of a solution right now. In the end, maybe your solution:
might be the best approach. When I find some time, I can create a script, that launches the bitbox appImage and creates that symlink. That way I will synchronize all your configuration changes onto the persistent volume and load that into the |
Problem: When using Tails, the main settings of the bitbox app like tor-proxy, full-nodes, language and so on are not saved per default, as the bitbox dotfiles (
/home/amnesia/.config/bitbox/**
) are deleted on reboot. In case the user is fine with persisting those settings, I found that the file~/.config/bitbox/config.json
includes the most important settings.Solution: By enabling the tails OS dotfiles feature, it's possible to persist files in the persistent volume, which are linked into the home folder on startup (using linux symbolic links). This way, I was able to keep the settings of
~/.config/bitbox/config.json
after restart. Changes made in the bitbox app are also synced to the persisted file.Question: As the dotfile feature allows you to persist specific files, not entire folders, is it safe to only persist the
config.json
file? Or is it bad, as this will not save all settings (more setting files likeaccounts.json
available) and therefore might produce some bad state?Futhermore: Do I need to reset my settings on updates, as the structure of the
config.json
might change?Thank you!
The text was updated successfully, but these errors were encountered: