web-eid / web-eid-asp-dotnet-example

Example ASP.NET web application that uses Web eID for secure authentication and digital signing with electronic ID smart cards
MIT License
3 stars 5 forks source link

Fixed race condition with digidoc initialize/terminate #17

Closed realmerx closed 6 months ago

realmerx commented 8 months ago

In fixed version digidoc is initialized in constructor and terminated in Dispose. Problematic implementation initalized and terminated digidoc inside methods using digidoc which could cause race condition with multiple threads.

Signed-off-by: Villu Roogna villu.roogna@gmail.com