Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-17

Should we lock the session?

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Session
    • Labels:
      None

      Description

      The sessions are currently not locked.

      The PKCS#11 API says that it is not safe to share a session between multiple threads. I thus did not have a mutex lock on the session. Do we need to have it for other operations? Or can we drop the TODOs in the code?

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            rickard Rickard Bellgrim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: