Coder Social home page Coder Social logo

Http-Signatures about bitauth HOT 2 OPEN

bitpay avatar bitpay commented on June 2, 2024
Http-Signatures

from bitauth.

Comments (2)

PierreRochard avatar PierreRochard commented on June 2, 2024

Some more feedback from Manu on this issue:

On 07/03/2014 02:58 PM, Adrian Hope-Bailie wrote:
Am I missing something or is this HTTP-Signatures with a small
twist?

If you're missing something, I'm missing it too. It seems like a really
restricted subset of HTTP-Signatures with a lock-in to the crypto
algorithm and "things that you can sign" with a few major security holes
thrown in.

Features that are missing from the solution that HTTP Signatures has:

  • Ability to digitally sign HTTP headers (because you can do a lot of
    nasty things by modifying important headers... like 'Location:' ).
  • Ability to not sign the body if that doesn't make sense (like when
    you're streaming GBs of data or using trailers or ...)
  • Ability to sign the HTTP method, which is really important:
    GET /me/accounts/life-savings
    DELETE /me/accounts/life-savings
  • Ability to identify keys in a greater variety of ways
    (URL, fingerprint, etc.)
  • The server can specify when it expects a digital signature when
    accessing a resource.
  • Easy to share keys between clusters of clients.
  • HMAC support, because there are legitimate uses of it even though
    it's bad in general.
  • Ability to select the key format and signing algorithm

I'm going to stop there, but the solution seems questionable. There's
nothing in there that I can see that the HTTP Signatures spec doesn't
already do.

The only thing that makes it similar in any way to BitCoin is the
use of a ECDSA secp256k1 keypair

Bitcoin is great so this must be great if it even uses a fraction of
Bitcoin technology, right? Marketing, marketing, marketing! :P

-- manu

Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Marathonic Dawn of Web Payments
http://manu.sporny.org/2014/dawn-of-web-payments/

from bitauth.

jgarzik avatar jgarzik commented on June 2, 2024

It does not seem to be Http-Signatures as the focus appears to be primarily on the data transported. There appears to be the presumption that you are tunnelling data (an underlying protocol) sufficiently able to handle issues related to message replay and MITM. e.g. the protocol being tunnelled includes a nonce and other protections.

On the plus side it is much closer to transport independence. You can argue whether it is positive or negative to keep HTTP metadata out of the security envelope.

from bitauth.

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.