in reply to Extract digital signature from HTTPS response
The closest you can get is to verify the hostname and certificate by using the ssl_opts option. Once you have saved the file to disk, there is no way to assure its integrity.
You could sign the file from your program, maybe using gpg, while writing it, but nothing prevents somebody with access to the machine/account to sign other files as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extract digital signature from HTTPS response
by stringZ (Acolyte) on Feb 25, 2013 at 08:19 UTC | |
by Corion (Patriarch) on Feb 25, 2013 at 08:21 UTC |