curl / Mailing Lists / curl-library / Single Mail


Re: Disable password prompts

From: Daniel Stenberg <>
Date: Mon, 5 Mar 2018 00:19:12 +0100 (CET)

On Sun, 25 Feb 2018, Christoph Reg wrote:

> When using a client cert with a passphrase, and the phrase is not set, by
> default curl prompts for the password on stdin.
> Is there an option to disable this behaviour and produce an error instead?

Can't you just set a fixed password when none is provided? The likelyness that
you'd pick one that would actually work by chance should be fairly low...

Received on 2018-03-05