[patch]Add DER decoding of ASN.1 structure negTokenResp of SPNEGO

View: New views
1 Messages — Rating Filter:   Alert me  

[patch]Add DER decoding of ASN.1 structure negTokenResp of SPNEGO

by Shirish Pargaonkar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This patch adds DER decoding of ASN.1 structure negTokenResp of SPNEGO.

Currently, only security mechanism used/handled in CIFS using SPNEGO
is Kerberos,
so use the function decode_negTokenResp to check the response to
negTokenInit sent by Kerberos.
I am not sure in case of Kerberos, what follows in the negTokenResp i.e.
how does kerberos blob look like if the negstate is accept-incomplete,
so I let it go further
instead of returning from decode_negTokenResp but at some point we will need a
function to handle that blob.


_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client

cifs_asn1.1.patch (6K) Download Attachment