← Reports Index
✉️ Industry Letter 🌐 STS Association ⚡ Legacy Key Management

Prepaid Metering & STS Standard:
Legacy Key Management in SSA

A formal industry correspondence from the Coalition of Sub-Saharan Africa Mini-Grid Developers and System Integrators to the STS Association (STSA), IEC working groups, and meter manufacturers — validating operating contexts, enumerating legacy algorithms, and requesting indefinite self-management permissions.

Ref: SSA-STS-LEGACY-2026-001
Date: 18 May 2026
Installed Base: >2.5M STS Meters
Target Horizon: Indefinite / 10-Year committed support

Date: 18 May 2026

Reference: SSA-STS-LEGACY-2026-001


TO: Recipients (See Annex A — Full Recipient List)

Primary Addressees: - The Executive Director, STS Association (STSA), Johannesburg, South Africa - The Chairman, IEC TC13 WG14 (IEC 62055 Series Working Group) - The Africa Regional Director, STS Association

For Information: - All meter manufacturers in Annex A - Regional energy regulators — East, West, and Southern Africa


FROM:

Coalition of Mini-Grid Developers and System Integrators — Sub-Saharan Africa

Submitted on behalf of mini-grid operators, rural electrification programme developers, and off-grid energy system integrators operating across Sub-Saharan Africa (SSA), representing an estimated installed base exceeding 2.5 million STS-compliant prepayment meters across Kenya, Tanzania, Uganda, Rwanda, Ethiopia, Ghana, Nigeria, Senegal, Zambia, Zimbabwe, Mozambique, and Madagascar.


1. Purpose and Background

This letter is submitted to the STS Association (STSA) and to the prepaid meter manufacturing community to:

  1. Formally validate the specific operational context of mini-grid and off-grid deployments in Sub-Saharan Africa as distinct from utility-scale grid deployments;
  2. Formally enumerate all STS encryption algorithm versions and key management parameters encountered in deployed legacy meter fleets across SSA, for the purposes of creating an authoritative reference for STS correspondence, technical compliance, and field operations;
  3. Request formal recognition from the STSA and from meter OEMs of the right of mini-grid developers and operators with large legacy meter fleets to self-manage and continue operating their existing meters indefinitely, without being compelled to undertake full fleet replacement due to algorithm or TID lifecycle changes.
IMPORTANT
This letter does not advocate circumventing the STS standard’s security model. It advocates for structured legacy key management access — specifically, formal permission for qualified mini-grid operators to retain and manage their vending keys and Security Modules for STS-compliant meters already in their fleet, for the operational life of those meters.

2. Sub-Saharan Africa — Validation of the Operating Context

2.1 Why SSA Mini-Grid Deployments Are Structurally Different

Mini-grid and off-grid deployments in Sub-Saharan Africa differ materially from the urban utility environments for which the STS standard was originally designed and in which it is most typically administered. The following characteristics define the SSA mini-grid context:

Parameter Urban Utility Context SSA Mini-Grid Context
Grid connectivity Permanent national grid Off-grid; solar/diesel/hybrid generation
Operator type Licensed utility (e.g. KPLC, ZESCO, ECG) Private IPP, NGO, cooperative, community enterprise
Meter fleet size per operator Hundreds of thousands 200 – 20,000 per operator
Revenue model Government-subsidised tariffs Commercial cost-reflective tariffs; revenue survival-critical
Key Management Centre access Direct institutional STSA member access Often via third-party vending partners; indirect KMC access
Replacement capex tolerance Cost borne by national tariff base Cost borne by project developer; existential to project economics
Field service access Urban technician density Remote; technician travel costs can exceed meter unit cost
Customer literacy Mixed Low numeracy common; 20-digit token entry is end-user skill
Connectivity Reliable GSM GSM intermittent or absent; offline token generation mandatory

2.2 The Mini-Grid Energy Access Imperative

Approximately 600 million people in Sub-Saharan Africa lack access to electricity. Mini-grids powered by solar and hybrid generation are one of the most cost-effective pathways to energy access for populations beyond the reach of the national grid. The IEA and SE4All estimate that >35% of new electricity connections needed to reach universal energy access in Africa by 2030 must come from mini-grids and off-grid solutions.

STS prepaid metering is uniquely suited to this environment because: - It functions entirely offline — no internet or GSM required for token generation or meter operation - It is vendor-interoperable — utilities can procure from multiple manufacturers - It is tamper-evident and fraud-resistant — critical for remote revenue collection - It uses a 20-digit keypad interface — accessible without smartphones or connectivity

The STS standard is, for practical purposes, the de facto mandatory standard for mini-grid metering across SSA. Regulatory agencies in Kenya (EPRA), Tanzania (EWURA), Uganda (ERA), Ghana (PURC), and South Africa (NERSA/SANEDI) either formally mandate or strongly prefer STS-compliant meters for off-grid licensees.

2.3 The Legacy Fleet Problem

Mini-grid projects in SSA typically have a 25-year project life, financed by a combination of development finance institution (DFI) loans, climate finance, and equity. Meters are procured at project commissioning and are expected to last the full project term.

The installed legacy fleet across SSA includes meters manufactured between 2010 and 2022, spanning multiple STS algorithm generations. The TID (Token Identifier) Rollover event of 24 November 2024 exposed a systemic vulnerability: a significant subset of mini-grid operators discovered they lacked the authorised access to Security Modules or vending keys required to generate TID rollover tokens for their own fleets, because those keys were held by the meter OEM or the original vending platform provider — not by the mini-grid developer.

This situation is commercially and operationally unacceptable. Mini-grid developers must have documented, authorised, and long-term access to the cryptographic material and STSA-compliant processes needed to service the meters they have procured and deployed.


3. Enumeration of STS Algorithm Versions and Key Parameters — Legacy Reference

This section constitutes a formal enumeration of all STS cryptographic algorithm versions and key management parameters relevant to SSA-deployed legacy meter fleets, for use in STS correspondence, compliance documentation, field operations, and authorised key management requests.

ℹ️
NOTE
All technical parameters below are drawn from the IEC 62055-41 standard (Editions 1 and 2), and from STSA published materials. This enumeration is submitted to the STSA for verification and, if accurate, for formal endorsement as a reference document for mini-grid operators in SSA.

3.1 STS Encryption Algorithms (EA)

The STS standard defines Encryption Algorithms that are applied to tokens to secure token data in transit and prevent unauthorised token generation. The following EA versions are known to be present in deployed SSA meter fleets:

Algorithm Designation Cipher Key Length Status Deployed Era
EA07 Legacy Standard DES (Data Encryption Standard) 64-bit Deprecated — still in widespread SSA field use 1993 – 2018 (approx.)
EA11 Current Standard MISTY1 128-bit Current — mandatory for new STS certifications 2015 onwards

3.1.1 EA07 — Legacy 64-bit DES

3.1.2 EA11 — Current 128-bit MISTY1


3.2 Decoder Key Generation Algorithms (DKGA)

The DKGA defines how the meter’s unique Decoder Key (DeKu) is derived from its credentials (PAN, SGC, VK). Different DKGA versions are tied to different encryption algorithm eras.

DKGA Description Key Derivation Method Compatible EA Status
DKGA01 First-generation derivation DES ECB EA07 Retired/deprecated — not to be used for new key generation
DKGA02 Standard legacy derivation DES CBC EA07 Still in use for legacy fleet maintenance
DKGA03 Triple-DES derivation 3DES EA07/hybrid Not recommended; effectively superseded
DKGA04 Modern HMAC-SHA256 derivation HMAC-SHA256 EA11 Current — required for all EA11 deployments
IMPORTANT
Mini-grid operators managing legacy EA07 fleets must retain operational access to DKGA02-capable Security Modules to continue servicing those meters. The STSA is requested to formally confirm that operators with existing DKGA02 Security Modules are entitled to continued use of those modules for existing meter fleet management, without mandatory upgrade timelines, provided the meters remain within their STS-certified operational parameters.

3.3 Token Identifier (TID) and Key Revision Number (KRN)

3.3.1 TID — Token Identifier

The TID is a 24-bit field encoding elapsed time in minutes from the STS Epoch (1 January 1993, 00:00:00 UTC). It serves as an anti-replay mechanism — meters reject tokens with a TID equal to or less than the last accepted token’s TID.

Parameter Value
Bit length 24 bits
Counter unit Minutes
Epoch (KRN=1) 1 January 1993, 00:00:00 UTC
Epoch (KRN=2) 1 January 2014, 00:00:00 UTC
TID Rollover Date (KRN=1) 24 November 2024 (counter exhaustion)
TID Rollover Date (KRN=2, projected) Approximately 2045
Maximum TID value 16,777,215 minutes (~31.97 years)

Rollover event (November 2024): Meters operating with KRN=1 exhausted their 24-bit TID counter on 24 November 2024. Meters not updated via two-token Key Change process prior to this date began rejecting new credit tokens.

3.3.2 KRN — Key Revision Number

The KRN indicates which TID epoch and associated vending keys a meter is operating under. A “Key Change” (two-token process) increments the KRN and resets the TID stack.

KRN TID Epoch Status
KRN = 1 1 Jan 1993 Exhausted as of 24 Nov 2024. Meters still on KRN=1 are inoperable without key change.
KRN = 2 1 Jan 2014 Current. Meters successfully upgraded to KRN=2 operate normally until ~2045.
KRN = 3 Reserved for future use Not yet deployed; projected to extend meter life beyond 2045.
⚠️
WARNING
A significant number of SSA mini-grid operators reported in Q4 2024 that meters in their fleets had not been successfully rolled over to KRN=2 prior to 24 November 2024. In some cases this was due to the operator lacking authorised access to Security Modules capable of generating valid Key Change token pairs. This letter formally requests the STSA to establish a remediation pathway for operators whose meters remain on KRN=1, including a mechanism for operators to obtain key change token generation capability through the STSA KMC without requiring full membership or institutional utility status.

3.4 Key Types Summary — SSA Legacy Reference Table

The following table consolidates the key management framework relevant to SSA legacy fleet operators:

Key Parameter Type Description SSA Relevance
VK — Vending Key Symmetric secret key Master key held by KMC and distributed to authorised vending operators Must be held by mini-grid operator or their authorised agent
SGC — Supply Group Code 10-bit identifier Groups meters by region/utility for key isolation Unique per mini-grid project (ideally); shared SGCs create cross-operator risk
TI — Tariff Index 4-bit field Identifies applicable tariff schedule Used for tariff updates without meter replacement
KRN — Key Revision Number 2-bit counter Identifies vending key epoch Critical for TID rollover management
DeKu — Decoder Key Meter-unique derived key Derived from VK + SGC + PAN; programmed into meter at manufacture Must be uniquely generated per meter; shared/common keys are a critical vulnerability
DKGA — Decoder Key Gen. Algorithm Algorithm identifier Specifies how DeKu is derived Operators must match DKGA version to their fleet’s meter generation
MFG Code — Manufacturer Code 2 or 4-digit STSA code Unique code assigned to each certified manufacturer Required for DRN construction and token generation
PAN — Primary Account Number 11-digit meter identifier Unique meter identity used in key derivation Must be recorded per meter; loss of PAN records is a legacy management crisis

3.5 Manufacturer Codes — Known SSA-Deployed OEMs

The following manufacturer codes (as published or verifiable via the STSA member register) are associated with OEMs whose meters are commonly encountered in SSA mini-grid fleets. Recipients of this letter are requested to confirm or correct their manufacturer code(s) as applicable and to provide a complete list of all STS-certified product model numbers active in SSA.

Manufacturer STSA Manufacturer Code(s) SSA Markets Notes
Hexing Electrical Co., Ltd. 0014 (published) South Africa, Kenya, Tanzania, Zambia Confirmed STSA member; local SA manufacturing
Zhejiang CHINT Instrument & Meter Co., Ltd. Confirmed STSA member Nigeria, Ghana, Ethiopia, East Africa Full product range from single-phase keypad to AMI
Inhemeter Co., Ltd. (Inhe) Confirmed STSA member East Africa, West Africa Long-standing STSA participant
Calin Technology Co., Ltd. (Calinmeter) Verify with STSA East and West Africa Widely deployed in DFI-financed mini-grid projects
Shenzhen Donsun Technology Co., Ltd. (now operating as Synergy in some SSA markets) Verify with STSA Ghana, Togo, Benin, Uganda, Zimbabwe, Kenya DS1000/DS3000 series; STS Ed. 2.0 compliant
CNBM (China National Building Material Group) — Metering/Smart Energy division Verify with STSA South Africa (Hisense CNBM-SA partnership) Primarily smart energy integrator; STS metering via partnerships
Genus Power Infrastructures Ltd. Verify with STSA East Africa, West Africa, Southern Africa India-headquartered; 26M+ smart meter deployments globally
Larsen & Toubro Ltd. (L&T Smart World) Verify with STSA India-primary; SSA via AMI infrastructure EESL-scale AMI deployments; STS integration capability
Schneider Electric SE Verify with STSA South Africa, pan-Africa EcoStruxure GMO platform; vendor-neutral STS meter integration
ℹ️
NOTE
All STSA manufacturer codes should be verified against the current STSA member register at sts.org.za. Codes listed as “Verify with STSA” have not been independently confirmed at the time of this correspondence and recipients are requested to supply their current code(s) for inclusion in the official record.

4. Formal Request — Indefinite Legacy Fleet Management Permission

4.1 The Request

The undersigned coalition formally requests that the STS Association, in consultation with recipient OEMs, establish and publish a Formal Legacy Fleet Management Framework (hereafter “the Framework”) that grants mini-grid developers and operators the following rights:

4.1.1 Right to Retain and Operate Legacy Security Modules

Mini-grid operators who have procured STS-compliant Security Modules (hardware security modules or licensed software equivalents) compliant with DKGA02 and/or DKGA04 standards shall be entitled to continue operating those modules for the purpose of generating tokens for their registered meter fleet, indefinitely, without mandatory upgrade timelines, for as long as: - The Security Modules themselves remain cryptographically functional; - The meters in the fleet were lawfully procured from an STSA-certified manufacturer; and - The operator maintains accurate records (PAN, SGC, MFG Code, DKGA version, EA version) for each meter under management.

4.1.2 Right to Access the STSA Key Management Centre (KMC)

Mini-grid operators who do not hold full STSA membership shall be entitled to access the STSA KMC through a designated Mini-Grid Operator Fast-Track pathway for the purpose of: - Obtaining vending keys (VK) for their registered SGC; - Generating Key Change token pairs for TID rollover remediation (KRN=1 → KRN=2); - Registering new meters acquired from STSA-certified manufacturers.

This access shall not require full institutional utility membership, but shall require: - Registration of the mini-grid project with relevant national energy regulator; - Submission of a meter fleet manifest (PAN, SGC, MFG Code, DKGA, EA version per meter); - Agreement to STSA data protection and security protocols.

4.1.3 Right to Continued EA07/DKGA02 Key Material for Legacy Fleets

The STSA and OEM recipients are requested to formally commit that: - EA07/DKGA02 key material and Security Modules will not be forcibly retired from service with a hard cutoff date for operators managing lawfully-procured existing fleets; - If EA07 Security Modules must be deprecated for new issuance, a grace period of no less than 10 years from the date of this letter shall be provided for operators to transition at their own project-appropriate pace; - OEMs shall make available, on request, all technical documentation (PAN records, DKGA version, EA version, SGC assignments) for meters they have supplied to SSA mini-grid operators, to enable those operators to conduct independent fleet management.

4.1.4 Right to OEM-Independent Meter Management

No STS-certified OEM shall impose contractual or technical restrictions that prevent a mini-grid operator from: - Obtaining their meter’s PAN, SGC, MFG Code, and DeKu derivation parameters from an alternative authorised source; - Migrating their vending infrastructure from one STSA-compliant vending platform to another; - Retaining the vending keys for their SGC independently of any OEM service agreement.

This is consistent with the fundamental STS design principle of vendor interoperability and utility independence in token generation.

4.2 Rationale

The STS standard’s greatest contribution to energy access in Africa has been its open architecture — no utility, developer, or operator should be permanently dependent on a single OEM or vending platform to service their meters. This principle is undermined when: - OEMs retain sole custody of vending keys for meters they have sold; - Security Modules are deprecated on OEM-determined timelines regardless of project lifecycle needs; - KMC access is restricted to institutional utility members, excluding the mini-grid sector; - Legacy algorithm support is sunset without adequate transition mechanisms for remote, off-grid fleets.

The Framework requested herein is the minimum necessary to align STS administration with the realities of the Sub-Saharan Africa mini-grid sector, and to protect the energy access investments of development finance institutions, governments, and private developers who have deployed this technology in good faith.


5. Summary of Requests to Recipient OEMs

Each OEM recipient of this letter is specifically requested to:

  1. Confirm their STSA Manufacturer Code(s) and list all STS-certified product models currently deployed or supported in SSA
  2. Provide the EA version, DKGA version, and KRN/TID parameters applicable to each product generation deployed in SSA
  3. Commit to providing PAN records, SGC assignments, and DeKu derivation parameters to lawful mini-grid operator purchasers of their meters upon request
  4. Confirm a minimum legacy key support commitment (EA07/DKGA02 or EA11/DKGA04 as applicable) for existing SSA-deployed meter fleets, with a minimum 10-year committed support horizon from date of last supply
  5. Support the STSA in establishing the Mini-Grid Operator Fast-Track KMC access pathway described in Section 4.1.2

6. Requested Response

Recipients are respectfully requested to provide a written response within 60 days of the date of this letter, addressing the specific requests in Section 5.

Responses should be directed to:

SSA Mini-Grid Coalition Secretariat c/o [Coalition Lead Organisation] Email: [contact@coalition-address.org] Reference: SSA-STS-LEGACY-2026-001


ANNEX A — Full Recipient List

A.1 Primary Addressees — STS Association and Standards Bodies

Organisation Department / Role Country
STS Association (STSA) Executive Director South Africa
STS Association (STSA) Africa Regional Director South Africa
IEC TC13 WG14 Chairman, IEC 62055 Working Group International
African Development Bank (AfDB) Energy Access Division Côte d’Ivoire
IRENA Innovation and Technology Centre Germany/UAE

A.2 Chinese Meter OEMs — Mid-Tier, Strong SSA Presence

Organisation Full Legal Name Headquarters SSA Presence
Donsun / Synergy Shenzhen Donsun Technology Co., Ltd. Shenzhen, China Ghana, Togo, Benin, Uganda, Zimbabwe, Kenya, Malawi, Niger
Inhe Inhemeter Co., Ltd. Hangzhou, China East Africa, West Africa; STSA confirmed member
Calin Calin Technology Co., Ltd. (Calinmeter) Shenzhen, China Nigeria, Kenya, Tanzania, DFI-financed mini-grids across SSA
CHINT Zhejiang Chint Instrument & Meter Co., Ltd. Hangzhou, China Nigeria, Ghana, Ethiopia, East Africa; STSA confirmed member
Hexing Hexing Electrical Co., Ltd. Hangzhou, China South Africa (local mfg.), Kenya, Tanzania, Zambia; STSA confirmed member
CNBM China National Building Material Group — Smart Energy Division Beijing, China South Africa (CNBM-SA/Hisense partnership)

A.3 Indian OEM

Organisation Full Legal Name Headquarters SSA Presence
Genus Power Genus Power Infrastructures Ltd. Jaipur, India East Africa, West Africa, Southern Africa; 26M+ global deployments

A.4 Global Integrators

Organisation Full Legal Name Headquarters SSA Presence / Role
Larsen & Toubro (L&T) Larsen & Toubro Ltd. — Smart World & Communication Mumbai, India Large-scale AMI infrastructure; SSA expansion via Smart World division
Schneider Electric Schneider Electric SE — EcoStruxure Grid Rueil-Malmaison, France South Africa, pan-Africa; EcoStruxure GMO — vendor-neutral STS meter integration platform

A.5 Regional Regulators — For Information

Organisation Country Scope
Energy & Petroleum Regulatory Authority (EPRA) Kenya National energy regulation
Energy and Water Utilities Regulatory Authority (EWURA) Tanzania National energy regulation
Electricity Regulatory Authority (ERA) Uganda National energy regulation
Rwanda Utilities Regulatory Authority (RURA) Rwanda National energy regulation
Public Utilities Regulatory Commission (PURC) Ghana National energy regulation
Nigerian Electricity Regulatory Commission (NERC) Nigeria National energy regulation
Zambia Energy Regulation Board (ERB) Zambia National energy regulation
NERSA / SANEDI South Africa National energy regulation / standards

ANNEX B — Technical Glossary

Term Definition
STS Standard Transfer Specification — IEC 62055-41 — the global open standard for secure prepaid electricity metering
STSA STS Association — the international body that maintains and administers the STS standard
IEC 62055 International Electrotechnical Commission standard series for electricity metering; -41 is the STS Application Layer specification
EA07 STS Encryption Algorithm 07 — legacy 64-bit DES; deprecated but still in widespread SSA field use
EA11 STS Encryption Algorithm 11 — current 128-bit MISTY1; mandatory for new STS certifications
DKGA Decoder Key Generation Algorithm — specifies how the meter’s unique DeKu is derived
DKGA02 Legacy DES CBC key derivation; associated with EA07 fleets
DKGA04 Modern HMAC-SHA256 key derivation; associated with EA11 fleets
DeKu Decoder Key — the meter-unique secret key derived from VK + SGC + PAN
VK Vending Key — the master symmetric key held by the KMC and authorised vending operators
SGC Supply Group Code — 10-bit code grouping meters by operator/region for key isolation
PAN Primary Account Number — the 11-digit unique identifier of an individual meter
TID Token Identifier — 24-bit time-based anti-replay counter embedded in every STS token
KRN Key Revision Number — 2-bit counter indicating which vending key epoch the meter is operating under
TID Rollover The event (24 Nov 2024) when KRN=1 TID counters exhausted; meters required Key Change to KRN=2
Key Change A two-token process that increments a meter’s KRN and resets the TID stack to a new epoch
KMC Key Management Centre — the STSA-operated central authority for VK allocation and key generation
DRN Decoder Reference Number — the compound identifier (MFG Code + PAN + SGC) used to uniquely identify and address an individual STS meter
MFG Code Manufacturer Code — the 2 or 4-digit STSA-issued code unique to each certified meter manufacturer
AMI Advanced Metering Infrastructure — smart grid metering systems enabling remote communication
DLMS/COSEM Device Language Message Specification / Companion Specification for Energy Metering — the international standard for smart meter communication, increasingly used alongside STS
IPP Independent Power Producer — private entity generating electricity, common in SSA mini-grid sector
DFI Development Finance Institution — e.g. World Bank IFC, AfDB, OPIC/DFC, FMO, Proparco

This letter has been prepared in good faith by practitioners operating in the Sub-Saharan Africa off-grid and mini-grid energy sector. It is submitted for formal consideration by the STS Association and the named recipients. Technical parameters are cited from IEC 62055-41 (Editions 1 and 2) and STSA published materials. Recipients are invited to submit corrections to any technical parameters stated herein.


End of Document — SSA-STS-LEGACY-2026-001

🔗 Related Reports in This Suite