Coder Social home page Coder Social logo

pyndnabs's Introduction

PyNDNABS

Python Implementation of NDN-ABS

NDN Packet format extensions

Following are extensions of the NDN packet format specification regarding signature types.

Signature Type

Value Reference Description
42 SignatureSha256WithAbs Integrity and provenance protection using Attribute-Based Signature over a SHA-256 digest

SignatureSha256WithAbs

SignatureSha256WithAbs defines an Attribute-Based signature signature mechanism that is calculated over the SHA256 hash of the Name, MetaInfo, Content, and SignatureInfo TLVs. The signature algorithm is defined in Maji, Hemanta K., Manoj Prabhakaran, and Mike Rosulek. "Attribute-based signatures." Cryptographers’ track at the RSA conference. Springer, Berlin, Heidelberg, 2011..

The TLV-VALUE of SignatureType is 42

KeyLocator is required and must follow the format:

<attribute-authority-prefix>/ABS/42=policy/<attribute-policy>

where

  • <attribute-authority-prefix> is an arbitrary name prefix of an attribute authority, provided that <attribute-authority-prefix>/ABS/42=pp/<version> names a data packet that carries public parameters of the authority. This data packet can be further signed by ABS or other types of signature and should be considered trusted based on configured trust schema.

  • <attribute-policy> is defined as

      AttributePolicy = Attribute *ExtraAttribute
      ExtraAttribute = BooleanOperator Attribute
    
      Attribute = DIGIT / LCASELETTER / UCASELETTER
      DIGIT = %x30-39 ; 0-9
      LCASELETTER = %x61-7a ; 'a'-'z'
      UCASELETTER = %x41-5a ; 'A'-'Z'
    
      BooleanOperator = "&" / "|"
    

For example,

    /ndn/edu/fiu/ABS/42=policy/student&2019

Represents an ABS policy under /ndn/edu/fiu authority (i.e., there is /ndn/edu/fiu/ABS/42=pp/<version> data packet carrying public parameters of the attribute authority), signing using two attributes combined with "AND" boolean operator: "student" and "2019".

Note attributes are case sensitive: "student" and "Student" refer to different attributes.

pyndnabs's People

Contributors

cawka avatar sanjeevr93 avatar

Stargazers

haowaiwai avatar Chriz Chow avatar Junxiao Shi avatar Xinyu Ma avatar Fade Rosyad avatar

Watchers

 avatar

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.