Skip to content
Snippets Groups Projects
  1. Oct 18, 2012
  2. Oct 16, 2012
    • guns's avatar
      Do not interpret backslashes when reading passwords · 8c46958d
      guns authored
      The `read` builtin accepts backslash notation for common non-printing
      characters by default, like `\t` and `\n`. This requires that any
      literal backslashes must also be escaped as `\\`.
      
      Given that `gpg -e` does not interpret input, the `read` invocations are
      changed to do the same.
      
      Also, the right hand side of an `==` comparison within `[[ ]]` must be
      quoted in order to suppress pattern metacharacter expansion. Quoting the
      bash manual:
      
          When the == and != operators are used, the string to the right of
          the operator is considered a pattern and matched according to the
          rules described below under Pattern Matching.
      8c46958d
  3. Oct 09, 2012
  4. Oct 07, 2012
  5. Oct 05, 2012
  6. Oct 03, 2012
  7. Sep 30, 2012
  8. Sep 23, 2012
  9. Sep 22, 2012
  10. Sep 21, 2012
Loading