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/en/weechat_user.en.adoc | |
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/en/weechat_user.en.adoc')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 1c4d252ed..74b7a2a80 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -2629,7 +2629,7 @@ 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 +$ openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem ---- Get the public key (encoded as base64) with this command: |