G'day All,
I download the V2.3 ZIP from Github and applied the changes from this patch over it (Resulting Code Set Attached).
Apart from indentation changes I did the following change to make things work.
RSA.py =====
Change
EMSA_PKCS1_V1_5_ENCODE(m, blockLen) to self.EMSA_PKCS1_V1_5_ENCODE(m, blockLen)
def EMSA_PKCS1_V1_5_ENCODE(hash, emLen): to def EMSA_PKCS1_V1_5_ENCODE(self, hash, emLen):
Once i got it all working, signing fails with the error "RSA key format is not supported"
The Private Key that I am using is in the XML attached to this bug report (Element Tag name is RSASK)
Appreciate if you could tell me what might be going wrong here.
Regards, Anurag
G'day All,
I download the V2.3 ZIP from Github and applied the changes from this patch over it (Resulting Code Set Attached).
Apart from indentation changes I did the following change to make things work.
RSA.py
=====
Change
EMSA_PKCS1_ V1_5_ENCODE( m, blockLen) PKCS1_V1_ 5_ENCODE( m, blockLen)
to
self.EMSA_
Change
def EMSA_PKCS1_ V1_5_ENCODE( hash, emLen): V1_5_ENCODE( self, hash, emLen):
to
def EMSA_PKCS1_
Once i got it all working, signing fails with the error "RSA key format is not supported"
The Private Key that I am using is in the XML attached to this bug report (Element Tag name is RSASK)
Appreciate if you could tell me what might be going wrong here.
Regards,
Anurag