Giter VIP home page Giter VIP logo

Comments (4)

titanous avatar titanous commented on September 10, 2024

The id in the Authorization header is the MAC key identifier, which happens to be the same as the follower id in the HTTP response. The mac_algorithm probably won't end up in that response as it only needs to be transmitted to the following server once.

from tent.io.

RubenVerborgh avatar RubenVerborgh commented on September 10, 2024

Please don't close this one too soon ;-)

I don't see why you should couple both ids then, since the draft spec says the MAC key identifier is "[a] string identifying the MAC key used to calculate the request MAC. The string is usually opaque to the client."
That makes it a triple redundancy:

  1. it's part of the URI
  2. it's part of the HTTP headers
  3. it's part of the HTTP body
    This tight coupling is unnecessary.

I was talking about the mac_algorithm being in the request (not response). It doesn't belong there: it's part of the protocol, not of the resource.

Please consider reopening this issue and removing these fields from the body: they introduce unnecessary coupling, which can't be good in the long term.

from tent.io.

titanous avatar titanous commented on September 10, 2024

Ah, I see your point, I'll make sure it gets addressed.

from tent.io.

titanous avatar titanous commented on September 10, 2024

This is fixed in the latest version of the documentation, let me know if you have further concerns.

from tent.io.

Related Issues (20)

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.