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

Unable to parse DG14 - Failed to parse ASN1 Data #173

Open
rbrouwer opened this issue Feb 27, 2023 · 0 comments
Open

Unable to parse DG14 - Failed to parse ASN1 Data #173

rbrouwer opened this issue Feb 27, 2023 · 0 comments

Comments

@rbrouwer
Copy link

6e 82 01 dd 99 02 67 00 8e 08 e5 f6 f8 33 80 31 2a dc 99 02 67 00 8e 08 82 50 10 d6 9e e0 fc 7b 99 02 67 00 8e 08 da e0 a4 ef 96 59 26 ec 99 02 67 00 8e 08 ff 22 4d 70 53 36 f8 39 99 02 67 00 8e 08 1d 86 eb 99 d0 89 23 31 99 02 67 00 8e 08 73 18 3e 52 aa 0d 8a fb 99 02 67 00 8e 08 ae 22 a2 b6 11 bb 7f 3a 99 02 67 00 8e 08 0c 15 be 40 a4 ed 72 9d 99 02 67 00 8e 08 0e a0 b1 60 1d 4d 0f 7e 99 02 67 00 8e 08 91 48 bd 0d ec 42 0a ad 99 02 67 00 8e 08 41 c6 07 7c 8d 6c b5 6a 99 02 67 00 8e 08 a8 28 b6 4e a5 a7 db 4a 99 02 67 00 8e 08 b7 dd 57 d1 65 67 d1 d7 99 02 67 00 8e 08 6d fe 04 6a 79 e3 b6 11 99 02 67 00 8e 08 ef e6 40 dc 44 e8 0f 79 99 02 67 00 8e 08 e1 db ab 00 98 be c0 ec 99 02 67 00 8e 08 78 30 53 d7 b9 01 49 10 99 02 67 00 8e 08 87 69 36 25 1d 0a 67 2f fd c7 78 70 03 6f f5 f7 38 7e cf 07 12 e8 41 77 c7 e7 59 a7 c5 ca 4a 73 12 43 38 9f b6 89 f0 c5 c8 f8 51 1d f9 3d 5c 4f ce 68 fe 08 15 26 47 dc 83 88 41 80 90 02 02 04 00 03 81 85 00 02 81 81 00 e2 5e 1f 01 2e b4 02 9b 50 80 e1 c7 2c 4f e0 c5 bf d7 67 82 bf 51 a9 f2 a0 e7 80 ac e2 71 d8 dd 42 e2 de a5 93 d3 82 53 35 70 69 e1 67 04 a5 f0 8e b6 4d ce 99 48 cd 71 37 cf cb 34 a1 e4 ef df 4c 88 bb c4 bf a7 41 2f a9 ce 7a 11 40 1c 64 97 cc 0c a1 24 6c b0 4b cc 7b 01 99 81 dc 52 98 6c 1f 5e 26 35 f3 a5 00 14 c3 d6 94 f6 d2 88 22 64 fe fd 29 51 45 de d7 21 13 7f 83 70 fc 9c c2 24 30 0f 06 0a 04 00 7f 00 07 02 02 03 01 01 02 01 01 30 0d 06 08 04 00 7f 00 07 02 02 02 02 01 01

Passing that data (I made it HEX) into DataGroupParser().parseDG() as Data will cause a NFCPassportReader.OpenSSLError: "Unable to parse ASN1" "Failed to parse ASN1 Data" exception and it shouldn't.

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