Re: sign oauth request

2014-09-25 Thread szabo bogdan via Digitalmars-d-learn
On Thursday, 25 September 2014 at 17:09:40 UTC, Adam D. Ruppe wrote: On Thursday, 25 September 2014 at 17:03:43 UTC, John Chapman wrote: http://dlang.org/phobos/std_digest_sha.html#SHA1 Not quite the same, the oauth requires hmac. When I did this in my oauth.d for twitter and stuff, I used th

Re: sign oauth request

2014-09-25 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 25 September 2014 at 17:03:43 UTC, John Chapman wrote: http://dlang.org/phobos/std_digest_sha.html#SHA1 Not quite the same, the oauth requires hmac. When I did this in my oauth.d for twitter and stuff, I used the C library "mhash" check out my code: https://github.com/adamdrup

Re: sign oauth request

2014-09-25 Thread John Chapman via Digitalmars-d-learn
there is no HMAC-SHA1 algorithm in phobos library... should I implement it from scratch? http://dlang.org/phobos/std_digest_sha.html#SHA1

Re: sign oauth request

2014-09-25 Thread szabo bogdan via Digitalmars-d-learn
which lib do you recommand? On Thursday, 25 September 2014 at 16:19:41 UTC, H. S. Teoh via Digitalmars-d-learn wrote: On Thu, Sep 25, 2014 at 03:57:36PM +, szabo bogdan via Digitalmars-d-learn wrote: Hi, How I can sign a request for flickrl oauth api? https://www.flickr.com/services/api/

Re: sign oauth request

2014-09-25 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Sep 25, 2014 at 03:57:36PM +, szabo bogdan via Digitalmars-d-learn wrote: > Hi, > > How I can sign a request for flickrl oauth api? > https://www.flickr.com/services/api/auth.oauth.html#request_token > > there is no HMAC-SHA1 algorithm in phobos library... should I implement it > fro

sign oauth request

2014-09-25 Thread szabo bogdan via Digitalmars-d-learn
Hi, How I can sign a request for flickrl oauth api? https://www.flickr.com/services/api/auth.oauth.html#request_token there is no HMAC-SHA1 algorithm in phobos library... should I implement it from scratch? Thanks, Bogdan