[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal for new DH Groups 6, 7, and 8



Will Price writes:
> I would like to propose three new DH Groups for IKE of 2048, 3072, and
> 4096 bits.  This should adequately cover all foreseeable future needs.  I
> have included documentation on the generation of these primes which were
> originally generated for PGPfone, and there is an interesting story about
> how they were generated at the end of this message.

I think those primes should be generated in the same way the primes
currently in the IKE are generated, i.e to have format of

p = 2^n - 2^(n-64) - 1 + (floor(Pi*2^(n-130)) + t)*2^64,

Also the primes must be verified to be really primes. Statistical
methods are not enough (I think PGPfone only does statistical tests).

I sent at least the 2048 bit prime to the list earlier, here is the
values of the index t for those 2048, 3072 and 4096 bit primes:

 < n, t >: (n = number of bits in prime, t = offset from the pi)
----------------------------------------------------------------------
 < 2048, 124476 >
 < 3072, 1690314 >
 < 4096, 240904 >
----------------------------------------------------------------------

All those primes have been verified to really be primes using ECPP
program by Morain. At the end there are the primes on the same format
that is used in the IKE rfc. To get more information about how these
(and the the groups in the IKE rfc) are generated read RFC 2412
Appendix E. These primes are generated by me and Mika Kojo.

----------------------------------------------------------------------
2048 bits: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 }

         FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
         29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
         EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
         E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
         EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE45B3D
         C2007CB8 A163BF05 98DA4836 1C55D39A 69163FA8 FD24CF5F
         83655D23 DCA3AD96 1C62F356 208552BB 9ED52907 7096966D
         670C354E 4ABC9804 F1746C08 CA18217C 32905E46 2E36CE3B
         E39E772C 180E8603 9B2783A2 EC07A28F B5C55DF0 6F4C52C9
         DE2BCBF6 95581718 3995497C EA956AE5 15D22618 98FA0510
         15728E5A 8AACAA68 FFFFFFFF FFFFFFFF

   The generator is 2 (decimal)
----------------------------------------------------------------------
3072 bits: 2^3072 - 2^3008 - 1 + 2^64 * { [2^2942 pi] + 1690314 }

	 FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
	 29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
	 EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
	 E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
	 EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE45B3D
	 C2007CB8 A163BF05 98DA4836 1C55D39A 69163FA8 FD24CF5F
	 83655D23 DCA3AD96 1C62F356 208552BB 9ED52907 7096966D
	 670C354E 4ABC9804 F1746C08 CA18217C 32905E46 2E36CE3B
	 E39E772C 180E8603 9B2783A2 EC07A28F B5C55DF0 6F4C52C9
	 DE2BCBF6 95581718 3995497C EA956AE5 15D22618 98FA0510
	 15728E5A 8AAAC42D AD33170D 04507A33 A85521AB DF1CBA64
	 ECFB8504 58DBEF0A 8AEA7157 5D060C7D B3970F85 A6E1E4C7
	 ABF5AE8C DB0933D7 1E8C94E0 4A25619D CEE3D226 1AD2EE6B
	 F12FFA06 D98A0864 D8760273 3EC86A64 521F2B18 177B200C
	 BBE11757 7A615D6C 770988C0 BAD946E2 08E24FA0 74E5AB31
	 43DB5BFC E0FD108E 4B82D120 A93AD2CA FFFFFFFF FFFFFFFF

   The generator is 2 (decimal)
----------------------------------------------------------------------
4096 bits: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }

	 FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
	 29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
	 EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
	 E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
	 EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE45B3D
	 C2007CB8 A163BF05 98DA4836 1C55D39A 69163FA8 FD24CF5F
	 83655D23 DCA3AD96 1C62F356 208552BB 9ED52907 7096966D
	 670C354E 4ABC9804 F1746C08 CA18217C 32905E46 2E36CE3B
	 E39E772C 180E8603 9B2783A2 EC07A28F B5C55DF0 6F4C52C9
	 DE2BCBF6 95581718 3995497C EA956AE5 15D22618 98FA0510
	 15728E5A 8AAAC42D AD33170D 04507A33 A85521AB DF1CBA64
	 ECFB8504 58DBEF0A 8AEA7157 5D060C7D B3970F85 A6E1E4C7
	 ABF5AE8C DB0933D7 1E8C94E0 4A25619D CEE3D226 1AD2EE6B
	 F12FFA06 D98A0864 D8760273 3EC86A64 521F2B18 177B200C
	 BBE11757 7A615D6C 770988C0 BAD946E2 08E24FA0 74E5AB31
	 43DB5BFC E0FD108E 4B82D120 A9210801 1A723C12 A787E6D7
	 88719A10 BDBA5B26 99C32718 6AF4E23C 1A946834 B6150BDA
	 2583E9CA 2AD44CE8 DBBBC2DB 04DE8EF9 2E8EFC14 1FBECAA6
	 287C5947 4E6BC05D 99B2964F A090C3A2 233BA186 515BE7ED
	 1F612970 CEE2D7AF B81BDD76 2170481C D0069127 D5B05AA9
	 93B4EA98 8D8FDDC1 86FFB7DC 90A6C08F 4DF435C9 34063199
	 FFFFFFFF FFFFFFFF

   The generator is 2 (decimal)
-- 
kivinen@iki.fi                               Work : +358-9-4354 3218
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


Follow-Ups: References: