AttributeError: 'builtin_function_or_method' object has no attribute 'algorithm' #461
Unanswered
Akhil-Turnkey
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure this exactly applies to your case, but maybe this will point you in a good direction. There are different implementations of certificate objects, each with their own structures. In my case I needed to convert
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I am a relatively new developer and this is the first time I am working with something like PDF signings.
I use a few bash commands to generate a .pfx file of my own for developing & testing purposes.
I am encountering an AttributeError: 'builtin_function_or_method' object has no attribute 'algorithm'
Chatgpt explained to me that this error is being caused because the public key in my .pfx file does not have an 'algorithm' attribute but it further goes to say that since the key or hashing is an RSA algorithm, the pyhanko library handles that automatically.
I have been hard stuck on this for 2 days and I am not able to progress further. I hope someone on this forum can help me.
I have attached my entire code and the stack trace as well.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions