Hi there, I'm curious to what would be an acceptable method of accessing JSON data in a AppVM from Dom0. I understand the general consensus is it is a risk to do so, but I have some conky's on my desktop which need data from some AppVM's.
My current method is this: `qvm-run --pass-io --user user --no-autostart an-app-vm 'cat /dev/shm/somedata.json | tr -cd [:print:] | jq -c .' | tr -cd [:print:] | jq -c .` Here I pipe the contents of `/dev/shm/somedata.json` through `tr -cd [:print:]` to remove all non-printable characters then `jq -c .` which if the input is JSON, will output JSON. I do this from within an AppVM and also in Dom0. Should I be piping through anything else to minimise risk? Sometimes if I know the data is going to be a certain size I pipe it though `head` also but can't really think of anything else that would be helpful. Kind regards, Tonux -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/42aa08b7-6dbf-73c0-bcbd-9a51275c5934%40riseup.net.