Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tab_joinpart and SASL external to default config #412

Merged
merged 2 commits into from
Aug 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions crates/tiny/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ servers:
#
# - `pass`: Sends `PASS` IRC command when connecting.
# - `sasl`: For SASL authentication.
# You can either authenticate using a password or use a certificate
# with SASL EXTERNAL. Choose either `username` and `password`
# _or_ `pem`.
# - `nickserv_ident`: Sends command `PRIVMSG NickServ identify ...` after
# connecting, before joining channels.
#
Expand All @@ -40,6 +43,7 @@ servers:
# sasl:
# username: tiny_user
# password: hunter2
# pem: "/home/user/.config/tiny/oftc.pem"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also clarify somewhere (maybe right above the sasl: line) that you either need pem or username + password? Currently it looks like you need all of them if you want to use SASL authentication.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to make this clear with Choose only one of the options below. in the general sasl description at the top. But maybe I should rephrase somehow..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose only one of the options below. -> Choose either username and password or pem in the section below.


# nickserv_ident: hunter2

Expand Down Expand Up @@ -164,6 +168,10 @@ colors:
bg: default
attrs: [bold]

tab_joinpart:
fg: 11
bg: default

# Custom key mappings. Syntax is:
#
# [key_name]: [key_action]
Expand Down
Loading