Where does the MITK initiator select the session key vs the subkey?RC4 is a "not newer" enctype, so krb5_gss_wrap() calls
Bonus question: Is there a trick to getting gdb to work with gss-client -pass?
So the session key used starts with C952.
As you can see, the SSPI acceptor simply uses the same key for the Authenticator subkey and AP-REP subkey.
Not sure how the SSPI knows to do this.
On 5/8/25 14:17, Michael B Allen wrote:
As you can see, the SSPI acceptor simply uses the same key for the Authenticator subkey and AP-REP subkey.
Not sure how the SSPI knows to do this.
The MIT krb5 acceptor will do this as well, when the enctype is older
and it can't negotiate a better enctype (e.g. if permitted_enctypes = rc4-hmac on the client or server). See:
* accept_sec_context.c:1020-1024, where cfx_generate_subkey is only set
when the enctype is newer, when we are using DCE-style, or when ap_req_options contains AP_OPTS_USE_SUBKEY (which means when we can
negotiate a better enctype; see rd_req_dec.c:766-773)
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 64 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 492944:05:35 |
| Calls: | 842 |
| Files: | 1,304 |
| D/L today: |
8 files (19,649K bytes) |
| Messages: | 261,765 |