浏览代码

the CookieAuthentication section in our spec seems to assume we're
still using the v0 control protocol.


svn:r6559

Roger Dingledine 19 年之前
父节点
当前提交
003561fa64
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      doc/control-spec.txt

+ 5 - 0
doc/control-spec.txt

@@ -771,6 +771,11 @@ $Id$
   file named "control_auth_cookie" into its data directory.  To authenticate,
   file named "control_auth_cookie" into its data directory.  To authenticate,
   the controller must send the contents of this file.
   the controller must send the contents of this file.
 
 
+  [With the v1 controller protocol, what we really mean is that you should
+   send the base16 of the contents of this file. Is this it, or is there
+   more to it? Should we write a control_auth_cookie.asc file too that
+   makes this step easier for people doing it manually? -RD]
+
   If the 'HashedControlPassword' option is set, it must contain the salted
   If the 'HashedControlPassword' option is set, it must contain the salted
   hash of a secret password.  The salted hash is computed according to the
   hash of a secret password.  The salted hash is computed according to the
   S2K algorithm in RFC 2440 (OpenPGP), and prefixed with the s2k specifier.
   S2K algorithm in RFC 2440 (OpenPGP), and prefixed with the s2k specifier.