GithubHelp home page GithubHelp logo

edgeauth-token-java's Issues

Token validation

Hi Team,

How can I validate a token generated with any algo :sha256,MD..

Thanks

java.lang.UnsupportedClassVersionError: com/akamai/edgeauth/EdgeAuthException : Unsupported major.minor version 52.0:

Documentation is stating that EdgeAuth-Token-Java supports Java 1.6+.
However during testing we got this error when trying to generate the token using edgeauth-0.2.0.jar:
java.lang.UnsupportedClassVersionError: com/akamai/edgeauth/EdgeAuthException : Unsupported major.minor version 52.0:

After some research it appears that the 'major.minor version 52.0' error is possibly because the jar was compiled in JDK 1.8, but we are trying to run it using a JDK 1.7 environment. The reported number is the required number, not the number we are using.

Could you please confirm that Java 1.7 is supported here ? or should we update documentation to indicates that Java 1.8 is required ?

cms-edgeauth.js compatibility with commander 7+

Hi,

The script is not compatible with commander 7+ versions (now it is on v8.0.0 as LTS)
You need to user commander 6.1.0 in order to use cms-edgeauth.js as it writed or add the method opt() to the "program." object to "program.opt()." to retreieve command variables...

var ea = new EdgeAuth({
tokenType: program.opts().token_type,
tokenName: program.opts().token_name,
key: program.opts().key,
algorithm: program.opts().algo,
salt: program.opts().salt,
startTime: program.opts().start_time,
endTime: program.opts().end_time,
windowSeconds: program.opts().window,
fieldDelimiter: program.opts().field_delimiter,
aclDelimiter: program.opts().acl_delimiter,
escapeEarly: program.opts().escape_early,
verbose: program.opts().verbose,
url: program.opts().url,
acl: program.opts().acl,
ip: program.opts().ip,
payload: program.opts().payload,
sessionId: program.opts().session_id
})

var token
if (program.acl) {
token = ea.generateACLToken(program.opts().acl)
} else { // program.url
token = ea.generateURLToken(program.opts().url)
}

CVE found

I am using this library to get AuthToken , but in maven central , I see there is a CVE found . Are there any plans to fix that .
CVE-2020-15250

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.