Changes

Jump to: navigation, search

Software Update:MAR

162 bytes added, 18:45, 21 November 2011
no edit summary
HEADER
4 bytes : "MAR1"
4 bytes : offset to INDEX in bytes (big endian) relative to start of file
SIGNATURES
INDEX
4 bytes : size of INDEX in bytes (big endian)
''variable number of INDEX_ENTRY elements''
INDEX_ENTRY
4 bytes : offset in bytes (big endian) relative to start of file 4 bytes : length in bytes (big endian) 4 bytes : flags (big endian)
N bytes : name (byte array)
1 byte : null terminator
Some versions of the updater may not apply a MAR file unless a specific Signature ID is inside of them.
After Firefox 10 updater.exe on Windows will require a Signature ID of 1.
 
== Byte Ordering ==
 
All fields are in big-endian format.
The signatures are in NSS/OpenSSL/big-endian order and not CryptoAPI order.
If CrytpoAPI is used to check a signature, the bytes of the signature should be reversed.
== Source Code ==
Confirm
394
edits

Navigation menu