]> git.eshelyaron.com Git - emacs.git/commit
Add GS2 authorization to sasl-scram-rfc
authorF. Jason Park <jp@neverwas.me>
Tue, 20 Sep 2022 04:28:52 +0000 (21:28 -0700)
committerAmin Bandali <bandali@gnu.org>
Thu, 24 Nov 2022 00:52:07 +0000 (19:52 -0500)
commit71397175aaa51571ba89a2ebf147ae833da5decf
tree5540347a4f90599b3305e2944264a74b6f7868b0
parentd47e05219f963c28be3b018f31d232aa8eeb200f
Add GS2 authorization to sasl-scram-rfc

* lisp/net/sasl-scram-rfc.el (sasl-scram-gs2-header-function,
sasl-scram-construct-gs2-header): Add new variable and default
function for determining a SCRAM GSS-API message header.  This is
mainly intended for other libraries rather than end users.
(sasl-scram-client-first-message): Use gs2-header function.
(sasl-scram--client-final-message): Use dedicated gs2-header function.
Also remove whitespace when base64-encoding, as per RFC 5802.
(Bug#57956.)
lisp/net/sasl-scram-rfc.el