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

“sha256checksum ” Where did you get it #58

Closed
itMcdull opened this issue May 17, 2021 · 7 comments
Closed

“sha256checksum ” Where did you get it #58

itMcdull opened this issue May 17, 2021 · 7 comments
Labels
integration problem Problem is not in plugin itself but related to how you use the plugin.

Comments

@itMcdull
Copy link

D/FLUTTER OTA(16035): OTA UPDATE ON LISTEN D/FLUTTER OTA(16035): OTA UPDATE ON STARTING DOWNLOAD D/FLUTTER OTA(16035): OTA UPDATE DOWNLOAD STARTED 37 D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD STARTED 37 D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD THREAD STARTED 37 D/FLUTTER OTA(16035): OTA UPDATE PENDING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 0 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 41 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 81 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 81 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 81 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 81 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE TRACK DOWNLOAD RUNNING I/flutter (16035): 81 I/flutter (16035): OtaStatus.DOWNLOADING D/FLUTTER OTA(16035): OTA UPDATE SUCCESS I/flutter (16035): 100 I/flutter (16035): OtaStatus.DOWNLOADING I/flutter (16035): Checksum verification failed I/flutter (16035): OtaStatus.CHECKSUM_ERROR
How should i solve it thanks

@itMcdull
Copy link
Author

keytool -v -list -keystore xxx.jks
get CHECKSUM sha256
Still the same problem
D/FLUTTER OTA(18683): OTA UPDATE SUCCESS I/flutter (18683): Checksum verification failed I/flutter (18683): OtaStatus.CHECKSUM_ERROR

@MartinHlavna MartinHlavna added the integration problem Problem is not in plugin itself but related to how you use the plugin. label Jun 18, 2021
@MartinHlavna
Copy link
Member

Hi,

I don't think keytool is the right tool to generate sha256 checksum. Our deploy script generates checksum using linux command

sha256sum xxx.apk

Please note that using checksum is optional (although I recommend it as security precaution).

@MartinHlavna
Copy link
Member

Closing because of no activity. Feel free to reopen if you have any follow up questions.

@robman70
Copy link

I have the same problem.
I calculated the checksum from the Windows prompt with the command:
certutil -hashfile <file_name> SHA256
and also with this command (Windows PowerShell):
get-filehash -Algorithm SHA256 <file_name>
I get the same result but the checksum is not accepted.

@MartinHlavna
Copy link
Member

Hello,
could you create some sample apk and checksum you got?

@robman70
Copy link

Hello,
ok, as soon as I can I do it.
But in the meantime I tried to get the checksum through Linux sha256sum and I got the exact same checksum I get with windows.
For the moment I have disabled the checksum check ... :-(

@MikolajPorebny
Copy link

MikolajPorebny commented Dec 20, 2022

Please note that using checksum is optional (although I recommend it as security precaution).

Being optional is not a solution. People got authority error.

Iis there anyone who found the propper way to make it working, please make a information note here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration problem Problem is not in plugin itself but related to how you use the plugin.
Projects
None yet
Development

No branches or pull requests

4 participants