curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Disable password prompts

From: Daniel Stenberg <daniel_at_haxx.se>
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...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-05