Live data from Hacker News

Viewing profile — linuxhackerman

linuxhackerman

HN member
Joined
Fri, Oct 14, 2022, 7:41 AM UTC
HN karma
14
Public activity
10 items

About linuxhackerman

No profile information was provided.

Recent public activity

  1. comment
    Comment #46614121

    This is indeed a useful approach to limiting the scope of environment variables, and I try to use that rather than exporting when possible. Using files (especially "special" files …

  2. comment
    Comment #46614012

    As pointed out by evgpbfhnr, I do avoid using environment variables and justify it (though with different reasoning than yours). Your justification is the kind of thing I mention a…

  3. comment
    Comment #46613930

    Process substitution (the ` What you've hinted at and what I didn't mention in the post is that this is indeed a good way to avoid even having the secret ever be a shell variable. …

  4. comment
    Comment #46613852

    I touch on this possibility with the `rbw` example: >`$ token=$(rbw get gitlab-access-token) # get the token from a command-line password manager`

  5. comment
    Comment #46613839

    It's definitely a powerful approach; I don't think it's particularly viable for the sort of use cases where you're throwing secrets around in a shell: - It's not supported natively…

  6. comment
    Comment #46613776

    As I mention in the post: >One way to avoid this is to prevent the command from being written to history. Bash has a configuration variable named HISTCONTROL, which when set to inc…

  7. comment
    Comment #34492962

    "reproducible" means you get the same result, bit-for-bit, when running a build in different circumstances. It's trivial to write non-reproducible Nix derivations by placing timest…

  8. comment
    Comment #33200731

    I've been planning to implement NixOS tests based on virtiofs instead of 9p for a while, but haven't got it working yet (at the time I tried, the available uid mapping strategies d…

  9. comment
    Comment #33200687

    Great job, me. I fixed it in the source but didn't deploy it to the site. Thanks for pointing it out!

  10. comment
    Comment #33200686

    It doesn't actually go through a "real network" at all, the VM speaks 9p to the host via a virtio pipe (not sure what the technically correct term for this is) so there's none of t…