License Format & Error Codes
License Format & Error Codes
License XML
Dell licenses are XML DSig documents:
<lns:LicenseClass xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:lns="http://www.dell.com/2011/12G/licensing">
<lns:LicenseData>
<lns:Schema lns:Vendor="Dell" lns:ID="iDRAC" .../>
<lns:TransferableLicense>true</lns:TransferableLicense>
<lns:EntitlementID>...</lns:EntitlementID>
<lns:DeviceClass lns:ID="iDRAC"/>
<lns:ProductDescription>...</lns:ProductDescription>
<lns:LicenseTerm><lns:Perpetual/></lns:LicenseTerm>
<lns:Restrictions><lns:ServiceTag>73TNNK2</lns:ServiceTag></lns:Restrictions>
<lns:DeviceInfo .../>
<lns:Feature lns:ID="253" lns:Description="... iDRAC8 Enterprise" lns:Enabled="true"/>
</lns:LicenseData>
<dsig:Signature>
<dsig:SignedInfo>
<dsig:CanonicalizationMethod Algorithm=".../xml-exc-c14n#"/>
<dsig:SignatureMethod Algorithm=".../xmldsig#rsa-sha1"/>
<dsig:Reference URI="">
<dsig:Transforms>
<dsig:Transform Algorithm=".../xmldsig#enveloped-signature"/>
</dsig:Transforms>
<dsig:DigestMethod Algorithm=".../xmldsig#sha1"/>
<dsig:DigestValue>...</dsig:DigestValue>
</dsig:Reference>
</dsig:SignedInfo>
<dsig:SignatureValue>...</dsig:SignatureValue>
<dsig:KeyInfo><dsig:X509Data>...</dsig:X509Data></dsig:KeyInfo>
</dsig:Signature>
</lns:LicenseClass>
Reference URI=""→ the digest covers the whole document minus the Signature (enveloped transform). Adding/altering any element changes the digest.- Signed by a key that chains to Dell's embedded CA. Self-signed keys are rejected
(
LIC017).
Error codes observed
| Code | Meaning | Seen when |
|---|---|---|
LIC008 |
binding ID ≠ device unique identifier | genuine license for a different service tag |
LIC009 |
upgrade unsuccessful | 240-day eval on a device that already has a license |
LIC010 |
not for the specified device | iDRAC7 donor on an iDRAC8 |
LIC011 |
non-evaluation license cannot be replaced by an evaluation license | eval vs Express replace |
LIC012 |
license file does not exist | licenseFileName pointing at a missing file |
LIC017 |
corrupted / bad signature / parse failure | forged signature, unresolved entity |
Verifier internals (liblmpop 2.86)
lmVerifySignature(0xe5c0) rejects any document containing the ASCII bytes<!DOCTYPEat any offset. The scan loop at0xe5f4..0xe61esteps by 1 (mov r1,r8at0xe60coverwrites the+10), so it is not positional.lmImport2Device(0x8760),lmGetLDSRFromLicenseFile(0xe940).- The license service parses with libxml2 2.9.2 (
xmlParseMemory), andxmlsecdoes the DSig check.xmlLoadExtDtdDefaultValueis imported by no firmware module. - In libxml2 2.9.2,
xmlParsePEReferencehas no options gate for external parameter entities (theXML_PARSE_NOENT-style gate was added in 2.11), soxmlNewEntityInputStream → xmlLoadExternalEntityis reached.
LIC008 is the only real gate for a leaked license
The genuine 73TNNK2 license verifies under 25JR7J2; only the service-tag
comparison fails. That is what motivated the tag change.