Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No check of jar signing #1

Open
PhantomYdn opened this issue Feb 23, 2015 · 3 comments
Open

No check of jar signing #1

PhantomYdn opened this issue Feb 23, 2015 · 3 comments

Comments

@PhantomYdn
Copy link

It will be cool if framework can:

  1. Check validity of a license (already done)
  2. Check validity of a particular jar by comparison of signature of a jar (from which API was invoked) and a license

Right now it's pretty easy to hack application which use this library...

@decebals
Copy link
Owner

  1. Check validity of a particular jar by comparison of signature of a jar (from which API was invoked) and a license

I need more details. For example I have an application abc that uses this license library. One idea is to create in license template a new property abc.signature=<md5> where md5 is the signature of a jar (from which API was invoked). Make sense?

@PhantomYdn
Copy link
Author

Not exactly. There is application with several JARs within it. In every jar there are several invocations for a checking validity of a license. And during every call it will cool to make mentioned calls to prevent any possibility to hack an application:

  1. Check license
  2. Check that jar from which we have invocation is signed as well be the same key as an license.

I'm asking because I've already did that on my previous project. Without such checking it's comparably easy to hack an application by decompling, removing checks for a license and then packing back. And more over: if library for license checking is not selfsigned - it's sufficient to hack just this particular library.

@decebals decebals self-assigned this Mar 29, 2016
@decebals decebals removed their assignment Jan 23, 2018
@decebals
Copy link
Owner

Maybe someone propose a solution for this feature, via PR.

@github-staff github-staff deleted a comment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants