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)

defect

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."
Summary: [SSO] Ensure cryptographical randomness of service tickets → [SSO] Ensure cryptographic randomness of service tickets
Whiteboard: [infrasec:crypto]
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
Component: Webdev → SSO
Product: mozilla.org → Webtools
QA Contact: webdev → sso
Priority: -- → P1
Assignee: fwenzel → nobody
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.