Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Fortify is unable to communicate with smartcard while signing 2 operations #553

Open
pmhatre-swi opened this issue Jul 4, 2023 · 3 comments

Comments

@pmhatre-swi
Copy link

While authorizing Operations on Signing Portal, we can approve an (first) Operation successfully but when we tried approving another one, we got an exception stating that "Fortify is unable to communicate with smartcard.". (attached screenshot for reference)
Note: Its work fine once we refresh/reload the signing Portal Page and then approve operation.

Details are provided below:
OS -Windows 10
Browser - Firefox 114.0.2
Yubikey - YubiKey 5C

Capture

@rmhrisk
Copy link
Contributor

rmhrisk commented Jul 26, 2023

We will need logs.

We will also need to understand the scenario that results in two users accessing the smart card concurrently better. In what user context does each interaction happen?

In the end, most devices like smart cards cant service two users currently and the middleware that uses them uses a locking mechanism called a mutex to synchronize access to them so that transactions go in one at a time. My guess is that this is related to the same users trying to interact with the smart card at the same time and the middleware from Yubikey isn't happy.

@pmhatre-swi
Copy link
Author

Please find attached fortify logs.
Here the scenario is, single user approving operations sequentially without refreshing the browser signing portal page.
First operation is approved successfully. Issue is seen if second operation is approved immediately without reloading the signing portal.
workaround: User need to refresh/reload the signing Portal Page and then approve second operation.
Forfity logs.txt

@Jandrieu31
Copy link

@rmhrisk following our discussion last month, would you mind looking into the logs you asked us to provide ? Many thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants