Skip to content

Inconsistent SSID Lengths Due to Variable id Length in ComputeSSID #296

@B08902060

Description

@B08902060

The current implementation of the ComputeSSID function can lead to inconsistencies in the length of the generated SSID. This issue arises because the id parameter can have a variable length, resulting in SSIDs of varying lengths. Consequently, this can cause the SSID and ZKSsid lengths to be inconsistent, which has been observed to cause failures in verifying the Pedersen parameter proof during the resharing process.

Additionally, during the Reshare phase, the id used to compute ssid is derived from dkgResult.Bks[selfId].String(), generated during the DKG phase.

Is there any special significance to the current implementation, or can I use padding to address this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions