Who Generates The Session Key
/. XML Security Library example: Encrypting XML file with a session key and dynamicaly created template. Encrypts XML file using a dynamicaly created template file and a session. DES key (encrypted with an RSA key). The key pairs are generated on the fly; i.e. The key pairs are ephemeral (the E in DHE). Both client and server establish a session key. The server (or the client and server) then authenticate by performing signature-generation (for authentication). Should the question be about how to find the random number (32 bytes) which client's browser sends to web server and what number (along with server's random number (32 bytes)) is employed to generate the session key (the length depends on cipher suit, which code is not encrypted within the handshake) then this random number (server's random number as well) is sent in unencrypted form too. Apr 13, 2016 These types of session Id’s are created in such a way that the information needed to identify a user is embedded into the session Id itself. Since session Id’s are self-contained, the server doesn’t need to store them. Let’s look at a trivial algorithm that generates session Id’s by combining username, IP address and a client secret. Does 'This is an asymmetrical key' mean that the session keys generated on the server and client are not the same? Do bullets 6 and 7 mean that on either the client or the server, the inputs to the algorithm that generates a session key are its own private key, and the other one's public key?
Opened 14 years ago
First, the client generates a session key with the username/password. Then the client sends a remote login request with the session key encryption to the server. Then the server generates a session key with the users name and password. Then the server sends acknowledgement information encrypted with the session key to the client. After completion of this step, DS28C36ApplicationSlaveSessionKey.exe sets up and executes the DS28C36 Compute and Read Page Authentication command with the challenge generated by applicationmastersessionkey.exe to produce the Session Key according to Figure 9.
Closed 12 years ago
Last modified 9 years ago
#1180closeddefect (fixed)
Reported by: | Owned by: | ||
---|---|---|---|
Component: | contrib.sessions | Version: | master |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Attachments (4)
- sessions.uuid.patch (1.1 KB) - added by 12 years ago.
- uuid.py (19.8 KB) - added by 12 years ago.
- the uuid file fall back for python 2.3 & 2.4. I put it in django/utils
- use_63bit_random.diff (1.6 KB) - added by 12 years ago.
- Always use 63 bits for random
- ticket_1180__rev_8168-getrandbits.diff (1.6 KB) - added by 12 years ago.
- Uses getrandbits to get random bits, rather than hacking it with random.randint
Download all attachments as: .zip
Change History (46)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
comment:5 Changed 14 years ago by
comment:6 Changed 14 years ago by
comment:7 Changed 14 years ago by
comment:8 Changed 14 years ago by
comment:9 Changed 14 years ago by
comment:10 Changed 14 years ago by
comment:11 Changed 14 years ago by
comment:12 Changed 14 years ago by
comment:13 Changed 14 years ago by
comment:14 Changed 14 years ago by
comment:15 Changed 13 years ago by
comment:16 Changed 13 years ago by
comment:17 Changed 13 years ago by
comment:18follow-up: 19 Changed 13 years ago by
comment:19 in reply to: 18 Changed 13 years ago by
comment:20 Changed 13 years ago by
comment:21follow-up: 22 Changed 13 years ago by
comment:22 in reply to: 21 Changed 13 years ago by
comment:23 Changed 13 years ago by
comment:24 Changed 12 years ago by
Changed 12 years ago by
Changed 12 years ago by
comment:25 Changed 12 years ago by
comment:26 Changed 12 years ago by
comment:27 Changed 12 years ago by
Component: | Admin interface → django.contrib.sessions |
---|---|
milestone: | → 1.0 |
comment:28 Changed 12 years ago by
comment:29 Changed 12 years ago by
Changed 12 years ago by
comment:30 Changed 12 years ago by
comment:31 Changed 12 years ago by
comment:32 Changed 12 years ago by
Who Generates The Session Keys
comment:33 Changed 12 years ago by
comment:34 Changed 12 years ago by
Changed 12 years ago by
Attachment: | ticket_1180__rev_8168-getrandbits.diff added |
---|
comment:35 Changed 12 years ago by
comment:36 Changed 12 years ago by
Who Generates The Session Key In Florida
comment:37 Changed 12 years ago by
comment:38 Changed 12 years ago by
Owner: | changed from nobody to Malcolm Tredinnick |
---|---|
Status: | reopened → new |