Skip to content

Transport agnostic security: Inherent support for e2e for beckn messages #97

@georgepadayatti

Description

@georgepadayatti

Existing approach

From the specification, it is to be inferred the beckn is transport agnostic. The security is guaranteed by the transport on which it is being implemented.

Each beckn message follows a structure with 2 properties. 1) context 2) message

The context then carries metadata regarding the message which includes the encryption being used e.t.c

The existing approach lacks proper specification to convey how the encryption metadata must be constructed in such a way that parties involved can communicate securely. How can parties involved understand what are the different security mechanisms that is already supported?

Proposed approach

beckn message packets should be wrapped inside JWE, JWS envelopes.

Screenshot 2021-08-26 at 5 02 42 PM

This approach should be enforced within the specification for enabling transport agnostic security.

Note: I am creating this thread to initiate open discussions on the subject. Please feel free to share your thoughts or correct me if I am wrong in my assumptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions