Repository navigation
Description
[REQUIRED] Environment info
firebase-tools: 15.14.0 (version-pinned CLI source; this report concerns published metadata and an independently inspected download, not a CLI runtime failure)
Platform: Windows 11 Pro, 64-bit
[REQUIRED] Test case
The official Firestore Emulator 1.20.4 download metadata contains a 63-character SHA-256 checksum rather than a canonical 64-character SHA-256 value.
Official metadata:
https://github.com/firebase/firebase-tools/blob/v15.14.0/src/emulator/downloadableEmulatorInfo.json
Artifact: cloud-firestore-emulator-v1.20.4.jar
Published metadata:
- Version:
1.20.4 - Expected file size:
136551710bytes - Expected MD5:
8397dac992e02454914dec28d23b6ed8 - Published SHA-256:
49ee7814741b481ae5becfdaa7b55693bdf7a03363cd184e35c36c1595a9643
Independently observed SHA-256:
049ee7814741b481ae5becfdaa7b55693bdf7a03363cd184e35c36c1595a9643
The observed SHA-256 differs from the published string only by a leading zero.
A second question concerns the artifact's packaging: the downloaded .jar starts with an ELF header while also containing a readable ZIP/JAR central directory and Java manifest.
[REQUIRED] Steps to reproduce
-
Inspect the
firestoreentry in the official Firebase CLI v15.14.0downloadableEmulatorInfo.jsonfile. -
Observe that
expectedChecksumSHA256contains 63 hexadecimal characters. -
Obtain the Firestore Emulator 1.20.4 artifact from the exact URL specified in that metadata:
https://storage.googleapis.com/firebase-preview-drop/emulator/cloud-firestore-emulator-v1.20.4.jar -
Calculate the downloaded artifact's SHA-256 and MD5 checksums and compare its size to the published metadata.
-
Inspect the first four bytes and the ZIP/JAR structure without executing the artifact.
Observed results:
- File size:
136551710bytes — matches. - MD5:
8397dac992e02454914dec28d23b6ed8— matches. - SHA-256:
049ee7814741b481ae5becfdaa7b55693bdf7a03363cd184e35c36c1595a9643— stable across read-only inspections. - First four bytes:
7F 45 4C 46(ELF magic). - ZIP central directory: readable, with 37,510 entries.
META-INF/MANIFEST.MF: present and readable, with manifest version and main class fields.
No Firebase emulator execution is required to reproduce the checksum metadata discrepancy.
[REQUIRED] Expected behavior
- Published SHA-256 checksums should be canonical 64-character hexadecimal strings and match the official distributed artifact.
- The official artifact's packaging should be identifiable and compatible with its documented supported operating systems.
- Maintainers should be able to confirm the exact canonical checksum and explain any intentionally embedded native executable header.
[REQUIRED] Actual behavior
Issue 1 — Noncanonical SHA-256
The published SHA-256 contains only 63 hexadecimal characters.
The independently calculated SHA-256 has the same characters with an additional leading zero. This is consistent with a checksum-formatting defect in the published metadata, but the canonical value has not been independently attested by the publisher.
Issue 2 — ELF/JAR packaging requires clarification
The downloaded artifact begins with an ELF header even though the file is distributed as a Java .jar and contains a valid ZIP central directory and readable Java manifest.
We cannot determine from the available public documentation whether this is an intentional packaging format for Firestore Emulator 1.20.4.
Request to Firebase maintainers
Could you please confirm both of the following?
- Is the canonical SHA-256
049ee7814741b481ae5becfdaa7b55693bdf7a03363cd184e35c36c1595a9643, and was the leading zero accidentally omitted from the v15.14.0 metadata? Is there an authoritative or signed checksum record for the exact distributed bytes? - Is the ELF header intentionally present in the official Firestore Emulator 1.20.4
.jar? If so, could you point to the corresponding build or packaging mechanism and confirm that this distribution is supported for Java-based execution on Windows?
Additional note:
We are conducting artifact-integrity verification before using this emulator in a controlled local QA environment. The downloaded artifact has not been executed, and no checksum correction or acceptance exception has been applied.
Thank you for helping clarify these two artifact-specific questions.
Activity