fiskaltrust / middleware-launcher

The Middleware Launcher is used to host fiskaltrust's Middleware for POS systems on desktop operating systems like Windows, Linux and macOS.
https://docs.fiskaltrust.cloud
European Union Public License 1.2
2 stars 1 forks source link

Store client ECDH in cashbox-specific path #137

Closed TSchmiedlechner closed 11 months ago

TSchmiedlechner commented 11 months ago

Currently, there are two issues when handling client curves we use for decrypting secrets:

  1. They are stored in the "common" folder, which cannot be configured by the user. Instead, we should store it in the service folder.
  2. The file is stored with a generic path (client.ecdh), which can lead to errors when multiple CashBoxes are ran on the same machine.
volllly commented 11 months ago

Looks like a sensible change 😁 Did you by any chance test if this is backwards compatible with the previous version?

TSchmiedlechner commented 11 months ago

Works, the old client.ecdh is ignored and just re-downloaded :)