Go Back   Techwatch forums > Tech Forums > Satellite TV > Satellite Help > Satellite FAQs

Satellite FAQs Nice-to-have's

 
Reply
 
LinkBack Thread Tools
Old 16-08-07, 02:07 PM   #1 (permalink)
Dodgy Geezer
 
BGonaSTICK's Avatar
 
Join Date: Nov 2005
Location: Brighton
Posts: 9,718
Default Keyfile format conversion utility

Here's a great tool for converting keyfile formats from one to the other effortlessly. You should be aware however, that some file formats are non-standard and do not appear to work with this tool. The Comag SL65 looks to be one of them.

Thanks go to Max_Max, the original poster.

Readme:

Quote:

BINARY KEYS FILE CONVERTER v1.2.1
==================================

By means of this utility it is possible
to perform any thinkable conversion between
the 'Softcam.key' (Yankse, s2emu, Emunation,
vPlug, Dreambox), 'Keys.bin' (CAPi, Humax,
Samsung), and 'Easy.keys' (CardSharing
Client -CSC-, PSoftcam) file formats.

Newly, support for the 'Downloader.txt'
(D.O.P.S.C. 'Downloader' utility) format
has been implemented, allowing conversion
into many more filetypes (MultiCam, Allcam,
and FunSX eeprom *.hex files, among others),
as well as the possibility to import key data
downloaded by 'Downloader'.


USAGE:
1.) Use:
a.) 'File'->'Open'->'Keys.bin',
b.) 'File'->'Open'->'Softcam.key',
c.) 'File'->'Open'->'Easy.keys',
d.) 'File'->'Open'->'Downloader.txt', or
e.) 'File'->'Internet open',
to open any available source file.
2.) Save the key data to either:
a.) a 'Keys.bin' file by means of
'File'->'Save'->'Keys.bin', or
b.) a 'Softcam.key' file by means of
'File'->'Save'->'Softcam.key', or
c.) an 'Easy.keys' file by means of
'File'->'Save'->'Easy.keys', or
d.) a 'Downloader.txt' file by means of
'File'->'Save'->'Downloader.txt'


That's all, ENJOY !!!

------------------------------------------------------------

Troubleshooting:

1.In case of error messages at startup, (re)place
the appropriate supplied component(s) in your
Windows system directory
(Windows 98: 'C:\Windows\System',
Windows 2000/XP:'C:\Windows\ System32').

Try registering them if the problem persists.
How to do:

"c:\>regsvr32.ex e" "<path>\<compone nt>"

(Specify the correct path for the component,
use quotes if one of the arguments contains spaces)

2.Conversion between 'Keys.bin' and an alternative format is
subject to limitations. The two file specifications do not
fully support the same data, this means that some information
loss will occur inherently. Especially concerned are:
a.) PPUA, UA, SA, PMK, HMK, and HexS parameters in
'Keys.bin' file. These parameters are set to 'FF..FF'
if a 'Keys.bin' file is generated from a 'softcam.key'
file. The parameters are not added to the 'Softcam.key'
file if it is converted from a binary file.
b.) A 'Keys.bin' file can contain at most 8 seca providers,
20 viaccess providers, 5 nagravision providers,
9 irdeto providers, 2 conax providers, and 300 keys
(conax excluded). Consequently, if a 'Softcam.key' file
is converted into a 'keys.bin' file, surplus providers
and keys are not added to the 'Keys.bin' file created.
c.) For economy reasons, 'double' nagravision providers
are not added to a 'Keys.bin' file (for example: if
'Softcam.key' contains both '7001 and 7101 Polsat
providers, 7001 is added to 'Keys.bin' only). If this
behaviour is not desired (if the wrong provider
is converted), you have to delete the appropriate
providers from the 'Softcam.key' file manually.
d.) A 'Softcam.key' does not contain any Irdeto ProvID
parameters. Irdeto conversion from a 'Softcam.key'
file to a 'Keys.bin' file is accomplished by reading
commented information in the 'Softcam.key' file.
The Binary Keys File Converter will generate the
appropriate Irdeto ProvID's from commented strings
containing (currently supported, case insensitive):
-'C+' or 'CANAL+': 055F00 (Canal+ Netherlands),
-'ORF': 008300 (Oesterreichische Rundfunk und Fernsehen),
-'KAB': 007794/007500 (DigiKabel).
e.) A 'Key.bin' file can contain at most two sets (both EXP
and MOD) conax keys (example: 20 and 21). Surplus
keysets are not converted.

3.Conversion from or into the 'Easy.keys' file is subject to
a limitatation. Irdeto conversion is accomplished by assuming
systemID '0602' information belonging to Canal+ Netherlands,
while systemID '1762' information is assumed to belong to
provider ORF. The need for this is caused by the fact that
an 'Easy.keys' file usually doesn't specify any Irdeto
ProvIDs, nor does it contain comments. Consequently,
providers Canal+ Netherlands, and ORF are the only ones
supported for this type of conversion.

4.Conversion between 'Downloader.txt' and an alternative
format is subject to the same kind of limitations that apply
to conversion between 'Softcam.key' and 'Keys.bin'.
Specifically, the following information loss may occur:
a.) A 'Downloader.txt' file can contain at most 16 seca
providers (including seca startup and BEEF record,
meaning 14 ACTUAL providers) 26 viaccess providers,
8 nagravision providers, 15 irdeto providers, and
4 conax providers. Surplus providers are not added
to a 'Downloader.txt' file created,
b.) Although the 'Downloader.txt' supplies Irdeto ProvID's,
many other filetypes do not. Consequently, ORF (008300),
DigiKabel (007794/007500), or Canal+ Netherlands (055F00)
providers, will be the only providers ADDED TO a
'Downloader.txt' file, if it is converted from another
filetype. In contrast, if Irdeto information is DERIVED
from a 'Downloader.txt' file, all provider information
is extracted (providers as mentioned will be commented),
c.) Skycrypt data is ignored,
d.) All other information loss is consistent with conversion
between 'Keys.bin' and 'Softcam.key'.


------------------------------------------------------------

Version history:

v1.0.0:
* Initial version.

v1.0.1
* Increased conversion speed 'Softcam.key'
into 'Keys.bin' (approx. 2x)
* Bugfixes:
- Centration About dialog (Center Owner
instead of Center Screen),
- 'Softcam.key' Conax key string handling
(for 128 byte strings, correction of
MOD and EXP order) NB: is implemented
as follows now:
> EXP->MOD for 2x64 byte key string
(most common)
> MOD->EXP for 1x128 byte key string
(cardmanie)

v1.0.2
* For conversion 'Softcam.key' into
'Keys.bin', DigiKabel Irdeto support added.
* Bugfixes:
- Showup of 'critical' messageboxes on
'File'->'Open'->'Cancel', as well as
choice 'overwrite?'->'No' fixed,
- Correction of key index upper limit
for conversion of 'Softcam.key'
into 'Key.bin' (indexes 10 and 11 for
Irdeto and Seca keys are allowed now).
- Replaced 'NL' and 'NED' for Irdeto
ProvID 055F00 recognition by 'C+'
and 'CANAL+' (more common).

v1.0.3
* Internet URL added.
* Bugfix:
- Correction implementation of '404' error
(pages with occurence of '200' in header
are allowed only, pages having '403' type
error are rejected now as well)

v1.0.4
* URL update (one correction),
* Bugfix:
- Fix for non plain text type URL pages
(testing Content-Type is implemented, pages having no
'text/plain' or 'application/octet-stream' value for
'Content-Type' in header -typically text/html-
are rejected now).

v1.1.0
* Support added for 'Easy.keys' file format, among others
as used by Card Sharing Client (CSC) and PSoftCam
'SS2 type' plugins.
* Conax key index range extended. Key indexes 24, 25, 26,
and 27 are considered as valid, and being processed now.
* Bugfixes:
- Bugfixes in conversion routines. Conversion is 'less
critical' to errors in a 'softcam.key' source file now
(typically non terminated lines or keys being to long),
as well as to errors in a 'keys.bin' source file
(are being tested more strictly on file rules now,
resulting in fewer error handling events),
- Correction for conax keys format. In all cases, the
parameter order is being implemented as EXP->MOD now,
this applies to keys either consisting of 2x64 bytes,
or of 1x128 bytes (previously, Cardmanie used a 1x128
byte format with MOD->EXP order. Unfortunately,
conax key formats aren't always consistent among
different sources).

v1.2.0
* Support added for 'Downloader.txt' file format, as used by
the 'Downloader' utility from D.O.P.S.C..
* Bugfix:
- Compiled with 'P-code' option, resulting in considerably
reduced .exe filesize.

v1.2.1
* URL update (rdi-sat link added),
* Support for Emukeys (Emunation plugin) style Conax keys
added (now, an Emukeys.key file can be processed in the
same way as a Softcam.key file, where the extended data is
ignored, while conax keysets will be processed as well),
* Support for more TPS AES key styles added (more different
source file styles are accepted, and processed properly
now -mujweb.cz and emukeys style, among others-),
* Bugfixes:
- In 'Downloader.txt' saving routine, correction of a
failure in processing conax keys, typically in case
of SINGLE Nagra keys present ) (a bug in a conax
keycounter routine caused this issue),
- Improvement of processing Conax keysets in Softcam.key
file (are tested more strictly, and are processed more
securely now, resulting in less errors in file conversion,
as well as applications using converted files, typically
downloader.txt files),
- In case of double Nagra providers present, now, the
information of the LARGEST provider ID will be kept,
in case of conversion into a Keys.bin file (previous
versions kept the SMALLEST provider ID keys, some
applications, for example CAPi, require the largest
provider ID data; it will fix Polsat in some cases,
for example).
__________________
Dreambox 7000, Skystar2 PCI, Skystar USB, Fibo 90cm on Moteck SG2100, Triax TD110 multi-LNB. Sky + ART cards. 45.0°E - 58.0°W
BGonaSTICK is offline   Reply With Quote
Old 19-08-07, 12:49 PM   #2 (permalink)
Dodgy Geezer
 
BGonaSTICK's Avatar
 
Join Date: Nov 2005
Location: Brighton
Posts: 9,718
Default Re: Keyfile format conversion utility

Here is an updated version - V2.0
__________________
Dreambox 7000, Skystar2 PCI, Skystar USB, Fibo 90cm on Moteck SG2100, Triax TD110 multi-LNB. Sky + ART cards. 45.0°E - 58.0°W
BGonaSTICK is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 07:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2 ©2011, Crawlability, Inc.