StackExchange/blackbox — pull request #19 by christophebiocca (2014-09-24 04:24:18+00:00)
Title: Uses umask to avoid creating world-readable files.

Uses `umask` to ensure decrypted files are created without read/write/execute permissions for others. This is better than `chmod`'ing, because the permissions are set _before_ the file contains sensitive info.

Provides an environment variable `DECRYPT_UMASK` to set the `umask` to use.

There was a `chmod o-rwx`. I removed it because it's no longer necessary.