freenode configuration sasl authentication in weechat
转自:https://www.weechat.org/files/doc/stable/weechat_user.en.html#irc_sasl_authentication
SASL authentication
WeeChat supports SASL authentication, using different mechanisms:
plain: plain text password (default)
ecdsa-nist256p-challenge: challenge with public/private key
external: client side SSL cert
dh-blowfish: blowfish encrypted password (insecure, not recommended)
dh-aes: AES encrypted password (insecure, not recommended)
| The "gcrypt" library is required when compiling WeeChat in order to use "dh-blowfish" and "dh-aes" mechanisms (see dependencies). | 
Options in servers are:
sasl_mechanism: mechanism to use (see above)
sasl_timeout: timeout (in seconds) for authentication
sasl_fail: action to perform if authentication fails
sasl_username: username (nick)
sasl_password: password
sasl_key: file with ECC private key (for mechanism ecdsa-nist256p-challenge)
SASL ECDSA-NIST256P-CHALLENGE
You must generate a private key in order to authentify with the ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection).
You can generate the key with this command:
$ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem
Get the public key (encoded as base64) with this command:
$ openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
Connect to the server, identify (for example with "nickserv identify") and set your public key in your account, using nickserv (replace the base64 value with your public key):
/connect freenode
/msg nickserv identify your_password
/msg nickserv set pubkey Av8k1FOGetUDq7sPMBfufSIZ5c2I/QYWgiwHtNXkVe/q
Configure the SASL options in the server:
/set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge
/set irc.server.freenode.sasl_username "your_nickname"
/set irc.server.freenode.sasl_key "%h/ecdsa.pem"
Reconnect to the server:
/reconnect freenode
freenode configuration sasl authentication in weechat的更多相关文章
- mongodb 使用mongodump备份 指定用户名密码 出现错误  Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed
		
mongodb 使用mongodump备份 指定用户名密码 出现错误 [root@MongoDB ~]# mongodump --host -u admin -p -d db1 -o /root/ F ...
 - kafka Authentication using SASL/Kerberos
		
Authentication using SASL/Kerberos Prerequisites KerberosIf your organization is already using a Ker ...
 - Authentication using SASL/Kerberos
		
Prerequisites KerberosIf your organization is already using a Kerberos server (for example, by using ...
 - Spark 官方文档(4)——Configuration配置
		
Spark可以通过三种方式配置系统: 通过SparkConf对象, 或者Java系统属性配置Spark的应用参数 通过每个节点上的conf/spark-env.sh脚本为每台机器配置环境变量 通过lo ...
 - Exception in thread "main" org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication failure is thrown while creating kafka topic
		
Exception in thread "main" org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentica ...
 - [官方摘要]Setup And Configuration memcached with Tomcat
		
原文地址:https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration SetupAndConfigur ...
 - Spark Configuration配置
		
Spark可以通过三种方式配置系统: 通过SparkConf对象, 或者Java系统属性配置Spark的应用参数 通过每个节点上的conf/spark-env.sh脚本为每台机器配置环境变量 通过lo ...
 - JAAS configuration for Kafka clients
		
Clients may configure JAAS using the client configuration property sasl.jaas.config or using the sta ...
 - XEP-0078:非SASL认证
		
XEP-0078:非SASL认证 抽象: 这个文件规定了使用Jabber的Jabber的服务器和服务认证的协议:智商:AUTH命名空间.注意哦:本文规定的协议,取而代之的SASL认证的被取代,如RFC ...
 
随机推荐
- C++实现--最大公因数和最小公倍数
			
一丶 最大公因数求法: 辗转相除法(也称欧几里得算法)原理: 二丶最小公倍数求法:两个整数的最小公倍数等于两整数之积除以最大公约数 C++ 代码实现 #include <iostream ...
 - spring的webutils包。适用于访问httpservletrequest和httpservletresponse
			
WebUtils位 于 org.springframework.web.util 包中的 WebUtils 是一个非常好用的工具类,它对很多 Servlet API 提供了易用的代理方法,降低了访问 ...
 - fetch的总结
			
&& ) { && ) { }); });
 - 003.MySQL高可用主从复制新增slave
			
一 基础环境 主机名 系统版本 MySQL版本 主机IP master CentOS 6.8 MySQL 5.6 172.24.8.10 slave01 CentOS 6.8 MySQL 5.6 17 ...
 - webpack+vue+es6+postcss
			
本篇文章仿照vue-cli生成的项目结构,自己重新搭建目录,写一个小demo进一步巩固单文件组件的知识,并且学习中间件.一.要解决的问题1.如果把webpack.config.js放进build文件夹 ...
 - UVA 277 Puzzle
			
题意:输入5x5的字符串,输入操作,要求输出完成操作后的字符串. 注意:①输入的操作执行可能会越界,如果越界则按题目要求输出不能完成的语句. ②除了最后一次的输出外,其他输出均要在后面空一行. ③操作 ...
 - JS运算符问题
			
以下代码是否报错,如果不报错输出什么,为什么 var x = !!"Hello" + (!"world", !!"from here!!") ...
 - CRM项目(一)
			
知识点: 1. 类可以当做字典的key 2. django中的model所在app名称.以及小写类名. 上述两点可以由以下代码实现: def index(request): # print(m1.Us ...
 - [CF1039D]You Are Given a Tree
			
[CF1039D]You Are Given a Tree 题目大意: 给定一棵\(n(n\le10^5)\)个节点的树.对于每一个正整数\(k(1\le k\le n)\),求最多能找出多少条包含\ ...
 - CY7C68013 USB接口相机开发记录 - 第一天:资料下载
			
一直觉得从头开发一套东西出来会极大的提升自己的自信心,能够最大化的开发自己的潜能.所以在犹豫很久之后决定学习下CY7C68013 USB接口相机的开发. 通过在网上查找多份资料后,觉得工欲善其事必先利 ...