mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
doc: use XDG config directory in SASL ECDSA-NIST256P-CHALLENGE chapter (user's guide) (issue #1285)
This commit is contained in:
@@ -2967,14 +2967,19 @@ dadurch kein Passwort während des Verbindungsaufbaus benötigt).
|
||||
Ein Schlüssel kann mit folgendem Befehl erzeugt werden:
|
||||
|
||||
----
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
Um den öffentlichen Schlüssel zu erhalten (base64 enkodiert) muss
|
||||
folgender Befehl ausgeführt werden:
|
||||
|
||||
----
|
||||
$ 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
|
||||
----
|
||||
|
||||
Nun Verbindung zum Server herstellen, identifizieren (z.B. mittels "nickserv identify")
|
||||
|
||||
@@ -2913,13 +2913,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
|
||||
|
||||
@@ -3018,13 +3018,17 @@ connexion).
|
||||
Vous pouvez générer la clé avec cette commande :
|
||||
|
||||
----
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de
|
||||
config WeeChat qui peut aussi être par exemple `~/.weechat`.
|
||||
|
||||
Récupérez la clé publique (encodée en base64) avec cette commande :
|
||||
|
||||
----
|
||||
$ 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
|
||||
----
|
||||
|
||||
Connectez-vous au serveur, identifiez vous (par exemple avec
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2980,13 +2980,18 @@ ECDSA-NIST256P-CHALLENGE を使って認証を行うためには、秘密鍵を
|
||||
鍵を作成するには、以下のコマンドを使ってください:
|
||||
|
||||
----
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
公開鍵を (base64 エンコード形式で) 作成するには、以下のコマンドを使ってください:
|
||||
|
||||
----
|
||||
$ 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
|
||||
----
|
||||
|
||||
サーバに接続、本人確認 (例えば "nickserv identify" を使って)、nickserv
|
||||
|
||||
@@ -2939,13 +2939,18 @@ ECDSA-NIST256P-CHALLENGE (hasło nie potrzebne do połączenia).
|
||||
Klucz można wygenerować za pomocą komendy:
|
||||
|
||||
----
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem
|
||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
Klucz publiczny (zakodowany za pomocą base64) uzyskujemy wywołując komendę:
|
||||
|
||||
----
|
||||
$ 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
|
||||
----
|
||||
|
||||
Połącz się do serwera, zidentyfikuj (na przykład za pomocą "nickserv identify")
|
||||
|
||||
Reference in New Issue
Block a user