script: temporary homedir creation
authorBen McGinnes <ben@adversary.org>
Sun, 25 Mar 2018 00:26:26 +0000 (11:26 +1100)
committerBen McGinnes <ben@adversary.org>
Sun, 25 Mar 2018 00:26:26 +0000 (11:26 +1100)
commitdde1aae312958776fab475d6c0cdfa19cc255863
tree07c1e62c5f0dfaf001354dfdee2a119669e5e721
parent22247f658ce2f8e527c26746358cfc2643c4832f
script: temporary homedir creation

* Script to create a temporary gnupg homedir in the user's directory
  for testing or scripting purposes.
* Creates a hidden directory on POSIX systems with the correct
  permissions (700).
* Creates a gpg.conf in that directory containing the same
  configuration options as used in the "Danger Mouse" example in the
  HOWTO with the correct permissions (600).
lang/python/examples/howto/temp-homedir-config.py [new file with mode: 0755]