Comments (9)
Another option is to just change the ConvertToUnixTimestamp
method to return TotalMilliseconds
but it would keep all the aritmetic operations.
from hawknet.
I seems to have encountered the same issue, but only when using dflydev-hawk to talk to hawknet, but not from hawknet to hawknet. Just thought I'd ask in case this is indeed a confirmed issue.
from hawknet.
hawknet makes is coherent (despite wrong) when generating and verifying the bewit. That's why you may not notice the behavior when using only hawknet.
from hawknet.
Thanks for the explanation! Would it be sensible for me to create a fork version with the fix and base our solution off that? Or have you encounter other solutions?
from hawknet.
I made the fix locally because I had to make this work quickly. I think you could do it and submit a pull request to pcibraro.
from hawknet.
I am very sorry guys. I have been out for the last few days and I somehow missed this thread. Luis, feel free to send me a pull request with the fix and I will push it in the repository as soon as possible. Thanks
from hawknet.
Thanks @luisgoncalves and @pcibraro!
from hawknet.
Would this latest change be pushed into NuGet?
from hawknet.
It has been pushed today. Version 1.3.1.0. Thanks
from hawknet.
Related Issues (20)
- normalized string formatting in CalculateMac()
- Timing oracle that is likely exploitable to forge MACs
- HttpRequestMessageExtensionsTests.cs appears to be missing from HawkNet.WebApi.Tests.csproj HOT 1
- Post Not Returning Response
- Owin hosting non standard port and bad mac HOT 11
- Query string encoding bug HOT 2
- I download the simple,and run Example project,First client request and response "Bad mac" HOT 1
- uri.PathAndQuery.ToLower() is not working and return "Bad mac" HOT 1
- Not working with attribute routing HOT 5
- Problems validating bewit when url contains spaces encoded as %20 HOT 4
- Consider separating the Hawk implementation from the Web API plumbing HOT 2
- Exception: The format of value '<null>' is invalid
- About HawkNet on Asp.Net Core 2.0 HOT 2
- standard mismatch: ext-parameter shall be placed before mac-parameter
- httprequest depreciation - Later ASP.Net Core versions and httpclient
- AllowAnonymous doesn't work HOT 3
- timestampskew issue
- utf8 encoding vs ascii HOT 1
- payload hash formatting missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hawknet.