Skip to content

Commit

Permalink
tweak doucmentation for sasl and scram
Browse files Browse the repository at this point in the history
  • Loading branch information
mjl- committed Dec 6, 2024
1 parent ce75852 commit 0a77bc5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion sasl/sasl.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
// Package SASL implements Simple Authentication and Security Layer, RFC 4422.
// Package SASL implements a client for Simple Authentication and Security Layer, RFC 4422.
//
// Supported authentication mechanisms:
//
// - EXTERNAL
// - SCRAM-SHA-256-PLUS
// - SCRAM-SHA-1-PLUS
// - SCRAM-SHA-256
// - SCRAM-SHA-1
// - CRAM-MD5
// - PLAIN
// - LOGIN
package sasl

import (
Expand Down
7 changes: 4 additions & 3 deletions scram/scram.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// Package scram implements the SCRAM-SHA-* SASL authentication mechanism, RFC 7677 and RFC 5802.
// Package scram implements the SCRAM-SHA-* SASL authentication mechanisms, including the PLUS variants, RFC 7677 and RFC 5802.
//
// SCRAM-SHA-256 and SCRAM-SHA-1 allow a client to authenticate to a server using a
// password without handing plaintext password over to the server. The client also
// verifies the server knows (a derivative of) the password. Both the client and
// server side are implemented.
// verifies the server knows (a derivative of) the password. The *-PLUS variants
// bind the authentication exchange to the TLS session, preventing MitM attempts.
// Both the client and server side are implemented.
package scram

// todo: test with messages that contains extensions
Expand Down

0 comments on commit 0a77bc5

Please sign in to comment.