home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] wget passphrase

2010/3/31 piper.guy1 <piper [ dot ] guy1 [ at ] gmail [ dot ] com>

> I need to use 'wget' to do a secure file download. It works great at
> the command line. Unfortunately wget asks for the PEM passphrase.
> However this will eventually be part of an embedded application so the
> passphrase prompt can't happen.
>
> 1. Can you create PEM's in OpenSSL without a passphrase?
>
Afaik, yes.

> 2. Should i use Curl which seems to provide an option for passphrases.
> 3. Any better suggestions (fairly new to security).
>

How are you going to embed it? Are you going to fork() wget from the parent
app? You can then just open a pipe to wget's stdin/stdou file descriptors
and once you get the passphrase prompt, you can send the actual passphrase
to wget.

Rafael


>
> thanx
> /carl
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux
>

replies

references

message navigation