Skip to content

OPTIGA device Data Object Boundary Exceeded - after storing ECC Private&Public key #22

Answered by ayushev
Kitty-Hawk1 asked this question in Q&A
Discussion options

You must be logged in to vote

ok, I see now, the reason for this is that the command given to write the certificate to the object location contains a wrong offset value
From the log:
04 01 10 09 20 82 40 02 C5 E0 E1 BF 51 30 82 02 BD 30 82 , the value E0 E1 is the target object ID, afterwards the offset comes (see SetDataObject command in the Solution Reference Manual), in your case it is BF 51, which exceeds the boundary of the objects, thus you get an error.
The reason for this is here uninitialized value for the offset, for the read operation the offset value is zeroed. In order to fix it in your lcoal version jsut initialize this value with 0, and it will be fine.

I've posted a bug report for your issue.

Replies: 10 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Kitty-Hawk1
Comment options

Answer selected by Kitty-Hawk1
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