Hi Max,

I just found an unfinished email to you from last week in my drafts
folder. Here are bits that are still relevant I believe.

About the environment variables passed to the user session,
I wonder why this is implemented in such a complicated way;
I'm talking of the tails-env-helper + command line arguments thingie.

Copying a file and appending lines to it should be done directly in
Python, rather than by passing arguments to a helper program written
in shell: the way it is currently implemented, if done right, requires
you to deal with a well-known, rarely got right, problem: shell
quoting; you really don't want to do that I believe, and the fact the
current implementation does not deal with this issue at all is a big
hint. Moreover, doing it in Python will make it much easier to support
passing multiple envvars, which the current code does not support.

Bye,
-- 
  intrigeri <intrig...@boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
  | We're dreaming of something else.
  | Something more clandestine, something happier.
_______________________________________________
tails-dev mailing list
tails-dev@boum.org
https://boum.org/mailman/listinfo/tails-dev

Reply via email to