summaryrefslogtreecommitdiff
path: root/doc/it/includes/autogen_user_commands.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-02-06 16:07:14 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-02-06 16:07:14 +0100
commitf1c681c832b85178ad6242fd8b16f762510bdddd (patch)
tree2c08c3669fe235be1bb105962e6d6b905349eec1 /doc/it/includes/autogen_user_commands.it.adoc
parentfe9ec8fbda222492679762709733bd8f164455c7 (diff)
downloadweechat-f1c681c832b85178ad6242fd8b16f762510bdddd.zip
core: replace option sec.crypt.passphrase_file by sec.crypt.passphrase_command (closes #141)
The command is used to read the passphrase on startup, for example using your favorite password manager. Note: only the passphrase is read from the program, the secured data is still stored encrypted in sec.conf and handled by WeeChat itself.
Diffstat (limited to 'doc/it/includes/autogen_user_commands.it.adoc')
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index 96a42df00..d417e0653 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -1873,7 +1873,7 @@ Keys on secure buffer:
alt+v toggle values
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
-It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_file to read the passphrase from a file (see /help sec.crypt.passphrase_file).
+It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_command to read the passphrase from the output of an external command like a password manager (see /help sec.crypt.passphrase_command).
Secured data with format ${sec.data.xxx} can be used in:
- command /eval
@@ -1884,6 +1884,8 @@ Secured data with format ${sec.data.xxx} can be used in:
Examples:
set a passphrase:
/secure passphrase this is my passphrase
+ use program "pass" to read the passphrase on startup:
+ /set sec.crypt.passphrase_command "pass show weechat/passphrase"
encrypt freenode SASL password:
/secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}"