Closed
Bug 568769
Opened 16 years ago
Closed 16 years ago
[SSO] Ensure cryptographic randomness of service tickets
Categories
(Webtools Graveyard :: SSO (Legacy), defect, P1)
Webtools Graveyard
SSO (Legacy)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wenzel, Assigned: wenzel)
References
Details
(Whiteboard: [infrasec:crypto])
From the Security review:
"Service ticket will need to be cryptographically random. This can be tricky depending upon the libraries available for a particular programming language."
| Assignee | ||
Updated•16 years ago
|
Summary: [SSO] Ensure cryptographical randomness of service tickets → [SSO] Ensure cryptographic randomness of service tickets
Updated•16 years ago
|
Whiteboard: [infrasec:crypto]
| Assignee | ||
Comment 1•16 years ago
|
||
Michael: Will os.urandom() [1] suffice?
It's a wrapper around /dev/urandom, and our web servers run Linux 2.6 kernels.
Also, the CAS protocol requires the length of the ticket to be (32 minus a fixed prefix of 3 = ) 29 characters long (but "suggests" up to 253) [2]. In hex, that's 29 * 4 = 116 random bits. Sufficient or not?
[1] http://docs.python.org/library/os.html#os.urandom
[2] http://www.jasig.org/cas/protocol -- section 3.1.1
| Assignee | ||
Updated•16 years ago
|
Component: Webdev → SSO
Product: mozilla.org → Webtools
Updated•16 years ago
|
QA Contact: webdev → sso
Comment 2•16 years ago
|
||
That works.
| Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
| Assignee | ||
Updated•16 years ago
|
Assignee: fwenzel → nobody
| Assignee | ||
Comment 3•16 years ago
|
||
urandom -> hex
http://github.com/mozilla/secret-squirrel/commit/f506401
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•