akami icon indicating copy to clipboard operation
akami copied to clipboard

Signatures using SHA256

Open jim0020 opened this issue 8 years ago • 1 comments

I don't see support for doing signatures using SHA256. Any plans for this?

jim0020 avatar Aug 13 '16 16:08 jim0020

I have created a gist, you can require: https://gist.github.com/ciihla/54a3c335578235bab35f5ed01a541d3f

Simply then call:

require 'akami_patch'
Akami::WSSE::Signature.new(Akami::WSSE::Certs.new(
            :cert_file  => Ruby::EET.config.ssl_cert_file,
            :private_key_file     => Ruby::EET.config.ssl_cert_key_file,
            :private_key_password => Ruby::EET.config.ssl_cert_key_password),
   digest: 'sha256')

ciihla avatar Dec 19 '16 09:12 ciihla