Giter Club home page Giter Club logo

escher-js's Introduction

EscherJS - HTTP request signing lib Build Status

Escher helps you creating secure HTTP requests (for APIs) by signing HTTP(s) requests. It's both a server side and client side implementation. The status is work in progress.

The algorithm is based on Amazon's AWS Signature Version 4, but we have generalized and extended it.

More details are available at our Escher documentation site.

Development

The Test Cases are included as git submodule.

Don't forget to use the git pull --recurse-submodules and the git clone --recurse-submodules to pull and clone the remote repository.

escher-js's People

Contributors

blasiusvonszerencsi avatar boogie avatar drawain avatar dsztanko avatar felin-arch avatar fqqdk avatar gergelyke avatar jcsongor avatar knagy avatar peter-vasarhelyi avatar probalazs avatar sonicoder86 avatar szeist avatar tt1991 avatar valetudox avatar

Stargazers

 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

escher-js's Issues

documentation errors

I was testing escher, using the documentation form here: https://escherauth.io/escher-js.html

The documentation is wrong, because if I add the 'X-Escher-Date' header, it'll be in a wrong format, and the PHP implementation is not accepting it. If I do not add this header, the library generates it in a correct format.
The other error is, that I had to add the 'host' header too, it's not in the example.

No default expiration time for presigning a URL

As documented in the official Escher specification there should be a default of 86400 sec (24 h) for the expiration time when presigning a URL.

Skipping the expiration parameter of the method preSignUrl the URL parameter EMS-Expires is undefined which leads to an 401 - Unauthorized response.

Date is cached in constructor

If I instantiate the class, it stores the current Date. Problem comes when someone tries to sign a request after minutes of the instantiation, will get an expires message from the receiving part.

Roadmap for Typescript rewrite?

escher-js has been pretty idle for a while but emartech's @probalazs submitted PR #18 beginning a typescript rewrite in Dec 2019. The PR hasn't been merged yet (March 2020) but the idea is pretty exciting. Any guidance on whether this is an active effort would be very helpful.

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.