mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Sync
- Default TLS cipher selection, with override (thanks to Zed Jorarard). - Updated documentation.
This commit is contained in:
parent
c6032d99f9
commit
0df30a5be0
9 changed files with 31 additions and 3 deletions
|
@ -238,6 +238,10 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
<< context.config.get ("taskd.key")
|
||||
<< "\n";
|
||||
|
||||
out << " Ciphers: "
|
||||
<< context.config.get ("taskd.ciphers")
|
||||
<< "\n";
|
||||
|
||||
// Get credentials, but mask out the key.
|
||||
std::string credentials = context.config.get ("taskd.credentials");
|
||||
std::string::size_type last_slash = credentials.rfind ('/');
|
||||
|
|
|
@ -191,6 +191,7 @@ int CmdShow::execute (std::string& output)
|
|||
" taskd.server"
|
||||
" taskd.ca"
|
||||
" taskd.certificate"
|
||||
" taskd.ciphers"
|
||||
" taskd.credentials"
|
||||
" taskd.key"
|
||||
" taskd.trust"
|
||||
|
|
|
@ -345,6 +345,7 @@ bool CmdSync::send (
|
|||
client.debug (context.config.getInteger ("debug.tls"));
|
||||
|
||||
client.trust (trust);
|
||||
client.ciphers (context.config.get ("taskd.ciphers"));
|
||||
client.init (ca, certificate, key);
|
||||
client.connect (server, port);
|
||||
client.send (request.serialize () + "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue