Can't decrypt iso with keydb

The place to discuss linux version of MakeMKV
Post Reply
Posts: 1
Joined: Sun Jan 10, 2021 11:00 pm

Can't decrypt iso with keydb

Post by dirtdigger » Sun Jan 10, 2021 11:14 pm


I have a disc that I've had trouble decrypting directly due to scratches (or so I think, there may be another issue there but that's another thread entirely). I was able to rip it to an ISO successfully using ddrescue, but now I cannot open that ISO in MakeMKV. Every time I try I get the error "The volume key is unknown for this disc - video can't be decrypted"

It seems that this is an AACS issue since I just ripped the disc without decrypting. I'm trying to get KEYDB.cfg working. I have that in my MakeMKV folder ~/.MakeMKV/KEYDB.cfg, and it appears that there are three different versions of my disc in the database. If I mount the ISO and find a sha1sum of AACS/Unit_Key_RO.inf, I get one that matches a line in my KEYDB.cfg.

Somehow I don't think MakeMKV is finding my KEYDB.cfg file. I tried playing around with the case (KeyDB.cfg, keydb.cfg, KEYDB.CFG) to no avail. Each time I change the filename I restarted MakeMKV in the hope that it would re-look for the file. I've also verified that the MakeMKV data directory is indeed pointing to the folder that contains the database in preferences.

Any suggestions? Thank you!

Posts: 10
Joined: Sun Feb 18, 2018 7:42 am
Location: /usa/utah

Re: Can't decrypt iso with keydb

Post by beandog » Wed Jan 20, 2021 8:26 am

MakeMKV doesn't use libaacs to decrypt Blu-rays.

If the disc is that badly damaged, it might be a good idea to just replace it.

Posts: 1
Joined: Thu Feb 18, 2021 10:45 am

Re: Can't decrypt iso with keydb

Post by megaminxwin » Thu Feb 18, 2021 10:54 am


I've been having the same issue with a disc of my own, as it happens; however I can't replace it, as it's from a limited edition (and now out of print) boxset and there's no way to replace the disc without buying a new boxset for $200. What's particularly annoying is that the disc *looks* pristine, however it likes to throw up a bunch of bad sectors.

I have the key I need for the ISO, and I did manage to successfully create an ISO with ddrescue after a looong time; I even managed to recover the single troubled file from the disc (a 19 GB .m2ts file, woo). I know that MakeMKV supports creating files from a disc image, so why isn't it able to recognise that it already knows what keys it needs? What does MakeMKV look for when trying to find the keys to decrypt the files, and is there a way to force it to use a particular key for a particular disc image?


Post Reply