mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
Remove self.require_gpg.
Making GPG optional requires a lot more rework than I'm prepared to do right now. GPG *is* currently the fundamental identity base of this system and I don't know what upending that would look like. The most likely result is that authenticated clients couldn't talk to non-authenticated clients.
This commit is contained in:
parent
eaf14dc906
commit
9d0921d5a5
@ -131,8 +131,6 @@ class Santiago(object):
|
|||||||
self.hosting = hosting if hosting else self.load_data("hosting")
|
self.hosting = hosting if hosting else self.load_data("hosting")
|
||||||
self.consuming = consuming if consuming else self.load_data("consuming")
|
self.consuming = consuming if consuming else self.load_data("consuming")
|
||||||
|
|
||||||
self.require_gpg = require_gpg
|
|
||||||
|
|
||||||
def create_connectors(self, data, type):
|
def create_connectors(self, data, type):
|
||||||
connectors = self._create_connectors(data, type)
|
connectors = self._create_connectors(data, type)
|
||||||
self.protocols |= set(connectors.keys())
|
self.protocols |= set(connectors.keys())
|
||||||
@ -385,7 +383,7 @@ class Santiago(object):
|
|||||||
debug_log("fail fingerprint {0}".format(str(request.fingerprint)))
|
debug_log("fail fingerprint {0}".format(str(request.fingerprint)))
|
||||||
return
|
return
|
||||||
|
|
||||||
# copy out only required keys from request, throwing away cruft
|
# copy out only white-listed keys from request, throwing away cruft
|
||||||
request_body = dict()
|
request_body = dict()
|
||||||
source = json.loads((str(request)))
|
source = json.loads((str(request)))
|
||||||
try:
|
try:
|
||||||
@ -688,7 +686,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
santiago = Santiago(listeners, senders,
|
santiago = Santiago(listeners, senders,
|
||||||
hosting, consuming,
|
hosting, consuming,
|
||||||
me=mykey, monitors=monitors, require_gpg = False)
|
me=mykey, monitors=monitors)
|
||||||
|
|
||||||
# import pdb; pdb.set_trace()
|
# import pdb; pdb.set_trace()
|
||||||
with santiago:
|
with santiago:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user