Trust, but always verify. You are not immune.

  • If you shouldn’t use sensitive information as command line arguments and also avoid environment variables for passwords, how should you pass such data to programs short of setting up a configuration file?

    •  tal   ( @tal@lemmy.today ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      For the command line, do what OpenSSH does, take passwords on terminals.

      For environment variables, the issue is passing them to all programs; you don’t want to put credentials in a .bashenv or similar.