-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
key_app_writer writes wrong public key in der format #1257
Labels
Comments
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jan 7, 2018
Remove `- 1` for setting location of output buffer, which added a leading zero which cause failure in ASN1 parsing. Fixes Mbed-TLS#1257
ARM Internal Ref: IOTSSL-1991 |
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jun 26, 2018
Remove `- 1` for setting location of output buffer, which added a leading zero which cause failure in ASN1 parsing. Fixes Mbed-TLS#1257
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jun 26, 2018
Remove `- 1` for setting location of output buffer, which added a leading zero which cause failure in ASN1 parsing. Fixes Mbed-TLS#1257
simonbutcher
added a commit
that referenced
this issue
Jun 28, 2018
simonbutcher
added a commit
that referenced
this issue
Jun 29, 2018
simonbutcher
added a commit
that referenced
this issue
Jun 29, 2018
2 tasks
mpg
pushed a commit
to mpg/mbedtls
that referenced
this issue
Aug 9, 2024
…hmac-document-3.6 Backport 3.6: Document that MBEDTLS_PSA_HMAC_DRBG_MD_TYPE does not force HMAC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Reported in the support forum by Aryeh R.
Bug
OS
linux|windows
mbed TLS build:
Version: development
OS version: Ubuntu16.04 and windows10 (irrelevant in this bug)
Expected behavior
parsing the created public key should pass
Actual behavior
parsing the created
der
public key fails with error -0x3d62Steps to reproduce
key_app_writer
to write a public key in der formatI believe the bug is here
The
- 1
is redundant. It adds a leading zero byte, which causes a failure in the ASN1 parsing, as it is not the expected tag.The text was updated successfully, but these errors were encountered: