Commit c8d5e76b authored by fedor.brunner's avatar fedor.brunner

"4096-bit MODP Group" from RFC3526, Section 5.

The prime is: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }

RFC3526 specifies a generator of 2.

The generation of the group is described in RFC 2412.

Fixes: #7644
parent aa0abdc2
-----BEGIN DH PARAMETERS-----
MIICCAKCAgEA9RBdjft9pcfy2WZWWgz7uKzHg0O8ltdU045O5aZIkbmfe6ec6spu
GlJwCpA8FpRK99R2JYZkPDuJkJOR3Yonm3leJB8ZO1sgak36tf1KXosn86STtwh8
ppA27Idx4dZwFn8wPCnfcVqCq/4DXR7mB3miHOMZx8kmjhRO86doTZHWsTYej1ei
pbk9lekYJzI7ohEITnLoiUKfquzfg71JGcGKF6dvXlcc4iXuPluqz1fsua4eY/tm
kPlvqoYXsmtQIszk2YIsgk8kDBv9BBbcFITXDFEMxPc5Qof4MTTHWOHvyyXqiNJt
d1cWkrpGKx+H2MDoLW8Ssf3v/oCj3tP+LbOa+rqme39ARK8SZpimjkBw0qMQcIux
LTXFPrLTszzza3Nfthtc1H1MuoVsdJSDjTe94FajPewsI3Cc2fVgSh6puS6S3gsf
dblNMNYRjQSMRr3LGahSnWOG6ux+1Nau3hCwCOIZpZs3DZurRZ+EFYWxG+83DMlu
Vxg7cXrzofyBShb/lVCERVyKCuGIAJSkKfC/D5tcCHHEB34ep8ZMc+2UEslK8dSW
4cQcqG3/KOwpsV0zXfaX0xhS8/95gnAgCZRiDiUWVskJ6JxWvqg40N2dBK7tT/Gq
sayPDdAY/B/lBfcJzuD6uxCf1wBCMtg01bVe7tipxSlhGgBpKBoJa4sCAQI=
MIICCAKCAgEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM
fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq
ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI
ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O
+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI
HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0BjGZ//////////8CAQI=
-----END DH PARAMETERS-----
"4096-bit MODP Group" from RFC3526, Section 5.
The prime is: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }
RFC3526 specifies a generator of 2.
The generation of the group is described in RFC 2412.
......@@ -121,10 +121,6 @@ def get_context(fingerprint, verify_cb=None, remote_jid=None):
with open(dh_params_name, "r") as dh_params_file:
ctx.load_tmp_dh(str(dh_params_name))
except IOError as err:
log.warn('Unable to load DH parameter file: %s. You should generate it '
'by using this command : "openssl dhparam 4096 -out '
'~/.config/gajim/dh_params.pem". This command take about 15 '
'minutes to complete.' % dh_params_name)
default_dh_params_name = os.path.join(common.gajim.DATA_DIR,
'other', DEFAULT_DH_PARAMS)
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment