diff options
author | lloyd <[email protected]> | 2015-03-10 13:17:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-03-10 13:17:22 +0000 |
commit | ae23641ce0531e77b77d660873de1c2e374d21d0 (patch) | |
tree | 3437c84def6186e1cdd8edd7ec9e578be80ef57a | |
parent | 45c6dcf839e6b2e701db6c9158dc890cb8be36a2 (diff) |
Use /usr/bin/env to find python in the install script, Python doc updates
Both from Uri B to mailing list.
-rw-r--r-- | doc/manual/python.rst | 17 | ||||
-rwxr-xr-x | src/scripts/install.py | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/doc/manual/python.rst b/doc/manual/python.rst index 295caa3c3..cef9fddd2 100644 --- a/doc/manual/python.rst +++ b/doc/manual/python.rst @@ -109,7 +109,8 @@ Ciphers .. py:method:: update_granularity() - Returns update block size + Returns update block size. Call to update() must provide + input of exactly this many bytes .. py:method:: is_authenticated() @@ -134,15 +135,17 @@ Ciphers .. py:method:: update(txt) - Consumes input text and returns output + Consumes input text and returns output. Input text must be + of update_granularity() length. Alternately, always call + finish with the entire message, avoiding calls to update + entirely .. py:method:: finish(txt = None) - Finish processing (with an optional final input). May throw if - message authentication checks fail, in which case all plaintext - previously processed must be discarded. Alternately, always - call finish with the entire message, avoiding calls to update - entirely. + Finish processing (with an optional final input). May throw + if message authentication checks fail, in which case all + plaintext previously processed must be discarded. You may + call finish() with the entire message Bcrypt ---------------------------------------- diff --git a/src/scripts/install.py b/src/scripts/install.py index b279de768..6f6a9fecc 100755 --- a/src/scripts/install.py +++ b/src/scripts/install.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python """ Botan install script |