Git Product home page Git Product logo

Comments (4)

Steven1240 avatar Steven1240 commented on July 18, 2024

aes256_decode.log
aes128_decode.log

from libsrtp.

pabuhler avatar pabuhler commented on July 18, 2024

hi @Steven1240, I could reproduce the error with the data you provided but if I did the same test on a pcap that I created then it manages to decode fine.
srtp_aes_256.zip
./rtp_decoder -a -o 42 -t 10 -e 256 -k f0f04914b513f2763a1b1fa130f10e2998f6f6e43e4309d1e622a0e332b9f1b63b04803de51ee7c96423ab5b78d2 -d srtp < srtp_aes_256.pcap

Are you sure the key is correct ? If you can create a complete example that shows the problem, or at least include the original pliantext, I could look some more. What version of libsrtp was used to encrypt the data ?

from libsrtp.

Steven1240 avatar Steven1240 commented on July 18, 2024

Hi @pabuhler

some error exists in master key or master salt data.
re-generate aes256 and key/salt data and re-invoke rtp_decoder, and get no error. The previous error caused from the incorrect key/salt.
p3p_aes256.srtp.pcap.zip

Thanks for you support.

./rtp_decoder -a -o 46 -t 10 -e 256 -k 72A8B2209A62DC3410301A78BE3D9A57CD9271E07FC62D12E4A1BC6B52EECAE95810C7F77EDB2670ED48D408984B < p3p_aes256.srtp.pcap

from libsrtp.

pabuhler avatar pabuhler commented on July 18, 2024

ok, I will close this then

from libsrtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.