Giter Club home page Giter Club logo

draft-steele-cose-hash-envelope's Introduction

COSE Hash Envelope

This is the working area for the individual Internet-Draft, "COSE Hash Envelope".

Contributing

See the guidelines for contributions.

Contributions can be made by creating pull requests. The GitHub interface supports creating pull requests using the Edit (โœ) button.

Command Line Usage

Formatted text and HTML versions of the draft can be built using make.

$ make

Command line usage requires that you have the necessary software installed. See the instructions.

draft-steele-cose-hash-envelope's People

Contributors

henkbirkholz avatar or13 avatar stevelasker avatar

Watchers

 avatar  avatar  avatar

Forkers

stevelasker

draft-steele-cose-hash-envelope's Issues

something like

Usage

{      
  / Algorithm                           /                        
  1: -35,                        
  / Key identifier                      /
  4: h'75726e3a...32636573',     
  / typ of the envelope                 /
  TBD 0: application/hashed+cose 
  / Hash algorithm of the payload       /
  TBD 1: sha-256                  
  / cty of the preimage of the payload  /
  TBD 2: application/jwk+json    
}

How to reconcile label 3 content type with TBD_2 pre-image content type

label 3 content type is the type of the actual payload. This draft states the content type of the payload is a hash.
The TBD_2 pre-image content type (applicatoin/json) provides the formatting of the content of the un-hashed payload.
We also now have 16 typ (RFC9596, which would have something equivalent to application/hashed+cose
When using hash payload, what values should/must be populated:

{
  / alg : ES384 / 1: -35,
  / kid / 4: h'75726e3a...32636573',
  / typ / 16: application/hashed+cose
  / payload_preimage_content_type / TBD_2: application/jwk+json
  / content-type / 3: applicatoin/hashed+cose
  / payload_hash_alg sha-256 / TBD_1: 1
  / payload_location / TBD_3 : storage.example/244f...9c19
}
  • Since 3/content-type is optional, should 3 not be specified, as it's essentially duplicated by 16 + TBD_1
  • Should 3 be equal to /typ / 16: application/hashed+cose

The draft should specify the behavior, in the informative section at a minimum

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.