ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

Encryption keys brokey again :)

Open HiNice2MeetU opened this issue 4 years ago • 17 comments

Metadata (please complete the following information) Version: 2.0.3 OS: Arch Linux Shell: Bash Anime: Tested with,

  • Jojo No Kimyou Na Bouken Ougon No Kaze (36)
  • Death Note (1)
  • Neon Genesis Evangelion (1)
  • Jojos Bizarre Adventure (1)

Describe the bug Anime does not stream, comes up with this msg: base64: invalid input bad decrypt 140170587273024:error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:crypto/evp/evp_enc.c:599: Video URL not found

Steps To Reproduce

  1. Run ani-cli Death Note
  2. Choose 1
  3. Choose episode 1

Expected behavior Streaming should work

HiNice2MeetU avatar Apr 15 '22 01:04 HiNice2MeetU

yes, gogo changed their keys yet again, they already did it this morning, which we successfully fixed. currently working on a fix for this one

justchokingaround avatar Apr 15 '22 01:04 justchokingaround

ok cool =)

HiNice2MeetU avatar Apr 15 '22 01:04 HiNice2MeetU

This also affects one piece and by any chance is there a a way to use a more consistent site or maybe find some way to pull the keys from the site in software?

Splodienyancat avatar Apr 15 '22 04:04 Splodienyancat

I'm a newbie to most technical stuff, but how does one go bout getting the encryption keys.

hackedXD avatar Apr 15 '22 04:04 hackedXD

tldr: deobfuscate js, locate cryptojs calls, get the key and the iv

justchokingaround avatar Apr 15 '22 05:04 justchokingaround

how exactly are the keys being retrieved? If anyone can share the steps then I would like to attempt to automate it using CI/CD.

Shinyzenith avatar Apr 15 '22 05:04 Shinyzenith

got the same issue.

amaan211 avatar Apr 15 '22 06:04 amaan211

how exactly are the keys being retrieved? If anyone can share the steps then I would like to attempt to automate it using CI/CD.

Exactly. CI integration or like integratetion into a new command. Still idk much bout this project so idk how.

hackedXD avatar Apr 15 '22 06:04 hackedXD

same thing is happening when I am trying to download monster

theDevAyan avatar Apr 15 '22 09:04 theDevAyan

im getting this problem with death note

DevER-M avatar Apr 15 '22 09:04 DevER-M

this issue will happen with all anime.

justchokingaround avatar Apr 15 '22 10:04 justchokingaround

oh ok when will this get fixed? @iamchokerman

DevER-M avatar Apr 15 '22 10:04 DevER-M

I PR'd the fix.

Rendevior avatar Apr 15 '22 11:04 Rendevior

Fixed in #648

Derisis13 avatar Apr 15 '22 11:04 Derisis13

~~They seem to be broken once again for me. using death note with ep 1.~~

image

~~output~~

Loading episode 1...
Invalid character in input stream.
bad decrypt
8085F30201000000:error:1C80006B:Provider routines:ossl_cipher_generic_block_final:wrong final block length:providers/implementations/ciphers/ciphercommon.c:429:
Video URL not found

~~i install using the brew installation guide. the version which im currently using is 2.0.0~~

updating using ani-cli -U has fixed the problem. sorry for any inconveniences.

char-ptr avatar Apr 17 '22 00:04 char-ptr

image

Apparently (at least on Windows through Scoop) encryption keys just broke again :c Tested for 3 different animes to no avail.

DrKJeff16 avatar Apr 17 '22 04:04 DrKJeff16

Can confirm key change occurred some minutes ago. Can also confirm that I am too dumb to deobfuscate javascript myself, RIP

MysteriousLounger avatar Apr 17 '22 04:04 MysteriousLounger