gteissier / srtp-decrypt

Deciphers SRTP packets
53 stars 26 forks source link

Decrypt 256? #10

Open davidcsi opened 1 year ago

davidcsi commented 1 year ago

Hello,

I've used it ti decrypt 128, but when decrypting 256 and setting the key, it returns:

# ./srtp-decrypt -k rqGTx7wtnvkAxNO2sj2Xt6iY79Ftg6UsiPuWtAn4ZqYMgfwxAMLcR7surqBYMA== < /ile.pcap > file.hex
srtp-decrypt: srtp-decrypt.c:41: decode_sdes: Assertion `len == 40' failed.
gteissier commented 1 year ago

hi, you are right, the tool only supports aes128 cipher. i guess you might have results with decrypt-srtp, also on github. regards

davidcsi commented 1 year ago

thanks @gteissier ! I tried compiling that but it's erroring with

decrypt-srtp.c:11:10: fatal error: rtp.h: No such file or directory
 #include "rtp.h"
          ^~~~~~~
compilation terminated.

i've installed libsrtp-dev, libgcrypt-dev and libpcap-dev... i don't know if i'm missing something...