Yeah, that'd be good.


On Mon, Apr 21, 2014 at 1:45 PM, Paul Kehrer <notifications@github.com>wrote:

> In docs/hazmat/primitives/asymmetric/rsa.rst:
>
> >
> >          :raises TypeError: This is raised when the padding is not an
> >              :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
> >              provider.
> >
> > -        :raises ValueError: This is raised when decryption fails or the chosen
> > -            hash algorithm is too large for the key size.
> > +        :raises ValueError: This is raised when decryption fails or the data
> > +            is too large for the key size. If the padding is
> > +            :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP`
> > +            it may also be raised for invalid label values.
>
> Without encrypt it's somewhat difficult to add examples that we doctest
> since we have no good way to load keys right now. If we just want an
> untested block I can add that now and then revisit it to make it a doctest
> block when encrypt lands?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/949/files#r11825450>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084