This tool can be used to verify the signature of the French fiscal archives. It loads the data that are part of the signature from the ZIP archive and verifies the attached signature using the Mews public key.
-
Extract the ZIP file:
- Extract the ZIP file's contents into a folder of your choice.
-
Navigate to the folder related to your OS (WindowsOS or MacOS):
- Open the extracted folder and navigate to the
WindowsOS
orMacOS
subfolder.
- Open the extracted folder and navigate to the
-
For Windows, run
Mews.Fiscalization.SignatureChecker.exe
-
For MacOS Open the terminal (CLI):
- Open the terminal and change the directory to the
MacOS
folder.
- Open the terminal and change the directory to the
-
Run the following commands in the terminal:
- Remove the quarantine attribute:
xattr -dr com.apple.quarantine Mews.Fiscalization.SignatureChecker
- Execute the tool:
./Mews.Fiscalization.SignatureChecker
- Remove the quarantine attribute:
-
Handling permission issues:
- If you encounter any permission issues, run the following command to make the tool executable:
chmod +x Mews.Fiscalization.SignatureChecker
- Then, execute the tool again:
./Mews.Fiscalization.SignatureChecker
- If you encounter any permission issues, run the following command to make the tool executable:
After finishing the steps above, run the following command to verify the signature of an archive zip file: 2025.zip --production
or 2025.zip --develop
path-to-archive
- Path to the ZIP archive that contains the signature and the data that are part of the signature.environment
- Environment for which the signature should be verified. Possible values areproduction
anddevelop
, if not provided,production
environment will be used.
The tool will output the result of the signature verification. If the signature is valid, the tool will output Archive signature is valid.
. If the signature is invalid, the tool will output Archive signature is invalid.
.