From af9a2cc7bc73129fcd807ac890be59dcc9672a4c Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 7 Apr 2014 22:15:38 -0500 Subject: add InvalidDecryption exception, check for ct > key size --- docs/exceptions.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/exceptions.rst') diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 28da8ecc..23e0df0a 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -43,3 +43,7 @@ Exceptions This is raised when the verify method of a one time password function's computed token does not match the expected token. + +.. class:: InvalidDecryption + + This is raised when RSA decryption does not succeed. -- cgit v1.2.3