You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a Bolt embedded key-value store using the bbolt implementation.
We have the CLI Browser for BoltDB files boltbrowser in nixpkgs. The database file does must not be locked to be able to open it, even in read-only mode.
So stop the services first:
systemctl stop trustix.socket
Now you can have a look at the database:
$ sudo nix run nixpkgs#boltbrowser -- -ro /var/lib/trustix/trustix.db
For example:
It is a Bolt embedded key-value store using the bbolt implementation.
We have the CLI Browser for BoltDB files boltbrowser in nixpkgs. The database file does must not be locked to be able to open it, even in read-only mode.
So stop the services first:
Now you can have a look at the database:
$ sudo nix run nixpkgs#boltbrowser -- -ro /var/lib/trustix/trustix.db
When you are ready, start the services again:
Use the database browser i guess.
/nix/store/sql7z5xkbmydnqinyp3brpp3m76vj13p-trustix-dev/bin/trustix query --key string
but where to get
string
Doing it like in this test works:
https://github.com/tweag/trustix/blob/e89875c2a40588c7badeb52ec31ea23fa2e0c7b6/packages/trustix/tests/default.nix#L24-L40
I still don't know how i get from "/nix/store/hkgpl034l6c5zgzhks2dyp7p41z6qyc4-hello-2.12" to the key.
Why does it return a different value than the one i submitted? Isn't the purpose of a database to store values and not alter them?
The text was updated successfully, but these errors were encountered: