RE: signature php

2013-12-12 Thread Santhosh Edukulla
destring(hmac.new( self.securityKey, hashStr, hashlib.sha1).digest()).strip() Let me know. Thanks! Santhosh From: Salar Darwish [[email protected]] Sent: Thursday, December 12, 2013 2:18 PM To: [email protected] Subject: Re: signature php Thank you. I have alr

Re: signature php

2013-12-12 Thread Ian Service
Hey Salar, The keys need to be in alphabetical order for you to calculate the correct signature, (which you have in your example: [apiKey, command, response] but you don't have a function to handle it) apiKey has an upper case K in my code, maybe that's it? - Ian On Thu, Dec 12, 2013 at 2:18 P

Re: signature php

2013-12-12 Thread Salar Darwish
Thank you. I have already checked the cloudstack php client but still can not find the problem with my script. 2013/12/12 sebgoa > > On Dec 12, 2013, at 10:14 AM, Salar Darwish > wrote: > > > Hello, > > > > I am very new with cloudstack and trying to generate a signature to > reqeust > > some

Re: signature php

2013-12-12 Thread sebgoa
On Dec 12, 2013, at 10:14 AM, Salar Darwish wrote: > Hello, > > I am very new with cloudstack and trying to generate a signature to reqeust > some simpel api's with php. I use the following script but still get the you might want to check this one out: https://github.com/qpleple/cloudstack-ph

signature php

2013-12-12 Thread Salar Darwish
Hello, I am very new with cloudstack and trying to generate a signature to reqeust some simpel api's with php. I use the following script but still get the error: unable to verify user credentials and/or request signature Can some one help me what is the mistake here. Thank you in advance $apik