Hello!
I'm searching for a simple way to check if the combination of discid + vuk available in a KEYDB.cfg can be used to decrypt the disc in the drive.
Basically I think the only way to check if a bluray can be decrypted successfully is to use the function 'aacs_decrypt_unit' but I've no idea how to use the 2nd parameter 'buf' ?
Maybe someone can tell me how to use this function and ideally how to modify the aacs_info example provided with libaacs to check if a vuk found in the keydb.cfg is a valid one.
Thanks in advance!
Additionally I've noticed a small error in aacs.c - it only affects the formatting of debug messages, but I think it should still be corrected: in function '_find_config_entry' there are 3 sections that output a 'Found xxx key for %s: %s' message - and the first parameter has to be a string, but it isn't - and so the debug output is garbled and unreadable.
'ce->entry.discid' has to be changed to 'str_print_hex(str2, ce->entry.discid, 20)' and str2 has to be defined - this way it's working correctly for me