PyCrypto enforces a minimum of 1024, and it must be a multiple of 256 --
M2Crypto has no minimum, but it also allows e=1...


On Sat, Feb 8, 2014 at 8:08 AM, Paul Kehrer <notifications@github.com>wrote:

> In cryptography/hazmat/primitives/asymmetric/rsa.py:
>
> > @@ -109,6 +109,10 @@ def __init__(self, p, q, private_exponent, public_exponent, modulus):
> >          self._public_exponent = public_exponent
> >          self._modulus = modulus
> >
> > +    @classmethod
> > +    def generate(self, backend, public_exponent, key_size):
>
> Also, should we set a minimum key size for generation with this public
> method?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/582/files#r9564391>
> .
>



-- 
"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