Optimization: Signature for Body+ObjectId #128
Replies: 3 comments 15 replies
-
In principle, most of our Object, there is no Body part. At this point, only a Desc signature is needed, and only once at the time of creation, to ensure that the source of the Object is true and reliable. Only when the object needs to be changed frequently, it is necessary to sign the Body. We believe that this kind of Object only accounts for a small part of the overall Object |
Beta Was this translation helpful? Give feedback.
-
But we can't prove whether a body belongs to an Object, I can combine the desc of ObjectA with the body of ObjectB to cheat. |
Beta Was this translation helpful? Give feedback.
-
When this involves the initial design, the object consists of four parts: desc/body/signs/nonce, these four parts are actually independent, that is, they can be split and combined, that is
Therefore, for an object with a body, if you want to prove that it belongs to a certain owner, you need to sign the Desc and body separately, so in this case, you can sign the object_id+body once to save space; this signature mode is equivalent to bind the body with the desc, someone can judge whether the current body belongs to the current desc (for a complete object including desc and body), but I don't know if it will bring other problems? object_id+body bound and signed, consider the following two ways maybe:
|
Beta Was this translation helpful? Give feedback.
-
I find that, I need to sign Body and Desc separately if I want to prove the authenticity of the object. It consumes a lot of space and efficiency.
If we add the ObjectId into the signature data, we can achieve the same with the signature:
Sign(Hash(Body+ObjectId))
Beta Was this translation helpful? Give feedback.
All reactions