got annoying eror :(
Traceback (most recent call last):
File "
ive see and change and follow the instruction in https://github.com/carpedm20/LINE/issues/92 but nothing's change and still got an error
Appreciate someone's help.
Why took rsakey use SESSION URL? its took 0.5s to take the rsakey Why u didnt use the existing function on the TalkService.do?
this might hint you: i was found this on LINE ANDROID Thrift client info: IdentityProvider.LINE = 1 IdentityProvider.UNKNOWN = 0 IdentityProvider.NAVER_KR = 2
RSA = LineAndroid.getRSAKeyInfo(1)
message = (chr(len(RSA.sessionKey)) + RSA.sessionKey + chr(len(mail)) + mail + chr(len(passwd)) + passwd).encode('utf-8')
pub_key = rsa.PublicKey(int(RSA.nvalue, 16), int(RSA.evalue, 16))
crypto = rsa.encrypt(message, pub_key).encode('hex')
result = LineAndroid.loginWithIdentityCredentialForCertificate(1,rsakey.keynm, crypto,True,'127.0.0.1','Anysz',cert)
@Nabouste The error you are seeing means that the Line Client is receiving an empty response from the API. There are several reasons that this could happen. Issue #92 addresses one reason. If you have already made the changes suggested in that issue, you may be running into another cause. Please post the relevant code so we can see what's happening. Also, please post the output from thrift --version.