Coder Social home page Coder Social logo

ectoken's People

Contributors

abhishektripathi avatar airencracken avatar cortesoft avatar dshiell15 avatar hattan avatar iamsunny avatar jcline avatar nikanderson avatar r4wm avatar richard-tunein avatar thehelix112 avatar tinselcity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ectoken's Issues

Slightly off results in .net core

The .net core version works nicely, execept it doenst generate EXACTLY the same tokens as the online tool does when using Azure CDN. I wonder of it might be to do with the order of the parameters that get encoded?

Binaries not found

The binaries are not available in the Releases Tab. Please include the binaries and/or the instructions to build.

Is a NodeJS version planned?

Flawed Encryption Logic

The encryption logic is not idempotent. We found that even if the encrypted value is manipulated, we get the same decrypted value from the SDK and also on the Azure CDN Profile Management portal. I used your class https://github.com/VerizonDigital/ectoken/blob/master/c%23-ectoken/ecencryptstdlib/ECTokenGenerator.cs to do some analysis and found following -

Key
si9sK_jvSALTrlXIVMI4CgIGuu1MJeHXH0B3HxuRP48N5ZYwSa

Phrase
&ec_expire=1000000000

Encrypted Value
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2Q

Mutation of Encrypted Values giving same phrase back on decryption
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2R
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2S
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2T
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2U
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2V
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2W
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2X
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2Y
MvBF32ldv2tDtT1QpggWPqENfoxZYmz_ijChwt6O1xenQfoTenOiTuzvVuiUJT2J2Z

Elixir Support

I'd like to develop Elixir support to encrypt / decrypt tokens for Azure CDN / Verizon Premium.
I saw other languages, but it's not clear what is need to correct generate and verify V3 tokens.
I'v created primary and backup keys with openssl rand, and it's working with Azure Portal (https://cdn.windowsazure.com/http/token/default.aspx).
Is there a documentation or general ideia to help us convert to elixir community?

Go Support

Request to add golang support for token generation/decryption.

License Inconsistencies...

In the root folder there is a Apache License defined, but in the source code of the token generation we found this part in the source files:

"Use of source and binary forms, with or without modification is permitted provided that there is written consent by EdgeCast Networks, Inc. Redistribution in source and binary forms is not permitted."

This basically requires every Azure CDN customer who wants to use the token authentication to get a written consent by EdgeCast Networks. Also the second part forces each customer to adapt the code to use it in production instead of making use of an open source contribution to ease the process f.e. by using an extended library provided as nugget package from open source contributors.

Could you please clarify on that?

Thnx
Andreas

PHP implementation requires a PHP extension

Implementation of ectoken in PHP applications is hindered in environments that don't allow the installation of custom PHP extensions.

I am developing a native PHP implementation that will have similar platform requirements as the existing php-ectoken implementation (PHP 5.4+ or PHP 7.x+, with or without openssl or mbstring modules) but which will not require a PHP extension.

A PR will be forthcoming. (from my other Github account. Whoops!)

NodeJS support

We are planning on integrating EdgeCast into our backend system which is written in NodeJS. Would you be open to a Pull Request with a NodeJS implementation of ectoken?

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.