chenyunecjtu / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

ice-pwd too short #350

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
"From RFC 5245
The ice-ufrag and ice-pwd attributes MUST be chosen randomly at the beginning 
of a session. The ice-ufrag attribute MUST contain at least 24 bits of 
randomness, and the ice-pwd attribute MUST contain at least 128 bits of 
randomness. This means that the ice-ufrag attribute will be at least 4 
characters long, and the ice-pwd at least 22 characters long, since the grammar 
for these attributes allows for 6 bits of randomness per character. The 
attributes MAY be longer than 4 and 22 characters, respectively, of course, up 
to 256 characters. The upper limit allows for buffer sizing in implementations. 
Its large upper limit allows for increased amounts of randomness to be added 
over time."

Original issue reported on code.google.com by boss...@yahoo.fr on 27 Feb 2014 at 10:31

GoogleCodeExporter commented 8 years ago
Fixed by r1035

Original comment by boss...@yahoo.fr on 27 Feb 2014 at 10:34