Skip to content

Documentation on Cryptographic Parameters #232

@microstudi

Description

@microstudi

Some details of the cryptographic defaults used in the main library used to encrypt the election should be available for transparency and clarity.

The following parameters should have a link to where there are defined for easy checks:

The parameter p used to compute the modular arithmetic operations must be a prime number whose discrete logarithm is not solvable in an assumable time in image. This means that p -1 must have a large prime factor which makes the discrete logarithm problem difficult.

The size of this parameter p must be of 4096 bits

The parameter q must be a prime number which divides -1` and its length is 256 bits.

The parameter r must be computed as r=(p -1)/q

The parameter g must be a generator in image. This means that, in image, g can be expressed as a combination (under the group operation) of finitely many elements of the subset and their inverses.

The messages sent from Decidim server and to the BulletinBoard are signed using 4096-bit RSA keys and SHA-256 hashes.

Finally, since the system uses external libraries, links to the bug-reporting pages of those libraries should be available through the documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions