[cmake-developers] Downloading file from S3 private bucket
Ruslan Baratov
ruslan_baratov at yahoo.com
Tue Sep 13 09:28:21 EDT 2016
On 13-Sep-16 15:58, Brad King wrote:
> On 09/13/2016 07:42 AM, Ruslan Baratov via cmake-developers wrote:
>> Will it be okay if CMake will optionally depend on OpenSSL?
>> Or other third party crypto library?
> Currently the only place that needs it is through `curl`, and
> that uses either OpenSSL or the Windows-native or macOS-native
> APIs for TLS.
So your suggestion is to extend 'file' command? Like
`file(DOWNLOAD|UPLOAD <url> <out> S3_KEY <key> S3_SECRET <secret>)`?
> It looks like curl does support HMAC.
>
I don't know, will take a look. We need this functionality:
echo -n "${stringToSign}" | openssl sha1 -hmac "${secret}" -binary |
base64
Ruslo
More information about the cmake-developers
mailing list