Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: '_RSAPrivateKey' object has no attribute 'signer' #4

Open
nagappa2011 opened this issue Dec 21, 2022 · 4 comments
Open

Comments

@nagappa2011
Copy link

I was just going through this implementation and it is really helpful..
I am getting this error when i try to generate pkcs7 request for certificate download. Since I need to use cryptography 38.0.3 for my other dependencies , Need to fix this issue in that version itself. Any Suggestions will be helpful .
Thanks in Advance..
Best Regards

@mosen
Copy link
Owner

mosen commented Jan 8, 2023

Sorry i was not aware that a newer cryptography broke the package. I will have a look as soon as i can

@nchinnannava-JNPR
Copy link

Sure.. Thank a lot Mosen.. I think Signer and also signer_cert.public_key().verifier() both the places need changes... And One more thing what i observed is der_req = req.get_decrypted_envelope_data().. Not able to download CSR from der_req.. it complains about 6 extra bytes..

@toddjcrane
Copy link

toddjcrane commented May 11, 2023

Apparently it was pulled from pyca/cryptography a little over a year ago after being depreciated for 4 years. pyca/cryptography#6639

@mosen
Copy link
Owner

mosen commented May 12, 2023

yeah apologies i have not taken this project any further since the breakage. I can look at it but have very little spare time at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants