diff options
author | W. Trevor King <wking@tremily.us> | 2018-03-19 15:49:25 -0700 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2018-03-19 15:55:34 -0700 |
commit | 5d91765da75d6485ef64df3b9b288e71c471835b (patch) | |
tree | 9311063947165deeefb901cae05d8046cbd9e039 /doc/fr | |
parent | 5f2ed55c97046e2312a1417bcb9fdbdd3e960bb1 (diff) | |
download | weechat-5d91765da75d6485ef64df3b9b288e71c471835b.zip |
doc: use '-out' instead of shell redirection for openssl ecparam
Generated with:
$ sed -i 's|openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem|openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem|' $(git grep -l 'openssl ecparam')
There's no reason to involve shell redirection, which we've had since
88073243 (doc: add instructions for SASL "ecdsa-nist256p-challenge",
2015-01-21). We already use -in or -out for our other openssl
invocations, as shown by:
$ git grep 'openssl.*\(<\|>\|-in\|-out\)'
Diffstat (limited to 'doc/fr')
-rw-r--r-- | doc/fr/weechat_user.fr.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 51e63fabe..9a07c420c 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -2721,7 +2721,7 @@ connexion). Vous pouvez générer la clé avec cette commande : ---- -$ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem +$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem ---- Récupérez la clé publique (encodée en base64) avec cette commande : |