chiark / gitweb /
README: Document new semantics for `hash'
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 27 Nov 2019 13:49:46 +0000 (13:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:51 +0000 (21:56 +0000)
Since 13b8fbf4548f3457b02afd36e9284d39839d6f85
  sig: Move hashing into algorithm
new public key internal APIs use this rather differently.

So far the difference has been nugatory, because there's only rsa1.
But we should change the documentation.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README

diff --git a/README b/README
index 05b073fd72988c7121db7a1f2a742a546ba24dc5..e83b66d905a6c9734b8db45d647a9af53c5a2f7d 100644 (file)
--- a/README
+++ b/README
@@ -403,7 +403,8 @@ site: dict argument
   key (rsapubkey closure): our peer's public key (obsolete)
   transform (transform closure): how to mangle packets sent between sites
   dh (dh closure)
-  hash (hash closure)
+  hash (hash closure): used for keys whose algorithm (or public
+    or private key file) does not imply the hash function
   key-lifetime (integer): max lifetime of a session key, in ms
     [one hour; mobile: 2 days]
   setup-retries (integer): max number of times to transmit a key negotiation