Hello,

Is is possible to check if used key for decryption is correct key?
Because now if key is correct mp4decrypt generates output and have exit code 0
mp4info not show that output file in this case if encrypted, but in fact output file is garbage...

any possibility?
mp4decrypt check key is correct
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : mp4decrypt check key is correct
Issue date:

--- start body ---
Hello,

Is is possible to check if used key for decryption is correct key?
Because now if key is correct mp4decrypt generates output and have exit code 0
mp4info not show that output file in this case if encrypted, but in fact output file is garbage...

any possibility?
--- end body ---

The issue describes a potential flaw in the mp4decrypt tool where it does not validate the correctness of the decryption key. If an incorrect key is used, the tool still generates an output file and exits with a success code (0), leading users to believe the operation was successful when it was not. This could result in data integrity issues, as users may unknowingly work with corrupted or invalid files.