[aerogear-dev] Hawk / iOS: The MAC in the request does not match the server-calculated MAC

Matthias Wessendorf matzew at apache.org
Fri Jul 19 02:11:34 EDT 2013


On Thu, Jul 18, 2013 at 9:29 PM, Bruno Oliveira <bruno at abstractj.org> wrote:

> Hi Matthias, I'll look at this.
>

Thanks! That would be sweet!
BTW. I just created this JIRA to track this "feature", for the future:
https://issues.jboss.org/browse/AGSEC-88
https://issues.jboss.org/browse/AGIOS-45


>
> Might be something with the algorithm provided.
>

That was my limited guess as well :-)

-Matthias


>
> Matthias Wessendorf wrote:
> > Hi,
> >
> > a little test, playing with the AG-Controller-Demo and the enabled Hawk
> bit.
> >
> > HEre is a SIMPLE :-) iOS library project, that uses the Hawk_iOS bits:
> >
> > https://github.com/matzew/Tony
> >
> >
> > when riunning the tests, I am getting this error resonse from the
> > Controller demo:
> >
> >
> > *The MAC in the request does not match the server-calculated MAC*
> >
> >
> > Perhaps there is a bug in that client library I used? Or even in my
> > little simple/ugly "test library project"
> >
> > A second look would be appreciated :)
> >
> > Thanks!
> >
> > -Matthias
> >
> > PS @Bruno: btw. the timestamp is solved. the HawkClient has a util
> > function for that.
> >
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > twitter: http://twitter.com/mwessendorf
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
> --
> abstractj
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130719/bdfae865/attachment.html 


More information about the aerogear-dev mailing list