Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Decrypting

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th May 2019, 22:54   #421  |  Link
candela
Registered User
 
Join Date: Jun 2005
Posts: 191
Quote:
Originally Posted by Buck View Post
Thanks! Followed the steps (of course in step 5 the bluray didn't play) and got the debug readout:

It looks similar to the previous one (me not knowing what to look for). Anything telltale here?
no that is not the libaacs debug log, it should look like this

Code:
src/libaacs/aacs.c:1181: libaacs 0.9.0 [200]
src/libaacs/aacs.c:1183: Initializing libgcrypt...
src/libaacs/unit_key.c:184: 1 CPS unit keys
src/libaacs/unit_key.c:98: Assigning CPS units to titles ...
src/libaacs/unit_key.c:109: Title FP : CPS unit 1
src/libaacs/unit_key.c:110: Title TM : CPS unit 1
src/libaacs/unit_key.c:130: Title 01 : CPS unit 1
src/libaacs/unit_key.c:130: Title 02 : CPS unit 1
src/libaacs/unit_key.c:130: Title 03 : CPS unit 1
src/libaacs/aacs.c:1004: Disc ID: 0a59fb18733bd6f5ef1d13813ea6ec947d1d1997
where are you copying that output from, you need to open the text file debuglog.txt
candela is offline   Reply With Quote
Old 25th May 2019, 19:14   #422  |  Link
Buck
Registered User
 
Join Date: Mar 2019
Posts: 17
Oh yeah. That's definitely different.

I had started in the VLC directory and expected to see the debug file there. When it didn't show up, I checked where I have set it from inside VLC and saw it had new info (I previously wiped it clean). That's what I posted.

Now, guessing that there might be some sort of permissions needed to write into the VLC directory, I just tried it again ... this time starting in a work directory (never had "administrator" confirmation notices there). After the disc failed again, a new debug file appeared in that work directory (and it is more like what you just posted):

Quote:
src/libaacs/aacs.c:1146: libaacs 0.9.0 [156]
src/libaacs/aacs.c:1148: Initializing libgcrypt...
src/libaacs/unit_key.c:184: 1 CPS unit keys
src/libaacs/unit_key.c:98: Assigning CPS units to titles ...
src/libaacs/unit_key.c:109: Title FP : CPS unit 1
src/libaacs/unit_key.c:110: Title TM : CPS unit 1
src/libaacs/unit_key.c:130: Title 01 : CPS unit 1
src/libaacs/unit_key.c:130: Title 02 : CPS unit 1
src/libaacs/unit_key.c:130: Title 03 : CPS unit 1
src/libaacs/unit_key.c:130: Title 04 : CPS unit 1
src/libaacs/unit_key.c:130: Title 05 : CPS unit 1
src/libaacs/unit_key.c:130: Title 06 : CPS unit 1
src/libaacs/unit_key.c:130: Title 07 : CPS unit 1
src/libaacs/unit_key.c:130: Title 08 : CPS unit 1
src/libaacs/unit_key.c:130: Title 09 : CPS unit 1
src/libaacs/unit_key.c:130: Title 10 : CPS unit 1
src/libaacs/aacs.c:970: Disc ID: 659903226c7c79c2880a2e0e7dfcc02d5bcc328f
src/file/file_win32.c:121: Opened WIN32 file C:\Users\1\AppData\Roaming\aacs\KEYDB.cfg (058d2420)
src/file/keydbcfg.c:101: Opened C:\Users\1\AppData\Roaming\aacs\KEYDB.cfg for r
src/file/keydbcfg.c:565: found config file: C:\Users\1\AppData\Roaming\aacs\KEYDB.cfg
src/file/file_win32.c:44: Closed WIN32 file (058d2420)
src/file/file_win32.c:121: Opened WIN32 file C:\ProgramData\aacs\KEYDB.cfg (058d2420)
src/file/keydbcfg.c:125: Reading C:\ProgramData\aacs\KEYDB.cfg
src/file/keydbcfg.c:565: found config file: C:\ProgramData\aacs\KEYDB.cfg
src/file/file_win32.c:44: Closed WIN32 file (058d2420)
src/file/file_win32.c:103: Error opening file C:\Users\1\AppData\Roaming\aacs\ProcessingDeviceKeysSimple.txt
src/file/keydbcfg.c:101: C:\Users\1\AppData\Roaming\aacs\ProcessingDeviceKeysSimple.txt not found
src/file/file_win32.c:103: Error opening file C:\ProgramData\aacs\ProcessingDeviceKeysSimple.txt
src/file/keydbcfg.c:136: C:\ProgramData\aacs\ProcessingDeviceKeysSimple.txt not found
src/file/file_win32.c:103: Error opening file C:\Users\1\AppData\Roaming\aacs\HostKeyCertificate.txt
src/file/keydbcfg.c:101: C:\Users\1\AppData\Roaming\aacs\HostKeyCertificate.txt not found
src/file/file_win32.c:103: Error opening file C:\ProgramData\aacs\HostKeyCertificate.txt
src/file/keydbcfg.c:136: C:\ProgramData\aacs\HostKeyCertificate.txt not found
src/libaacs/aacs.c:1183: Starting AACS waterfall...
src/libaacs/aacs.c:894: Searching for keydb config entry...
src/libaacs/aacs.c:564: Calculate media key...
src/libaacs/mkb.c:79: MKB size: 1048576
src/libaacs/mkb.c:50: Retrieved MKB record 0x10 (04610020)
src/libaacs/mkb.c:80: MKB version: 60
src/libaacs/mkb.c:50: Retrieved MKB record 0x10 (04610020)
src/libaacs/mkb.c:50: Retrieved MKB record 0x10 (04610020)
src/file/file_win32.c:121: Opened WIN32 file C:\Users\1\AppData\Roaming\aacs\drl (058d2420)
src/file/keydbcfg.c:455: Reading C:\Users\1\AppData\Roaming\aacs\drl
src/file/keydbcfg.c:462: Read 4 bytes from C:\Users\1\AppData\Roaming\aacs\drl, version 60
src/file/file_win32.c:44: Closed WIN32 file (058d2420)
src/file/file_win32.c:121: Opened WIN32 file C:\Users\1\AppData\Roaming\aacs\hrl (058d2420)
src/file/keydbcfg.c:455: Reading C:\Users\1\AppData\Roaming\aacs\hrl
src/file/keydbcfg.c:462: Read 4 bytes from C:\Users\1\AppData\Roaming\aacs\hrl, version 60
src/file/file_win32.c:44: Closed WIN32 file (058d2420)
src/libaacs/mkb.c:50: Retrieved MKB record 0x81 (0461022c)
src/libaacs/aacs.c:516: Get UVS...
src/libaacs/mkb.c:50: Retrieved MKB record 0x04 (046108bc)
src/libaacs/aacs.c:526: Get cvalues...
src/libaacs/mkb.c:50: Retrieved MKB record 0x05 (046113ec)
src/libaacs/aacs.c:546: Error calculating media key. Missing right processing key ?
src/libaacs/aacs.c:912: Calculate CPS unit keys...
src/libaacs/cci.c:143: CCI: 1 entries
src/libaacs/cci.c:92: CCI: AACS basic CCI found
src/libaacs/cci.c:179: AACS basic CCI found
src/libaacs/aacs.c:1186: Failed to initialize AACS!
src/file/mmc_device_win32.c:140: Opening Windows MMC drive E:\...
src/file/mmc_device_win32.c:161: Windows MMC drive \\.\E: opened
src/libaacs/mmc.c:131: MMC get configuration [feature 0x10d] ...
src/file/mmc_device_win32.c:122: Send succeeded!
src/libaacs/mmc.c:228: AACS feature descriptor:
src/libaacs/mmc.c:229: AACS version: 1
src/libaacs/mmc.c:230: AACS active: 1
src/libaacs/mmc.c:231: Binding Nonce generation support: 1
src/libaacs/mmc.c:232: Binding Nonce block count: 1
src/libaacs/mmc.c:233: Bus encryption support: 1
src/libaacs/mmc.c:234: Read drive certificate: 1
src/libaacs/mmc.c:235: AGID count: 2
src/libaacs/mmc.c:65: MMC report key...
src/file/mmc_device_win32.c:122: Send succeeded!
src/libaacs/aacs.c:1030: Bus Encryption Capable flag in drive certificate: 1
src/libaacs/mmc.c:404: Closed MMC drive
src/libaacs/aacs.c:1208: AACS initialized!
src/libaacs/aacs.c:1224: AACS destroyed!
Buck is offline   Reply With Quote
Old 25th May 2019, 20:12   #423  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 14
Quote:
Originally Posted by Buck View Post
After the disc failed again, a new debug file appeared in that work directory (and it is more like what you just posted):
It's definitely not using UK from config file. I'm not sure why.

You seem to have two config files installed. One in
Quote:
src/file/file_win32.c:121: Opened WIN32 file C:\Users\1\AppData\Roaming\aacs\KEYDB.cfg (058d2420)
and another one in
Quote:
src/file/file_win32.c:121: Opened WIN32 file C:\ProgramData\aacs\KEYDB.cfg (058d2420)
Perhaps this is somehow messing up libaacs?
mick0 is offline   Reply With Quote
Old 25th May 2019, 21:55   #424  |  Link
Buck
Registered User
 
Join Date: Mar 2019
Posts: 17
Whoa! That was it!

I renamed the duplicate aacs directory (it's was an older version apparently left over from a system restore) and 2001ASO played immediately.

Considering this, should it be written up as a (possible) bug for VLC? ... VLC tracking down possible aacs folders and not being complete enough to test all such folders before giving up with an error (and maybe alerting the user to multiple folders)?
Buck is offline   Reply With Quote
Old 26th May 2019, 18:37   #425  |  Link
Buck
Registered User
 
Join Date: Mar 2019
Posts: 17
On further thought, and with my previously being able to play the disc when adding the 2001ASO key entry to the very beginning of keys config file (but not the end, which included wherever else it already was in the file) in the user's aacs directory, demonstrates the file was read ... but not correctly or not all the way through. That definitely is buggy and needs a programmer to debug the procedure. Strictly a VLC problem then?

Last edited by Buck; 26th May 2019 at 18:39.
Buck is offline   Reply With Quote
Old 7th June 2019, 22:04   #426  |  Link
Mr Wolf
Registered User
 
Mr Wolf's Avatar
 
Join Date: Feb 2013
Posts: 8
Hi, I'm planning to buy an external USB 4K blu-ray reader (I haven't chosen a model, though), since I have a couple of 4K blu-rays.
I was wondering if FindVUK can extract the keys (using DVDFab?), and if with those keys I can play 4K blu-rays with VLC, like "normal" blu-rays.
Anyone has experienced this?
Mr Wolf is offline   Reply With Quote
Old 8th June 2019, 00:11   #427  |  Link
candela
Registered User
 
Join Date: Jun 2005
Posts: 191
Quote:
Originally Posted by Mr Wolf View Post
Hi, I'm planning to buy an external USB 4K blu-ray reader (I haven't chosen a model, though), since I have a couple of 4K blu-rays.
I was wondering if FindVUK can extract the keys (using DVDFab?), and if with those keys I can play 4K blu-rays with VLC, like "normal" blu-rays.
Anyone has experienced this?
Only with specific 'friendly' drives, a valid host certificate and updated libaacs.dll So at this moment theoretically yes, practically probably no.
candela is offline   Reply With Quote
Old 8th June 2019, 06:46   #428  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 14
Quote:
Originally Posted by Mr Wolf View Post
Hi, I'm planning to buy an external USB 4K blu-ray reader (I haven't chosen a model, though), since I have a couple of 4K blu-rays.
I was wondering if FindVUK can extract the keys (using DVDFab?)
Yes, FindVUK can extract unit keys from DVDFab, but AFAIK you have to use an LG/Asus "UHD friendly" drive (e.g. Pioneer drives will NOT work).

Quote:
Originally Posted by Mr Wolf View Post
and if with those keys I can play 4K blu-rays with VLC, like "normal" blu-rays.
Anyone has experienced this?
UHD discs should work on any libbluray/libaacs enabled software (VLC/Kodi/mpv etc), if you have

- AACS 1.0 drive that can read UHD discs ("UHD friendly" drive with friendly firmware) - official UHD/AACS2 drives will NOT work
- a valid AACS 1.0 host certificate in your config file
- VUK and/or Unit key(s) for your disc(s) in your config file

You may also need a fairly recent version of VLC/libbluray/libaacs, especially if you want menu support for UHD discs.

If you have not inserted any MKBv70+ discs, you can use this host certificate. It's already revoked in MKBv70, but it works up to MKBv68.
Code:
| HC | HOST_PRIV_KEY 0x5924778E74CC2B18B95BAE7D93A09505B1BF08CE | HOST_CERT 0x0201005CFFFF800001B100005F1407EDBF9D1CD38F33A625209B5ED10D48F71E2AB2A1C53CCF9E25D6AEB4BEE968FBBD10DC44064841C358106731589A2C12DD5B4D86FE840D2C6525594E72A19C2EDBC3DD6A28F75E9A9C00D684BB ; MKBv68
mick0 is offline   Reply With Quote
Old 10th June 2019, 11:06   #429  |  Link
Mr Wolf
Registered User
 
Mr Wolf's Avatar
 
Join Date: Feb 2013
Posts: 8
Thanks for your answers.
Ok, actually I spent some times to make blu-rays work and I don't want to spend money and time if I'm not sure it will work.

By the way, the most updated libaacs.dll and libbdplus.dll I found I downloaded from here:
https://vlc-bluray.whoknowsmy.name/files/win64/

I have just a couple of blu-rays that won't play because of the libbdplus.dll.
I don't know where to find a more updated version.

By the way, searching for the player (I would buy only an external USB player), I've found a lot of player of unknown brand (Archgon, Techpulse...) and so I guess I won't be able to extract the keys and play 4K blu-rays with them.

Last edited by Mr Wolf; 10th June 2019 at 11:15.
Mr Wolf is offline   Reply With Quote
Old 14th July 2019, 19:08   #430  |  Link
cyprus
Registered User
 
Join Date: Apr 2019
Posts: 3
Newer PK entries - untested

These were briefly posted on another site ... v63 works here but have not yet tested the other two.

| PK | 0x76DDD7093216D28C15049A6B9C5C18B9 ; v63
| PK | 0x3B323C7A9AFC0921831D247239823DE6 ; v64-65
| PK | 0x7A4F40D8696B7B159BE8176CC9EDB85C ; v66-68
cyprus is offline   Reply With Quote
Old 1st August 2019, 19:22   #431  |  Link
TTide
Registered User
 
Join Date: Jul 2014
Posts: 25
What Version of DVDfab does FindVUK Support?

It's been a while since i setup my computer to decrypt my blu-ray discs.
I have to ability to run my discs on both windows and linux.
I have 2 BD+ Discs that play on VLC x64 (3.0.7.1) but there are cracks on the screen.

I tried the latest DVDfab x64 11.0.4.1 and got this:
ERROR! Cannot find (supported) DVDfab Passkey, DVDfab Mediaplayer or DVDfab!

Thanks in advance,
TTide

Last edited by TTide; 1st August 2019 at 20:38. Reason: Trying the latest version.
TTide is offline   Reply With Quote
Old 2nd August 2019, 20:54   #432  |  Link
niektory
Registered User
 
Join Date: Jul 2019
Posts: 2
Yep, I got the same error when I tried FindVUK 1.24 with DVDfab 11.0.4.0. However, DVDFab Passkey 9.3.5.4 worked, so perhaps try using that.
niektory is offline   Reply With Quote
Old 4th August 2019, 00:13   #433  |  Link
TTide
Registered User
 
Join Date: Jul 2014
Posts: 25
Using DVDFab Passkey 9.3.5.4 worked. There's no point in using DVDfab 11 as it won't work. Thanks niektory you saved me some time testing the different versions of DVDFab Passkey.
TTide is offline   Reply With Quote
Old 4th August 2019, 09:31   #434  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 364
Hi, will try dvdfab when i am back home from my vacation.
Personally i am always using the most recent passkey version.

Gesendet von meinem H8324 mit Tapatalk
nalor is offline   Reply With Quote
Old 4th August 2019, 18:28   #435  |  Link
richy
Registered User
 
Join Date: Jun 2003
Posts: 10
I'm on holiday myself as well but I know some versions of DVDFab 11 definitely work as I've been using an earlier one for the last couple of months with FindVUK 1.24 (and not updated to the anything more recent because everything was working fine so why bother, eh?).
richy is offline   Reply With Quote
Old 8th August 2019, 20:40   #436  |  Link
spotter
Registered User
 
Join Date: Jan 2002
Posts: 257
I think this can be rewritten to not depend on dvdfab at all, but just use makemkv's libraries (and then it would work across windows, macos, linux)
spotter is offline   Reply With Quote
Old 8th August 2019, 23:35   #437  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 14
Quote:
Originally Posted by spotter View Post
I think this can be rewritten to not depend on dvdfab at all, but just use makemkv's libraries (and then it would work across windows, macos, linux)
That's easier said than done. Makemkv libraries don't export any keys and all keys are obfuscated in the memory so it's a lot harder to extract them from makemkv. I'm not saying it's impossible, just that it's not as easy as dvdfab. However, I don't really see the point on writing a "FindVUK for Makemkv" since I don't think it's any easier than writing a "FindVUK for PowerDVD/WinDVD/TMT" (official/licensed players).

IMHO it would be better to add all known device keys, processing keys and host certificates to the database and add support for calculating keys - although there is already aacskeys available for that. Also libaacs can use those DKs/PKs/HCs directly so technically it can already calculate VUKs on-the-fly for *all* discs up to MKBv68 (about 99.9% of all discs currently out there).

For bus encryption enabled discs (UHD or "BEE" BD) you need a valid host certificate for reading a data key from the drive. Also HC is needed for reading a VID from the drive - which is required for calculating a VUK. Another option is using LibreDrive mode. LD allows reading the key material from the drive without using host certificates and it also disables bus encryption completely. Therefore it can be used for backing up BEE discs using ddrescue or just by copying the files manually to the hard drive (on LD enabled drives). However, LD is not an universal solution as it only works with certain drives and firmwares so if don't have LD compatible drive you still need host certificates/data keys (or older drive that doesn't have bus encryption).
mick0 is offline   Reply With Quote
Old 14th August 2019, 23:24   #438  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 364
Quote:
Originally Posted by TTide View Post
It's been a while since i setup my computer to decrypt my blu-ray discs.
I have to ability to run my discs on both windows and linux.
I have 2 BD+ Discs that play on VLC x64 (3.0.7.1) but there are cracks on the screen.

I tried the latest DVDfab x64 11.0.4.1 and got this:
ERROR! Cannot find (supported) DVDfab Passkey, DVDfab Mediaplayer or DVDfab!

Thanks in advance,
TTide
Hi!
Result of my tests: for me the most recent DVDfab11 x64 version worked without any special settings.

Can you please upload the logfile and send me the link? Maybe I can see what's going wrong in your case.

Thanks!
nalor is offline   Reply With Quote
Old 16th August 2019, 15:50   #439  |  Link
richy
Registered User
 
Join Date: Jun 2003
Posts: 10
I've just finally got round to updating to DVDFab v11.0.4.3 after encountering my first MKBv70 disc and FindVUK 1.24 detected it properly and worked fine for me. It's definitely something to do with your setup, TTide.

I had a few issues a while back when switching between multiple versions of DVDFab when a trial had expired and I couldn't decrypt any more recent discs. This seemed to cause FindVUK not to recognise the version I was using properly... or something like that.

I ended up removing all traces of DVDFab and Passkey (including any references to them in the registry) and re-starting with a fresh install and a new setup of FindVUK. Everything seems to have been fine since.

Last edited by richy; 16th August 2019 at 18:06. Reason: *spelling, missing words(!?) etc
richy is offline   Reply With Quote
Old 22nd August 2019, 19:41   #440  |  Link
Buck
Registered User
 
Join Date: Mar 2019
Posts: 17
Just a quick note of a possible program bug:

I recently used FindVUK (and DVDFab11) to read 2015 3D and Blu discs of Terminator: Genisys. Both noted that Disc wants BusEncryptionEnabled and drive has BusEncryptionSupport but FindVUK does not support BusEncryption at the moment VUK validation not possible at the moment - please check the VUK manually. Of course, the discs did not play in VLC with the complaint that there was no AACS file for them to work (I assumed this was normal in this circumstance of no BusEncryptionSupport).

The first time I tried this and attempted to copy the text in the commandline window, the program crashed (I guess) and the window disappeared. When I ran FindVUK again, an error message came up ..

A program error was detected.
Error Message: Invalid memory access
Error Code: -1073741819
Code Address: 5029037
Target Address: 653868
Sourcecode line: 247
Sourcode file: U:\PUREBASIC\~MODULE\mod.common_textfile.pbi


.. after which the program window disappeared again

Poking around, I try renaming various "backup" files to make them invisible to the program, in case something became out of sync, but the error message still came up on test reruns. Finally, I noticed a "v"-something folder (some kind of virtual memory folder?) and renamed that. Thereafter, FindVUK again ran normally, without crashing or error message.

All this indicated the FindVUK didn't reset everything after the original crash (for whatever reason) and re-ran with the old info/data in place, which caused another crash and error message. Such a bug could be eliminated by establishing a "clean slate" on each start-up.

Just FYI and hope it is useful.
Buck is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.