Skip to main content

Variable: STORAGE_KEYS

const STORAGE_KEYS: {
enrolled: "dash-ota.enrolled";
installId: "dash-ota.installId";
};

Defined in: config.ts:91

Storage keys used internally.

Type Declaration​

enrolled​

readonly enrolled: "dash-ota.enrolled" = 'dash-ota.enrolled';

Marker proving this install already enrolled its current device key, so we don't re-POST /enroll (and re-attest, burning attestation quota) on every cold start. Value = sha256(installId + ':' + devicePublicKeyB64), so a key rotation or reinstall re-enrolls.

installId​

readonly installId: "dash-ota.installId" = 'dash-ota.installId';