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

Weird behavior on J2A040 #51

Closed
dogtopus opened this issue Sep 19, 2017 · 1 comment
Closed

Weird behavior on J2A040 #51

dogtopus opened this issue Sep 19, 2017 · 1 comment

Comments

@dogtopus
Copy link

The OwnerPIN instance for pw1 and pw3 doesn't seem to initialize properly. When I attempt to perform operations that require pw1/pw3 (change PINs and other admin commands) it always gives me an error complaining that the PIN is not correct. But if I change the source code and disable the original PIN check only on the PIN changing routine (ins 0x24, didn't touch the verify routine (0x20)) and then change the PIN, the PIN can be set normally and be verified correctly later.

gl-sergei added a commit to gl-sergei/ykneo-openpgp that referenced this issue Jul 1, 2018
@dogtopus
Copy link
Author

Whoa I just wanted to close this as "possible firmware bug on Chinese J2A040". Didn't even thought that somebody looked into this.

Anyway @gl-sergei your fix also worked for me.

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

No branches or pull requests

1 participant