BEE (Bus Encryption Enabled) is a feature on certain drives that encrypts the audio-visual files present on certain blu-ray discs.
The data on the disc itself is not encrypted, so it is useful for MPF to detect whether a disc has BEE enabled and if so, print it to the submission info.
Of note for redump, we would be able to see this BEE flag and check with the drive model and with the dumper as to whether the BD-Video dump is good (no encryption, identical to disc) or bad (has been encrypted by the drive).
Detection can be done by checking whether the first bit of the second byte of AACS/Content000.cer is 1 (enabled) or 0 (disabled). If AACS/Content000.cer is not present or has size=0bytes, then the same check can be run on AACS/Content001.cer
That is, MPF needs to open AACS/Content000.cer file (AACS/Content001.cer if 000 size=0), read the second byte (data[1]). If > 127 then BEE is enabled, otherwise it is not.
BEE (Bus Encryption Enabled) is a feature on certain drives that encrypts the audio-visual files present on certain blu-ray discs. The data on the disc itself is not encrypted, so it is useful for MPF to detect whether a disc has BEE enabled and if so, print it to the submission info.
Of note for redump, we would be able to see this BEE flag and check with the drive model and with the dumper as to whether the BD-Video dump is good (no encryption, identical to disc) or bad (has been encrypted by the drive).
Detection can be done by checking whether the first bit of the second byte of
AACS/Content000.cer
is 1 (enabled) or 0 (disabled). IfAACS/Content000.cer
is not present or has size=0bytes, then the same check can be run onAACS/Content001.cer
That is, MPF needs to openAACS/Content000.cer
file (AACS/Content001.cer
if 000 size=0), read the second byte (data[1]
). If> 127
then BEE is enabled, otherwise it is not.