Adding Keys?

Please post here for issues related to UHD discs
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Adding Keys?

Post by spl147 » Thu Dec 07, 2017 9:27 pm

how does one pass known decryption keys to makemkv?

ekpen49
Posts: 18
Joined: Sat Nov 18, 2017 7:47 pm

Re: Adding Keys?

Post by ekpen49 » Thu Dec 07, 2017 11:36 pm

spl147 wrote:how does one pass known decryption keys to makemkv?
+1
I was going to ask this question also.
George

Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: Adding Keys?

Post by Woodstock » Fri Dec 08, 2017 12:01 am

There's a FAQ on this, that Mike just updated... /faq/item/12/category/8

ekpen49
Posts: 18
Joined: Sat Nov 18, 2017 7:47 pm

Re: Adding Keys?

Post by ekpen49 » Fri Dec 08, 2017 7:22 am

Woodstock wrote:There's a FAQ on this, that Mike just updated... http://makemkv.com/faq/item/12/category/8
I put the Keycfg txt file in the mkv folder.
How do we interact with this txt file ?

Thanks.

George

spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Adding Keys?

Post by spl147 » Fri Dec 08, 2017 2:34 pm

Woodstock wrote:There's a FAQ on this, that Mike just updated... http://makemkv.com/faq/item/12/category/8
yea i did read that, but it's not very clear.

what must the file be called? what extension must it have?

Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: Adding Keys?

Post by Woodstock » Fri Dec 08, 2017 3:22 pm

The FAQ says "download the latest keydb_bd file, and unpack it in the directory", so I would guess the file name is already decided by the source.

I have not needed to do this, so it's outside my knowledge base.

spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Adding Keys?

Post by spl147 » Fri Dec 08, 2017 3:55 pm

Woodstock wrote:The FAQ says "download the latest keydb_bd file, and unpack it in the directory", so I would guess the file name is already decided by the source.

I have not needed to do this, so it's outside my knowledge base.
yea, im not using that file, i created one for the AACS2 keys

etc6849
Posts: 18
Joined: Thu Mar 17, 2016 12:10 am

Re: Adding Keys?

Post by etc6849 » Fri Dec 08, 2017 6:07 pm

When I click the link, it says the FAQ is from March 2010? I am also confused on what extension and name to call the file with the keys.
ekpen49 wrote:
Woodstock wrote:There's a FAQ on this, that Mike just updated... http://makemkv.com/faq/item/12/category/8
I put the Keycfg txt file in the mkv folder.
How do we interact with this txt file ?

Thanks.

George

Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: Adding Keys?

Post by Woodstock » Fri Dec 08, 2017 7:03 pm

Yes, it's the FAQ from 2010, which Mike edited recently to include this line:
First, you need to look up or set "MakeMKV data directory" in preferences;
That tells you where, but the file name... The linked thread on doom9 includes this:
Here it is formatted for KEYDB.cfg.

Code: Select all

; host certificate v43
| HC | HOST_PRIV_KEY 0x88B245EA25315F46E6E99D9D521EB1194454A82D \
     | HOST_CERT 0x0201005CFFFF800000C400005BF6843ED1AA9C9D \
                 0xEEFEAD8174479C72AB5457691EEB75669105BB19 \
                 0x5D4B9133069A18FD5357797116CEC22D7FE8F366 \
                 0xC2A092E1D00DB770E9E01DB687456B6FBFA28C96 \
                 0x2D88F05DD43F584ECC821AF7 \
     | HOST_NONCE 0x2923BE84E16CD6AE529049F1F1BBE9EBB3A6DB3C \
     | HOST_KEY_POINT 0x8A60C80BD60C23605FBE90B27BF96B2DB38195C1 \
                      0x801F54EB29E0F6EC57AC2B9168E88B2D56977508
So, I would say that MakeMKV probably expects the name to be KEYDB.cfg

Metallikahn
Posts: 52
Joined: Wed Nov 15, 2017 4:22 pm

Re: Adding Keys?

Post by Metallikahn » Sat Dec 09, 2017 5:30 pm

Ok, So what I did was just download the "KEYDB.cfg" linked in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1823531

Open the cfg file with notepad and then copy/pasted all the keys listed in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1826296

Save the file in the MakeMKV data directory (which appears to be under "C:/users/username/.MakeMKV" by default).

I just loaded in the UHD of Deadpool and it opened it just like any other disc and I'm currently ripping it as normal. Estimating about 30 minutes total. I'll update on my success! :D

Meister_Proper
Posts: 79
Joined: Mon Mar 07, 2016 8:27 pm

Re: Adding Keys?

Post by Meister_Proper » Sun Dec 10, 2017 10:24 am

Awesome, thanks for the info!

AlexR688
Posts: 7
Joined: Mon Mar 05, 2012 11:38 pm

Re: Adding Keys?

Post by AlexR688 » Sun Dec 10, 2017 1:46 pm

Metallikahn wrote:Ok, So what I did was just download the "KEYDB.cfg" linked in this post on doom9: http://forum.doom9.org/showthread.php?p=1823531#post1823531

Open the cfg file with notepad and then copy/pasted all the keys listed in this post on doom9: http://forum.doom9.org/showthread.php?p=1826296#post1826296

Save the file in the MakeMKV data directory (which appears to be under "C:/users/username/.MakeMKV" by default).

I just loaded in the UHD of Deadpool and it opened it just like any other disc and I'm currently ripping it as normal. Estimating about 30 minutes total. I'll update on my success! :D
Any update on your progress?

Metallikahn
Posts: 52
Joined: Wed Nov 15, 2017 4:22 pm

Re: Adding Keys?

Post by Metallikahn » Sun Dec 10, 2017 7:07 pm

AlexR688 wrote:
Metallikahn wrote:Ok, So what I did was just download the "KEYDB.cfg" linked in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1823531

Open the cfg file with notepad and then copy/pasted all the keys listed in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1826296

Save the file in the MakeMKV data directory (which appears to be under "C:/users/username/.MakeMKV" by default).

I just loaded in the UHD of Deadpool and it opened it just like any other disc and I'm currently ripping it as normal. Estimating about 30 minutes total. I'll update on my success! :D
Any update on your progress?
Happy to report that the rip went perfect! Most movies are averaging anywhere from 40 -60 minutes to rip, which is right inline with any blurays I've ever done (seeing as they are only half the file size, typically). I've managed to rip Expendables 3, Deepwater Horizon, and both Ghostbusters. The Revenant and Billy Lynn wouldn't open. They must not be the right Keys for the US releases.

After ripping I've been able to successfully play the mkv's over my network on an Oppo udp-203 player! They direct play with Full lossless tracks, working subtitles, and it triggers the HDR flag on my LG 65B7A OLED TV. I can't verify ATMOS since I don't have an ATMOS receiver, but if it is bitstreaming the TrueHD track (and since Atmos is just metadata apended to said track) I'm just going to assume that is working perfect as well. Very Exciting! Can't wait for the Keylist to continue to grow! :D

etc6849
Posts: 18
Joined: Thu Mar 17, 2016 12:10 am

Re: Adding Keys?

Post by etc6849 » Sun Dec 10, 2017 7:15 pm

I tried that too a few days back. It doesn't decrypt the main playlist. DeUHD downloads and caches over 230MB+ for each disc, so there is obviously a lot more to this then just a few keys.

I agree though, it can open the disc with this method, but that is as far as I got. I'm using an older PC with the new LG 4k UHD internal drive from Fry's. I'm not sure if this is part of my issue (no Intel SGX support), but I'm not wasting anymore time on this until some of you post screen shots of your success and what specific hardware you are using.
Metallikahn wrote:Ok, So what I did was just download the "KEYDB.cfg" linked in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1823531

Open the cfg file with notepad and then copy/pasted all the keys listed in this post on doom9: http://forum.doom9.org/showthread.php?p ... ost1826296

Save the file in the MakeMKV data directory (which appears to be under "C:/users/username/.MakeMKV" by default).

I just loaded in the UHD of Deadpool and it opened it just like any other disc and I'm currently ripping it as normal. Estimating about 30 minutes total. I'll update on my success! :D

GirlPower
Posts: 1
Joined: Sun Dec 10, 2017 9:19 pm

Re: Adding Keys?

Post by GirlPower » Sun Dec 10, 2017 9:26 pm

I did the same as Metallikahn, and can also report that it works great.

I've ripped The Hunger Games box, insurgent,Alegiant,Oblivion,Passenges,The Reveant (European release indeed), and some other discs and they all play fine on an AppleTv 4k from my nas using Infuse 5.
I used makemkv and the 'Backup Discc' option, and then move the m2ts file to my nas. Largest at the moment is The Hunger Games Catching Fire at 76G.

Post Reply