saltstack/salt — pull request #1974 by s0undt3ch (2012-09-05 21:37:34+00:00)
Title: Reduce requirements to generate keys.

The generation of keys does not involve all the checks required to accept/deny/list keys. This code change allows:
* regular users to generate keys
* `/etc/salt` and `/var/log/salt` not to exist or not to be readable by the current user

It also does not check for a running master. We have now lowered the requirements to run this script just for generating keys.