How do I find out the value of “x-roku-reserved-dev-id” ?
I could inspect the headers sent in the request on the server but I was wondering if there is an easier way.
I’ve seen some posts that suggest going to the installation page, clicking on Utilities, uploading the file then inspecting it will give the developer ID of the application but I’m not uploading a package file, I’m just side-loading my application as a zip file at the moment.
I modified my server configuration to write the value of the “x-roku-reserved-dev-id” HTTP header to the access log. I just had a look and the id is a long alphanumeric string that begins with “34c6fceca…” It doesn’t appear to be set to “dev” as you suggest.
To package it, I am using the zip command to create a zip file of my application, going to the development application installer page (in my browser) and uploading the zip file there. I am running my application on a Roku LT (software version 5.1) if that helps.
Well then your next step is to telnet to device on port 8080 and run genkey. Be sure to save the resulting output somewhere where you will not lose it.
Correction to my earlier posting: for a sideloaded channel, the developer id is the SHA-1 hash of the string “dev”, not “dev” itself: “34c6fceca75e456f25e7e99531e2425c6c1de443”.
Be aware that just generating a key will not change the “dev” developer id of your sideloaded channel. The generated key is used only if you run a packaged channel, which requires you to upload the package to the Channel Store and install the channel.
Mark,
What is the value of genkey that is used in x-roku-reserved-dev-id based on?
Is it unique by device? Or is there some algorithm that would keep the x-roku-reserved-dev-id the same no matter which Roku packaged the channel?
I ask because, we don’t want the x-roku-reserved-dev-id changing because of something as simple as our having packaged the channel on a different device (and we didn’t know).
Thanks,
Jason
If you have stored your dev password created by Genkey somewhere safe, and a package that was created with that key, you should be able to use those to rekey any device for your dev ID and package on that device, and the dev ID should not change.
If you run GenKey again, that will create a new, different DevID.