trussed icon indicating copy to clipboard operation
trussed copied to clipboard

Add multiple (Service) Backends abstraction

Open daringer opened this issue 1 year ago • 1 comments

This adds the structure to allow multiple service backends. Essentially the client now has the possibility to choose a order-of-dispatch in its ClientContext. This is an elementary step towards transparent hardware crypto devices like the se050.

  • Extend ClientId to be a proper struct and call it make it a ClientContext (as the name suggests)
  • Fix several concurrency issues during directory traversal using the ClientContext instead of a quasi-global
  • extend all necessary components and reply_to dispatching based on client-chosen service backends

daringer avatar Sep 05 '22 21:09 daringer

I've rebased it on top of 8e347abf99dba81fca11c5779a473d263a7b0565 in sosthene-nitrokey:client-context-rebased

sosthene-nitrokey avatar Sep 12 '22 09:09 sosthene-nitrokey