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

Refactor LongOperationInProgressException #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robinkrahl
Copy link
Contributor

This patch changes LongOperationInProgressException to derive from
DeviceCommunicationException. This makes it easier to use the C API as
the exception now has a unique numerical identifier.

Fixes #170.

This patch changes LongOperationInProgressException to derive from
DeviceCommunicationException.  This makes it easier to use the C API as
the exception now has a unique numerical identifier.

Fixes Nitrokey#170.
@szszszsz
Copy link
Member

Looks good!
I wonder how current Nitrokey App would react to that change - to check. If it would be unusable, then I will wait until 4.0 release with this merge (should not be long).

@szszszsz szszszsz added the test label Jun 15, 2020
@szszszsz szszszsz self-requested a review June 15, 2020 17:04
@robinkrahl
Copy link
Contributor Author

That’s an interesting point. I think you said that you want to follow semantic versioning, and that would require a new major release regardless of the Nitrokey App compatibility. Also in the Rust bindings I’m relying on libnitrokey following the semver guidelines. So I would appreciate if you made clear whether you are going to follow the semver guidelines or whether you’ll take a more pragmatic approach.

sgued pushed a commit to sgued/libnitrokey that referenced this pull request Feb 14, 2022
nk3 update: Handle bootloader connection issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LongOperationInProgressException cannot be detected using the C API
2 participants