decidim / decidim-bulletin-board

GNU Affero General Public License v3.0
5 stars 6 forks source link

Documentation on Cryptographic Parameters #232

Open microstudi opened 2 years ago

microstudi commented 2 years ago

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.

paarals commented 11 months ago

we put the freeze tag because we don't have enough knowledge

paarals commented 10 months ago

As agreed with product on December 14, this task is discarded due to lack of resources. To be confirmed by @carolromero @andreslucena

andreslucena commented 9 months ago

As agreed with product on December 14, this task is discarded due to lack of resources. To be confirmed by @carolromero @andreslucena

Confirmed. We'll leave this open though, as it's something that it's a nice to have that came from the auditory.