Closed saschaknapp closed 1 year ago
Hey @saschaknapp, thanks for bringing this up!
@mijomilicevic we shouldn't forget to also use the "optional printing" ftSignatureFormat flag for this one (0x0000000000010000
).
Hi folks,
quick question on this one. Currently one of the optional signatures is the public key of the TSE (https://github.com/fiskaltrust/middleware/blob/main/queue/src/fiskaltrust.Middleware.Localization.QueueDE/SignatureFactoryDE.cs#L127). AFAIK this is connected to the TSE SerialNumber.
In the document that you have attached @saschaknapp there is no information on a requirement to print the public key.
So I am not sure if we already fulfill that requirement (since the public key should be enough) or if we can get rid of the public key as a signature that has to be printed.
Hi @StefanKert , i can't find the requirement for the public key either. The serial number of the TSE is the only new mandatory requirement for the receipt. I do wonder how a validation of the signature should work without the public key though. That's why the public key is included in the QR code instead of the TSE serial. I haven't seen a receipt without a QR code that doesn't contain the public key in real life yet. IMO we should keep it as an optional parameter and add the TSE serial as required new parameter. That way we're always ready if the public key does suddenly become mandatory.
The new AEAO / KassenSichV valid from 1.1.2024 requires the TSE serialnumber to be printed on the receipt if the QR-Code isn't used. Currently the middleware doesn't return the TSE serialnumber in the ftSignatureTypes.
What we need:
legal baseline: