PDA

View Full Version : aacskeys 0.4.0


chilledmug
22nd May 2009, 02:11
Hey doomsters...
ok just tryin' to get the vuk's off the blu-ray ....trying to get i. jones kingdon of the crystal skull, 10,000 bc, & flags of our fathers. Many of you are usin' this. when i bring it up (uh...click it) the window just flashes on\off very quickly. (trys opening in a dos wndow at least looks like it.) questios:
1. extracted and unzipped.
1. whre is the exe file?
2. will the program open without a blu-ray disc in the drive?
3. after rippin' what will the m2ts files be...vts? vob's?

help appreciated,
chilled:rolleyes:

setarip_old
22nd May 2009, 03:44
Hi!after rippin' what will the m2ts files be...vts? vob's?The M2TS files will be - M2TS files...

880
22nd May 2009, 05:39
1. whre is the exe file? chilled:rolleyes:

aacskeys-0.4.0a\bin\win32

It is a Command-Line Interface program. You must start the Command Prompt and type its name there.

teox99
26th May 2009, 00:35
hello!
sorry ive problems to make aacskeys -040a

this is the output:

==== Building aacskeys ====
ioctl.cpp
mmc.cpp
aacs_ecdsa.cpp
cmac_aes.cpp
aacs_aes.cpp
aacskeys.cpp
cmac.cpp
Linking aacskeys
==== Building libaacskeys ====
ioctl.cpp
mmc.cpp
aacs_ecdsa.cpp
cmac_aes.cpp
aacs_aes.cpp
aacskeys.cpp
In file included from src/aacskeys.cpp:33:
src/aacskeys.h:8:17: warning: jni.h: No such file or directory
In file included from src/aacskeys.cpp:33:
src/aacskeys.h:20: error: 'JNIEXPORT' does not name a type
src/aacskeys.h:28: error: expected constructor, destructor, or type conversion before 'void'
src/aacskeys.cpp:198: error: ISO C++ forbids declaration of 'JNIEnv' with no type
src/aacskeys.cpp:198: error: expected ';' before '*' token
src/aacskeys.cpp:199: error: 'jclass' does not name a type
src/aacskeys.cpp:200: error: 'jobject' does not name a type
src/aacskeys.cpp:201: error: 'jmethodID' does not name a type
src/aacskeys.cpp:202: error: 'jobject' does not name a type
src/aacskeys.cpp:203: error: 'jmethodID' does not name a type
src/aacskeys.cpp:204: error: 'jmethodID' does not name a type
src/aacskeys.cpp:205: error: 'jmethodID' does not name a type
src/aacskeys.cpp:206: error: 'jmethodID' does not name a type
src/aacskeys.cpp:207: error: 'jmethodID' does not name a type
src/aacskeys.cpp: In function 'int main(int, char**)':
src/aacskeys.cpp:1940: error: 'jbyteArray' was not declared in this scope
src/aacskeys.cpp:1940: error: expected `;' before 'jdiscIdArray'
src/aacskeys.cpp:1941: error: 'jdiscIdArray' was not declared in this scope
src/aacskeys.cpp:1947: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1947: error: 'jdiscIdArray' was not declared in this scope
src/aacskeys.cpp:1953: error: 'jbyte' was not declared in this scope
src/aacskeys.cpp:1953: error: expected `;' before 'jdiscId'
src/aacskeys.cpp:1954: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1954: error: 'jdiscIdArray' was not declared in this scope
src/aacskeys.cpp:1954: error: 'jdiscId' was not declared in this scope
src/aacskeys.cpp:1963: error: expected `;' before 'jkey'
src/aacskeys.cpp:1964: error: 'jkey' was not declared in this scope
src/aacskeys.cpp:1975: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1975: error: 'jkey' was not declared in this scope
src/aacskeys.cpp:1975: error: expected type-specifier before 'jbyte'
src/aacskeys.cpp:1975: error: expected `>' before 'jbyte'
src/aacskeys.cpp:1975: error: expected `(' before 'jbyte'
src/aacskeys.cpp:1975: error: expected primary-expression before '>' token
src/aacskeys.cpp:1976: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1976: error: 'struct jni_members_st' has no member named 'keyData'
src/aacskeys.cpp:1976: error: 'struct jni_members_st' has no member named 'setMek'
src/aacskeys.cpp:1979: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1979: error: 'jkey' was not declared in this scope
src/aacskeys.cpp:1979: error: expected type-specifier before 'jbyte'
src/aacskeys.cpp:1979: error: expected `>' before 'jbyte'
src/aacskeys.cpp:1979: error: expected `(' before 'jbyte'
src/aacskeys.cpp:1979: error: expected primary-expression before '>' token
src/aacskeys.cpp:1980: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1980: error: 'struct jni_members_st' has no member named 'keyData'
src/aacskeys.cpp:1980: error: 'struct jni_members_st' has no member named 'setVid'
src/aacskeys.cpp:1983: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1983: error: expected type-specifier before 'jbyte'
src/aacskeys.cpp:1983: error: expected `>' before 'jbyte'
src/aacskeys.cpp:1983: error: expected `(' before 'jbyte'
src/aacskeys.cpp:1983: error: expected primary-expression before '>' token
src/aacskeys.cpp:1984: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1984: error: 'struct jni_members_st' has no member named 'keyData'
src/aacskeys.cpp:1984: error: 'struct jni_members_st' has no member named 'setVuk'
src/aacskeys.cpp:1988: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1988: error: expected type-specifier before 'jbyte'
src/aacskeys.cpp:1988: error: expected `>' before 'jbyte'
src/aacskeys.cpp:1988: error: expected `(' before 'jbyte'
src/aacskeys.cpp:1988: error: expected primary-expression before '>' token
src/aacskeys.cpp:1989: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:1989: error: 'struct jni_members_st' has no member named 'keyData'
src/aacskeys.cpp:1989: error: 'struct jni_members_st' has no member named 'setTuk'
src/aacskeys.cpp:2012: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:2012: error: 'struct jni_members_st' has no member named 'aacsException'
src/aacskeys.cpp: In function 'int printfj(const char*, ...)':
src/aacskeys.cpp:2045: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp:2045: error: 'struct jni_members_st' has no member named 'messagePrinter'
src/aacskeys.cpp:2045: error: 'struct jni_members_st' has no member named 'print'
src/aacskeys.cpp:2045: error: 'struct jni_members_st' has no member named 'env'
src/aacskeys.cpp: At global scope:
src/aacskeys.cpp:2054: error: 'JNIEXPORT' does not name a type
src/aacskeys.cpp:2065: error: expected constructor, destructor, or type conversion before 'void'
make[1]: *** [obj/linux/ReleaseLib/aacskeys.o] Error 1
make: *** [libaacskeys] Error 2
user[aacskeys-0.4.0a]$

on linux
i have installed jre jdk openssl
what happen?
please help

KenD00
26th May 2009, 22:54
Premade Visual Studio 2008 project files and
makefiles (for Linux) are included. These files were generated using PreMake
(http://premake.sourceforge.net), if you need to make changes to these files
don't edit them but edit the PreMake script premake.lua and regenerate the
files.

[..]

Building under Linux:
A makefile is included, it assumes that the OpenSSL tarball is installed in its
default location and that you have the JDK 6 from Ubuntu installed. If not, you
need to edit the premake.lua file to adjust the paths. Make should regenerate
the makefiles after you have edited the PreMake script automatically, for this
to work need to have premake installed in the systems search path.



-- ########################
-- ### Script variables ###
-- ########################
-- ### You may have to adjust these variables to fit your installation ###
-- ### To use static-crypto OPENSSL_LIB must be properly set ###
if (windows) then
OPENSSL_INCLUDE = ""
OPENSSL_LIB = ""
JDK_INCLUDE = ""
elseif (macosx) then
--OPENSSL_INCLUDE = ""
--OPENSSL_LIB = ""
OPENSSL_INCLUDE = "/opt/local/include"
OPENSSL_LIB = "/opt/local/lib"
JDK_INCLUDE = "/System/Library/Frameworks/JavaVM.framework/Headers"
else
OPENSSL_INCLUDE = "/usr/local/ssl/include"
OPENSSL_LIB = "/usr/local/ssl/lib"
JDK_INCLUDE = "/usr/lib/jvm/java-6-sun/include"
end


Figure out where your JDK is installed and follow the instructions in the README file (hint: i already highlined in red the value that needs to be changed).

:rolleyes:

teox99
27th May 2009, 10:24
hi KenD00!

i ve changed premake.lua tryng different location of my jdk but the result is the same, is there a way to identify a file contents in the correct path so to match the correct location of jdk files?

anyways i'll try later,

Ken, what's about DumpHD planning or roadmap and what's about other mbkv later than 10? i'm using DumpHD everydays!

880
27th May 2009, 23:37
Ken, what's about DumpHD planning or roadmap and what's about other mbkv later than 10?

DumpHD supports any/all MKB versions. It is AACSKeys that must support each version. AACSKeys uses a list of Processing Keys to support MKB versions. The keys for MKB 11 and 12 are not publicly known.

Read Understanding AACS (including Subset-Difference) (http://forum.doom9.org/showthread.php?t=122363) to learn more.

chilledmug
29th May 2009, 07:50
Hey doomsters...,
OK.....anyone wanna help.....just tryin; to get those vuks with the aacs program. (thnx by the way 880 for the line comnd syntx) anyway my os (xpsp3) for the command line opens with this:
C:\Documents and Settings\apollos>

I put the aacs program into: doc and setting\apollos folder
won't open. various errors come up depending on my syntex's used. syntex errors...
when i typed dir it was there (I since deleted)
my preference would be for it to be able to be accessed under trhe comand line promp of 'c:\program files\\\\.
I tried all the dos command I can remenber. I even used the proprietary 'cyberlink' power to go' program to copy the I.J. kngdm drystal skull....it completed the authorizing but needed the 50gb disc, which I don't have. then I looked and saw the 10,000 bc disc was 20gb (I have a 25gb) tried to copy it and it said if was copy protected. Then tried to just see if the cybersoftware will play the m2ts stream files off disc and I could just drag and drop those main movie files, but it won't play those peobably due to no aacs keys to go with them.
Question:
will the ripping (after getting the aacs program working of course) supress the aacs encrypton?
if so do most bd movie players (such as my cyberlnk power dvd) then read and play the m2ts files main movie files only?
their's gotta be an easier way. :confused:

thnx,
chilled

880
30th May 2009, 01:14
Question:
will the ripping (after getting the aacs program working of course) supress the aacs encrypton?
if so do most bd movie players (such as my cyberlnk power dvd) then read and play the m2ts files main movie files only?

Ripping does remove AACS encryption. Most players will read the ripped BDMV folder and play all the features.


their's gotta be an easier way. :confused:

thnx,
chilled
There is an easier way, but it costs money. AnyDVD HD.

chilledmug
30th May 2009, 02:18
Hey 880...,
yeah thnx....iwz thnkin' the aacs was preventing just the movie file itself from playn.' Ssooooo...... does anybody have any ideas why I can't just get the 'c' prompt on the msdos wndow but instead that is always there?
C:\Documents and Settings\apollos>

I'd really like to run the program....or any other 'free' aacs removal programs, window based maybe???

yeah the easier way OK....but I think that program is too expensive. I'm trying to expand my software skills...marginal as they are...I can only improve with those willing to help educate.

thnx,
chilled:confused:

setarip_old
30th May 2009, 03:20
@chilledmug

Hi!

Have you tried typing the following simple DOS command?:

cd C:\

"cd" stands for "change directory"...

KenD00
30th May 2009, 19:24
@chilledmug
I would advise that you go the AnyDVD HD way, as already suggested by 880, this is by far the best way for users with your experience.

If you really want to go the aacskeys way i suggest you visit the DumpHD thread (http://forum.doom9.org/showthread.php?t=123111), aacskeys is only the first step. It gives you the keys but it doesn't decrypt the disc, thats the job of DumpHD. DumpHD can use aacskeys on its own so you don't need to use a shell, everything can be done with a GUI. But im pretty sure that this won't work for you because of the revoked host certificate so you need to go the manual way.

The first page of the DumpHD thread contains links to tutorials on how to proceed, but first you need to get sorted how to use a shell. And if your disc is MKBv11 or higher or contains a recent BD+ incarnation you have no other choice than AnyDVD HD currently.


@teox99
As the name of the script variable suggests it doesn't point to the root directory of the JDK but it's include directory. This is usually just below the JDK's root, if it's not look for a directory that contains the file jni.h. I assume that under linux the directory that contains this file has a subdirectory named linux that contains additional required files. If not, you will see more file not found messages and have to find the directory which contains these files yourself and adjust the premake.lua file where it adds these directories


-- Common includes
if (string.len(OPENSSL_INCLUDE) > 0) then
table.insert(package.includepaths, OPENSSL_INCLUDE)
end
if (string.len(JDK_INCLUDE) > 0) then
table.insert(package.includepaths, JDK_INCLUDE)
-- Includes dependend on os
if (windows) then
table.insert(package.includepaths, JDK_INCLUDE .. "/win32")
elseif (macosx) then
-- No extra includes for macosx
else
table.insert(package.includepaths, JDK_INCLUDE .. "/linux")
end
end


:rolleyes:

chilledmug
31st May 2009, 07:44
Hey doomstr's..,

thnx to :sea for the 'cd' sequence....i just had the syntexs wrong (cd:\xxx)
thnx to: kdo for the summry\explantn.
I believe I can now enter the program but am getting the help menu because of not knowing enough parameters for the program. (see copy of what came up below)
A couple of questions:
1. what's the syntex for aaccs to take the keys from the media in D: drive? I see in the help file that came up on the command line 'Usage: aacskeys [options] <drive letter>'
2. where will that data be posted?? On the command line or in a folder in aaccs??
3.Lastly, kdoo talks in the read txt and in response to me about 'having a authenciation revoked.' Won't the program disregard that? It's not related to authenticated hardware and media right?
I'm not concerned about 'usin' the 'dump hd', I'm gonna use 'blu-ray disc ripper'.

appreciate the knowledge of you progammers. It's humbling.
thnx,
chilled:confused:


C:\Program Files\aacskeys>aacskeys-0.4.0a\bin\win32\aacskeys.exe
aacskeys 0.4.0 by arnezami, KenD00

Usage: aacskeys [options] <drive letter> [volume id / binding nonce]

Authentication options for retrieving the VID / BN (default: automatic):
If a Volume ID / Binding Nonce is given these options are ignored
-a : Force AACS authentication
-b : Force AACS bypass
-x : Force XBox hack
--no-preinval : Do not invalidate all AGIDs before requesting one
--pa-lba=<LBA> : Use <LBA> as Starting LBA of the Protected Area

Decrypting options:
--prefer-sca : Decrypt SCA content of HD-DVD's with both
content types (default: ACA)
--dump-vid : Dump only the Volume ID

Output options (default: only DiscID and VUK):
-s : Sensitive, same as verbose but doesn't hide sensitive data
-v : Verbose, gives lot of keys and info, but hides sensitive data

Other options:
--exclusive-io : Use exclusive access for low level I/O
This is only used under Mac OS X and may require root rights


Examples:
aacskeys i
aacskeys -va i
aacskeys i 40000918200608410020202020200000

Doom9
31st May 2009, 12:47
What about If you really want to go the aacskeys way i suggest you visit the DumpHD thread (http://forum.doom9.org/showthread.php?t=123111), aacskeys is only the first step is it that you did not understand?

chilledmug
6th June 2009, 03:17
Hey doomsters....,
OK so I hear ya'll bout the 'duuuump hhddd.'
For less confusion for me..... one sstep at a time.
1. Can I open the program stand alone and retreive a vuk w\out anything to do w\dumphd? yes or no?
If so below is my syntex for aacs. It is there, but won't open

C:\aacskeys-0.4.0a>aacskeys-0.4.0a\bin\win32\aacskeys.exe
The system cannot find the path specified.

2. how do I get it to open as below?

C:\>aacskeys d v
Processing key: 09F911029D74E35BD84156C5635688C0
Encrypted C-value: C8ADC9F88E38FB152FCD5E68291C4C60
Corresponding uv: 00000001


Hey I'll get it if a doomstr can give some more.
thnx,
chlled :(

chilledmug
6th June 2009, 03:31
P.S.
re: #1 ?
should read 'vuk's and VID's volume ID's'
sorry,
chilled:(

880
6th June 2009, 04:20
Hey doomsters....,
OK so I hear ya'll bout the 'duuuump hhddd.'
For less confusion for me..... one sstep at a time.
1. Can I open the program stand alone and retreive a vuk w\out anything to do w\dumphd? yes or no?
yes.

If so below is my syntex for aacs. It is there, but won't open

C:\aacskeys-0.4.0a>aacskeys-0.4.0a\bin\win32\aacskeys.exe
The system cannot find the path specified.
Try this
C:\aacskeys-0.4.0a>bin\win32\aacskeys.exe
1. what's the syntex for aaccs to take the keys from the media in D: drive? I see in the help file that came up on the command line 'Usage: aacskeys [options] <drive letter>'
2. where will that data be posted?? On the command line or in a folder in aaccs??
C:\aacskeys-0.4.0a>bin\win32\aacskeys.exe d
will output to the screen

setarip_old
6th June 2009, 04:22
@chilledmug

1) I'd suggest to you that it's not wise to ignore the posting/suggestion made to you by the OWNER of these forums ("Doom9")

2) Please stop the infantile "Hey doomsters"

chilledmug
6th June 2009, 06:45
Hi.....

Puberity's done......

thnx to 880 for the line cmd...
thnx to sea....for ah...well thnx...

the line cmnd gets me this:

C:\>aacskeys-0.4.0a\bin\win32\aacskeys.exe d
aacskeys 0.4.0 by arnezami, KenD00
Could not open file: C:\\ProcessingDeviceKeysSimple.txt
ERROR: PROCESSMKB, errnr: -1


the proc...dev...kys....smple.txt file is in the main 'aacskeys folder.'
I didn't do any editing or maniplulating of the folder\contents.

---suggestions----?


I do appreciate the directions....Those of you who have responded are responsible for me finally getting the program to respond. I am thankful.
chilled:)

KenD00
6th June 2009, 08:03
Using aacskeys
--------------
aacskeys requires the file ProcessingDeviceKeysSimple.txt to be in the current working directory.



C:\>aacskeys-0.4.0a\bin\win32\aacskeys.exe d

There your working directory is C:\, thats not the "root" directory of your extracted archive, the file isn't there, thats why it doesn't work.


C:\aacskeys-0.4.0a>bin\win32\aacskeys.exe d

Here the working directory is C:\aacskeys-0.4.0a and this is the "root" directory of your extracted archive, the file is there, so switch to this directory and just copy paste what 880 has written!


Maybe you should run your posts through a spell checker before posting them, should make them quite more readable.

:rolleyes:

teox99
7th June 2009, 20:01
hi, i have BD movie THE SPIRIT it's an MKBv: 12,

any news for the new keys? can i post some verbose output from dumpHD about this movie, maybe can help anyone or not?

chilledmug
8th June 2009, 22:54
Hi
thnx to 880
thnx to KenDoo
You have taught me to get in and out of aacs....thank you.

As KenDoo suspected host key revocation!
The given Host Certficate / Private Key has been revoked by your drive
ERROR: SENDHOSTCHAL: SK: 0x5, ASC: 0x6F, ASCQ: 0x00, errnr: -2

I won't be so concerned about why...I viewed a couple posts and it's pointless.
your past post to a thread
how do i use aacskeys to work again?

If you don't have a new Host Certificate present you have to use DumpVID to acquire the Volume ID from the disc and feed it into aacskeys.

questions re: dunphd (not dumpvid)
1. can I use this to do that?
Here's the error for dumphd
C:\dumphd-0.61>dumphd d
Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.
2.Ive never done anything with 'java' other than 'update' it.
I can select enable 'java's' console' to open (is that what is required as indicated from dumps readme?)

3. last one: what is the procedure to 'force' the volumeID produced from dumphd into aaacs?

Re: dumphd I also copied and pasted the aacskeys.dll file into the root of dumphd.
thnx,
chilled:confused:

drkrvn32
1st July 2009, 00:47
DumpHD supports any/all MKB versions. It is AACSKeys that must support each version. AACSKeys uses a list of Processing Keys to support MKB versions. The keys for MKB 11 and 12 are not publicly known.

Read Understanding AACS (including Subset-Difference) (http://forum.doom9.org/showthread.php?t=122363) to learn more.

OK, so how do we watch/decode 11 and 12? ...And how did we get #10? I thought that we either math hacked it or pulled it from somewhere.Anyone need a title??

BODY OF LIES. Its mkv12.

I have a Excellent testbed for OSX and need a little tweak for 264 with mplayer.The compression compared to xvid will blow your mind.This is HD.

Jumper audio in english [DTS-HD] is poppy a little, but otherwise discs rip ok.You seriously need tsMuxer to drop the m2ts properly with this title.

mplayer alone in linux will screw up the timing of the audio on the rip, use ffmpeg or tsMuxer and mencoer on OSX to get around this.Proof is on Death Race.Took me forever to get the timing right.

I will try anydvd for now.Does anyone know where they[slysoft] store thier keys in ram? Thought it might help to get the keys we need.THey obviously found a way to get them......

lchiu7
1st July 2009, 09:15
OK, so how do we watch/decode 11 and 12? ...And how did we get #10? I thought that we either math hacked it or pulled it from somewhere.Anyone need a title??

BODY OF LIES. Its mkv12.

A key for Body of Lies has been found and published (Region B) and it is MKBv12. But the method isn't apparently repeatable, also :(

trojanfoe
2nd July 2009, 11:38
A key for Body of Lies has been found and published (Region B) and it is MKBv12. But the method isn't apparently repeatable, also :(

Do you have a link to the key/announcement?

lchiu7
2nd July 2009, 12:03
Do you have a link to the key/announcement?

http://forum.doom9.org/showthread.php?p=1270338#post1270338

teox99
2nd July 2009, 12:23
sorry for the stupid question,
i'd like to know why are you looking for the MKBv12 title's key while dumpHD aacskeys can't use it?
there anyone discovered new Processing Keys?

Doom9
2nd July 2009, 13:24
Actually, when you have a VUK, you don't need the processing key. It's just that you need another VUK for every disc, but only one processing keys for all the discs of the same MKB generation.
And.. asking for new processing keys won't make them appear any faster so don't bother.. and we have rule16 to deal with those who feel the need to ask for keys.