Comments (4)
I've upgraded to latest JDK8 and the result is remaining the same.
I am striving for results of running project I attached on your end.
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_382-b05)
OpenJDK 64-Bit Server VM (Temurin)(build 25.382-b05, mixed mode)
As you requested for completeness I am sharing versions of Maven I've used for testing:
- Apache Maven 3.5.3 (with which I was originally testing)
- Apache Maven 3.6.3
- Apache Maven 3.9.4 (which is the latest)
I did the tests, even though it makes no difference as exactly same result I am able to get with purely running the file with JAVA (even during the support call).
from oauth1-signer-java.
I have even done more testing. I've checked results of your hashing algorithm method in all publicly available versions of oauth1-signer and results are the same across all of them! This looks more like an issue coming from using proprietary Sun classes in your code, on your server hosting Sandbox. I am really curious about results from running my small application on your servers, using same version of JDK as used for hosting Sandbox.
Details of testing described:
{'1.5.2': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.5.1': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.5.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.4.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.3.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.2.4': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0=']'1.2.3': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.2.2': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.2.1': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0=']}
For lower versions your method is lacking 3rd parameter, i.e. you don't expect giving hashing algorithm, but anyway same results are also coming from these:
{'1.2.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.1.1': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.1.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0='], '1.0.0': ['89jfVv9wBxgaBZ0CV8b9XNd7yRtw+IOVub7OEedTVx0=']}
from oauth1-signer-java.
@bsz-fis Thanks for creating this issue! Giving the complexity of replicating the issue, it's going to be difficult for us to provide a fix that will satisfy all OS use cases. We would be happy to take a look at a PR if you had an idea of how to remediate the issue you're facing without impacting other users.
from oauth1-signer-java.
Closing for now, as mentioned above, please feel free to create a PR addressing this issue and we'll be happy to take a look.
from oauth1-signer-java.
Related Issues (15)
- OkHttpSigner throws a NullPointerException when trying to sign GET HTTP requests HOT 2
- A wrong signature base string is generated when the provided URI contains non-encoded characters
- The JAR throws "no such provider: SunJSSE" in IBM Websphere Runtime environment HOT 1
- Wrong base URI string is calculated when the provided URI contains url-encoded characters HOT 4
- Support for OAuth 2.0 protocol HOT 2
- Incorrect Parameter-Encoding in Authorization-String HOT 4
- [REQ] Split OAuth.java internals to not depend on Java PrivateKey interface (or by default software keys) HOT 3
- Update to Java7 HOT 4
- [REQ] Feature Request Description HOT 1
- [BUG] Oauth Body Hash generated is not matching when the payload has a forward slash HOT 2
- [REQ] Accept a payload of type byte[] in OAuth.getAuthorizationHeader() HOT 2
- OpenFeignSigner NPE HOT 1
- A "Body hash parameter missing" error can be raised for POST requests with empty body
- The 32-char length OAuth nonces are rejected by some services
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 oauth1-signer-java.