Updated documentation.

This commit is contained in:
Nick Daly 2012-06-15 21:39:19 -05:00
parent ebf0472766
commit 10a82468ce
2 changed files with 5 additions and 8 deletions

View File

@ -519,9 +519,7 @@ Functional Questions
Using Santiago
==============
The Santiago service is mostly working now. I still need to add PGP encryption,
signing, decryption, and verification (and handle all the ``FIXME``\s and
``TODO``\s in the code).
The Santiago service is mostly working now.
First, you'll need to create a certificate to serve Santiago over HTTPS::
@ -530,8 +528,8 @@ First, you'll need to create a certificate to serve Santiago over HTTPS::
# chgrp 1000 santiago.crt
# chmod g+r santiago.crt
Next, you'll need to open up ``start.sh`` and update the system path to locate the
"gnupg_" and "cfg" modules.
Next, you'll need to open up ``start.sh`` and update the system path to locate
the "gnupg_" and "cfg" modules.
.. _gnupg: https://code.google.com/p/python-gnupg/

View File

@ -173,7 +173,8 @@ class Santiago(object):
def _get_protocol_module(cls, protocol):
"""Return the requested protocol module.
FIXME: Assumes the current directory is in sys.path
It assumes the Santiago directory is in sys.path, which seems to be a
fair assumption.
"""
import_name = cls.CONTROLLER_MODULE.format(protocol)
@ -627,8 +628,6 @@ class SantiagoListener(SantiagoConnector):
def learn(self, host, service):
"""Request a service from another Santiago client.
TODO: add request whitelisting.
"""
return self.santiago.query(host, service)