Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of a direct high-level method for recovering the transaction counter value #3

Open
pterr opened this issue Dec 3, 2024 · 0 comments

Comments

@pterr
Copy link
Member

pterr commented Dec 3, 2024

The calypso.card.card.CalypsoCard interface doesn't offer a method for directly retrieving the current value of a card's transaction counter: this could be particularly useful for Basic-type products with a limited lifetime, in order to know the number of possible remaining transactions.

Currently, it is possible to retrieve the transaction counter value only if a secure session has just been closed, by parsing the audit data using calypso.card.transaction.TransactionManager.getTransactionAuditData()

→ CNA thus plan to add in a future evolution of the Calypso Card API, a high-level method for directly recovering the transaction counter value.

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

No branches or pull requests

1 participant