diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-08 08:11:28 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:07:11 +0200 |
commit | 49844a71f0cca3ec36597725f9d14ddf514b88b0 (patch) | |
tree | 2813e8ea53b5bad8b37a6ba061ef146c77258c23 /doc/it | |
parent | 5210d501d4052ea55138539efb1f23885376ae05 (diff) | |
download | weechat-49844a71f0cca3ec36597725f9d14ddf514b88b0.zip |
doc: use XDG config directory in SASL ECDSA-NIST256P-CHALLENGE chapter (user's guide) (issue #1285)
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/weechat_user.it.adoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 18bab8caf..c84ab8f7e 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -3141,13 +3141,17 @@ ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection). You can generate the key with this command: ---- -$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem +$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem ---- +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + 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 +$ openssl ec -noout -text -conv_form compressed -in ~/.config/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 |