diff options
calcurse-caldav: Support PasswordCommand option
This commit adds a new `Auth/PasswordCommand` option
to support security best practices re: handling secrets
in CLI program configuration.
Prior to this commit, the two available options
for specifying a password were:
1. via the `Auth/Password` config parameter, or
2. via a `$CALCURSE_CALDAV_PASSWORD` environment variable.
The former is unsafe for obvious reasons;
the latter is unsafe because as long as the script is running,
its environment can be accessed via
$ cat /proc/<pid>/environ
and is thus visible to anyone with access to the system.
This commit preserves preexisting behavior (for backward compatibility)
but removes all mention of option 2 from the README.
Since the README example for option 2 used a password command anyway,
there is little reason to continue its use,
and this commit recommends it be deprecated.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%2525252525253fid%2525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%25252525253fid%25252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%252525253fid%252525253d5394e981d9b5c25211c9c501af99a34af0c46f71&id2%252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%2525253fid%2525253d5394e981d9b5c25211c9c501af99a34af0c46f71&id2%2525253de772c4b6d52627c463e70b4284e3794aa0bd0634%25253fid%25253d5394e981d9b5c25211c9c501af99a34af0c46f71&id2%25253de772c4b6d52627c463e70b4284e3794aa0bd0634%253fid%253d5394e981d9b5c25211c9c501af99a34af0c46f71%3fid%3d5394e981d9b5c25211c9c501af99a34af0c46f71?id=e772c4b6d52627c463e70b4284e3794aa0bd0634')
0 files changed, 0 insertions, 0 deletions