Added configuration setting to automatically approve keys
commit8c7de5d5a1a78745a86d059fd0722b37b0ccfb96
authorThomas Leonard <talex5@gmail.com>
Sat, 12 Mar 2011 20:51:33 +0000 (12 20:51 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 12 Mar 2011 21:04:01 +0000 (12 21:04 +0000)
treeca151c849ea13a42034a5a26f565566f125e2334
parentfa8db97feecfbac7d18ed5745141aeeead1afc58
Added configuration setting to automatically approve keys

If:
- 'auto_approve_keys' is on (the default),
- this is the first time we've seen this feed (not an update), and
- the key is known to the key info server

Then we automatically approve the key without asking the user. Whatever
the setting, we always notify the user about new keys when updating a
feed.
tests/basetest.py
tests/server.py
tests/testdownload.py
zeroinstall/0launch-gui/preferences.py
zeroinstall/0launch-gui/zero-install.ui
zeroinstall/cmd/config.py
zeroinstall/injector/config.py
zeroinstall/injector/trust.py