Re: [WebDNA] HMAC-SHA1 Encryption

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110295
interpreted = N
texte = --Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Chris I tried some experiments, based on some google research. echo -n "AmazonS3ListAllMyBuckets2013-03-31T06:48:36.000Z" | openssl = dgst -sha1 -hmac "fexz1rt1sV3SXRGHAGu6w2vXC7z/kEgfRD3TdSI/" Result is: (stdin)=3D 23e79d1a4f1eded66934c45dd1c3a0677df22cf5 but it is incorrect. This is the correct result: I+edGk8e3tZpNMRd0cOgZ33yLPU=3D Which I got from here: http://hash.online-convert.com/sha1-generator I can't work out how to get the shorter result with the =3D on the end Stuart On 31/03/2013, at 5:40 PM, christophe.billiottet@webdna.us wrote: > Hi Stuart! try [shell]echo -n 'myString' | openssl sha1[/shell] >=20 > - chris >=20 >=20 > On Mar 31, 2013, at 9:11, Stuart Tremain wrote: >=20 >> On a Ubuntu 12.04 server if it makes a difference. >>=20 >>=20 >> On 31/03/2013, at 5:05 PM, Stuart Tremain wrote: >>=20 >>> For Amazon I need to create a signature which is HMAC-SHA1 = encryption with a seed of a test string. >>>=20 >>> How can I do this with WebDNA ? >>>=20 >>>=20 >>>=20 >>> Regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Chris

I tried some experiments, based on some = google research.

echo -n = "AmazonS3ListAllMyBuckets2013-03-31T06:48:36.000Z" | openssl dgst -sha1 = -hmac = "fexz1rt1sV3SXRGHAGu6w2vXC7z/kEgfRD3TdSI/"

Result= is:
(stdin)=3D = 23e79d1a4f1eded66934c45dd1c3a0677df22cf5
but it is = incorrect.

This is the correct = result:
I+edGk8e3tZpNMRd0cOgZ33yLPU=3D

=
Which I got from here:


I can't work out = how to get the shorter result with the =3D on the = end

Stuart



On 31/03/2013, at 5:40 PM, christophe.billiottet@webd= na.us wrote:

Hi Stuart! try [shell]echo -n 'myString' | openssl = sha1[/shell]

- chris


On Mar 31, 2013, at 9:11, Stuart = Tremain <webdna@idfk.com.au> = wrote:

On a Ubuntu 12.04 server if it = makes a difference.


On 31/03/2013, at 5:05 PM, Stuart Tremain = <webdna@idfk.com.au> = wrote:

For Amazon I need to create a = signature which is HMAC-SHA1 encryption with a seed of a test = string.

How can I do this with WebDNA = ?



Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA
webdna@idfk.com.au



<= br>---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To unsubscribe, E-mail to: = <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: = support@webdna.us

------------------------------------= ---------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us

= --Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] HMAC-SHA1 Encryption (Tom Duke 2013)
  2. Re: [WebDNA] HMAC-SHA1 Encryption (Donovan Brooke 2013)
  3. Re: [WebDNA] HMAC-SHA1 Encryption (Tom Duke 2013)
  4. Re: [WebDNA] HMAC-SHA1 Encryption (Stuart Tremain 2013)
  5. Re: [WebDNA] HMAC-SHA1 Encryption (Stuart Tremain 2013)
  6. Re: [WebDNA] HMAC-SHA1 Encryption (christophe.billiottet@webdna.us 2013)
  7. Re: [WebDNA] HMAC-SHA1 Encryption (Stuart Tremain 2013)
  8. Re: [WebDNA] HMAC-SHA1 Encryption (christophe.billiottet@webdna.us 2013)
  9. Re: [WebDNA] HMAC-SHA1 Encryption (Stuart Tremain 2013)
  10. [WebDNA] HMAC-SHA1 Encryption (Stuart Tremain 2013)
--Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Chris I tried some experiments, based on some google research. echo -n "AmazonS3ListAllMyBuckets2013-03-31T06:48:36.000Z" | openssl = dgst -sha1 -hmac "fexz1rt1sV3SXRGHAGu6w2vXC7z/kEgfRD3TdSI/" Result is: (stdin)=3D 23e79d1a4f1eded66934c45dd1c3a0677df22cf5 but it is incorrect. This is the correct result: I+edGk8e3tZpNMRd0cOgZ33yLPU=3D Which I got from here: http://hash.online-convert.com/sha1-generator I can't work out how to get the shorter result with the =3D on the end Stuart On 31/03/2013, at 5:40 PM, christophe.billiottet@webdna.us wrote: > Hi Stuart! try [shell]echo -n 'myString' | openssl sha1[/shell] >=20 > - chris >=20 >=20 > On Mar 31, 2013, at 9:11, Stuart Tremain wrote: >=20 >> On a Ubuntu 12.04 server if it makes a difference. >>=20 >>=20 >> On 31/03/2013, at 5:05 PM, Stuart Tremain wrote: >>=20 >>> For Amazon I need to create a signature which is HMAC-SHA1 = encryption with a seed of a test string. >>>=20 >>> How can I do this with WebDNA ? >>>=20 >>>=20 >>>=20 >>> Regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Chris

I tried some experiments, based on some = google research.

echo -n = "AmazonS3ListAllMyBuckets2013-03-31T06:48:36.000Z" | openssl dgst -sha1 = -hmac = "fexz1rt1sV3SXRGHAGu6w2vXC7z/kEgfRD3TdSI/"

Result= is:
(stdin)=3D = 23e79d1a4f1eded66934c45dd1c3a0677df22cf5
but it is = incorrect.

This is the correct = result:
I+edGk8e3tZpNMRd0cOgZ33yLPU=3D

=
Which I got from here:


I can't work out = how to get the shorter result with the =3D on the = end

Stuart



On 31/03/2013, at 5:40 PM, christophe.billiottet@webd= na.us wrote:

Hi Stuart! try [shell]echo -n 'myString' | openssl = sha1[/shell]

- chris


On Mar 31, 2013, at 9:11, Stuart = Tremain <webdna@idfk.com.au> = wrote:

On a Ubuntu 12.04 server if it = makes a difference.


On 31/03/2013, at 5:05 PM, Stuart Tremain = <webdna@idfk.com.au> = wrote:

For Amazon I need to create a = signature which is HMAC-SHA1 encryption with a seed of a test = string.

How can I do this with WebDNA = ?



Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA
webdna@idfk.com.au



<= br>---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To unsubscribe, E-mail to: = <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: = support@webdna.us

------------------------------------= ---------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us

= --Apple-Mail=_EDB642A7-5799-4F20-9653-087D43E25C7D-- Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b13MacPlugIn - [include] (1997) Many are called but only 6 make it to founditems. (2001) Building Calendars (1997) RE: Problems reading files created by WC (1997) completed orders database (1997) Running WebCat from a CD-ROM (1997) Quick Question About Sorting (1997) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) [protect] on NT? (1997) anyone know how to restart dbserver on NT automatically (1999) listword db bolding {correction} (2002) So what ya working on? (or have you completed?) (2004) WCS Newbie question (1997) Mac 2.1b2 speed (1997) Converting characters to numbers ... (1997) Multiple edits/replacementsd to db. Possible? (1997) AD Error Msg (1997) [OT] Java Servlet Q (2002) Secure Sever and showcart errors (1997) Digest for 4/18/97 (1997)