-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add PIV commands #506
Add PIV commands #506
Conversation
7d4b88f
to
7062bc1
Compare
Not sure how to deal with the modules that don't have type definitions. How can I just ignore the errors for pyscard and asn1crypto? I don't think we can get rid of those, or add type checks.
|
Generally, there are two solutions to dependencies without type annotations:
Obviously, the first option is much better, but not always worth the effort, especially for legacy code. See the Also make sure to check the typeshed repository. Maybe somebody already wrote a stub. |
919fe51
to
d24302b
Compare
I've found a bug testing this branch with the 1.6.0-test firmware
|
Thank you for the report. It was a very simple typo, fixed in d5bc2af |
f072dcf
to
c802f4a
Compare
316003a
to
452c808
Compare
452c808
to
4367040
Compare
935b598
to
0ff57ff
Compare
I added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suppressing typing checks for smartcard
seems unnecessary, otherwise LGTM.
All review comments are resolved. Let's merge. |
This PR adds PIV commands under
nitropy nk3 piv
Checklist
Make sure to run
make check
andmake fix
before creating a PR, otherwise the CI will fail.If we merge this before PIV is stabilised, this will need to be behind a
--experimental
flag.