Skip to content

Can't verify signature using internal certificate 0xE0E0 #89

Discussion options

You must be logged in to vote

@matteofumagalli1275 ,
According to the Solutions Reference Manual, to use an OID for signature verification, the OID shall contain a single certificate encoded in DER format, starting 0x30 (see pg. 73). The Certificate in 0xE0E0 is encoded as a TLS identity certificate CHAIN (starts with 0xC0 and not 0x30), see pg. 112. Even though only 1 certificate is present in this TLS chain, it is still encoded as a chain, not as single certificate (chain with only 1 certificate).
We have 2 alternatives:

  1. Extract the public key and try directly using it (you already tried and it works).
  2. Copy the certificate using read data interface (with offset 9). Store this read certificate data into another OID …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@matteofumagalli1275
Comment options

@sgsharath123
Comment options

@matteofumagalli1275
Comment options

@sgsharath123
Comment options

Comment options

You must be logged in to vote
1 reply
@matteofumagalli1275
Comment options

Answer selected by matteofumagalli1275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants